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

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

Options
  • 11-01-2003 8:52pm
    #1
    Registered Users 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 Posts: 1,481 ✭✭✭satchmo


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


  • Registered Users 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