org.apache.commons.httpclient
public static class ProxyClient.ConnectResponse extends Object
Method Summary | |
---|---|
ConnectMethod | getConnectMethod()
Gets the method that was used to execute the connect. |
Socket | getSocket()
Gets the socket connected and authenticated (if appropriate) to the configured
HTTP proxy, or null if a connection could not be made. |
Returns: the connectMethod.
null
if a connection could not be made. It is the
responsibility of the user to close this socket when it is no longer needed.
Returns: the socket.