Forums Register Login

to get proxy address

+Pie Number of slices to send: Send
Hi
Is there any api in jdk1.4 to get the proxy address..
Regards
Anu
+Pie Number of slices to send: Send
In jdk 1.6 one method is there


public SocketAddress address()
Returns the socket address of the proxy, or null if its a direct connection.

Returns:
a SocketAddress representing the socket end point of the proxy
+Pie Number of slices to send: Send
maybe you can use the com.sun.java.browser.net.ProxyInfo
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1394 times.
Similar Threads
getting the actual client IP
LAN ID from the servlet
I tried to send an xml to an url its ,
Get the computer name of the client
ip address
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:53:48.