Class ProxyClient.ConnectResponse
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.ProxyClient.ConnectResponse
- Enclosing class:
- ProxyClient
Contains the method used to execute the connect along with the created socket.
-
Method Summary
Modifier and TypeMethodDescriptionGets the method that was used to execute the connect.Gets the socket connected and authenticated (if appropriate) to the configured HTTP proxy, ornull
if a connection could not be made.
-
Method Details
-
getConnectMethod
Gets the method that was used to execute the connect. This method is useful for analyzing the proxy's response when a connect fails.- Returns:
- the connectMethod.
-
getSocket
Gets the socket connected and authenticated (if appropriate) to the configured HTTP proxy, ornull
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.
-