org.apache.commons.httpclient
public static class ProxyClient.ConnectResponse extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ConnectMethod |
getConnectMethod()
Gets the method that was used to execute the connect.
|
java.net.Socket |
getSocket()
Gets the socket connected and authenticated (if appropriate) to the configured
HTTP proxy, or
null if a connection could not be made. |
public ConnectMethod getConnectMethod()
public java.net.Socket getSocket()
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.