public static class ProxyClient.ConnectResponse
extends java.lang.Object
Modifier and Type | Method | 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.Copyright (c) 1999-2005 - Apache Software Foundation