Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Sending Http requests thru proxies in Java.....

  • 11-01-2003 7:52pm
    #1
    Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭


    Right,
    My project for this semester involves writing a meta search engine, GUI style - not web server style. There's 3 of us doing it, and we have on piece each to do. Mine is the network section.

    Anywho, I'm thinking of adding proxy functionality to it, basically because I'll have to do testing from behind a proxy :)

    What's the format of Http Requests through the different forms of proxies?

    I know that it's similar to a standard Http request, except that you include the full URL, ie
    GET http://www.boards.ie/vbulletin/index.php HTTP/1.1
    But how does it work where Http authentication is required, or through a SOCKS proxy?

    And, uh, what does the usingProxy() method do? :)

    Thanks as usual.


Comments

  • Registered Users, Registered Users 2 Posts: 1,481 ✭✭✭satchmo


    Javaworld.com has this good tip which should be what you want.


  • Registered Users, Registered Users 2 Posts: 6,240 ✭✭✭hussey


    I did a chat room before that users could either use desktop GUI or a webpage(through an applet)

    for the GUI/applets, it sent http requests to the server
    a good page was HERE , it has source code for HTTP requests


Advertisement