![]() |
|
![]() | ||
|
Subject:
HTTPURLconnection
Category: Computers Asked by: sridharpaidi-ga List Price: $2.00 |
Posted:
06 Jul 2004 13:36 PDT
Expires: 05 Aug 2004 13:36 PDT Question ID: 370453 |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: HTTPURLconnection
From: corwin02-ga on 06 Jul 2004 14:27 PDT |
http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html String url = "http://www.marchal.com/", proxy = "proxy.mydomain.com", port = "8080"; URL server = new URL(url); Properties systemProperties = System.getProperties(); systemProperties.setProperty("http.proxyHost",proxy); systemProperties.setProperty("http.proxyPort",port); HttpURLConnection connection = ( HttpURLConnection)server.openConnection(); connection.connect(); InputStream in = connection.getInputStream(); readResponse(in); |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |