|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpProxyConnection
An HTTP connection through a proxy. The semantics of
Method Summary | |
---|---|
HttpHost |
getTunnelTarget()
Returns the target host as provided by |
boolean |
isSecure()
Checks if the tunnel uses a secure socket. |
boolean |
isTunnelActive()
Checks if |
void |
tunnelTo(HttpHost targetHost,
HttpParams params)
After this connection is opened to the proxy, this method may be called to create a new connection over it. |
Methods inherited from interface org.apache.http.HttpClientConnection |
---|
flush, getLocalAddress, getTargetHost, isResponseAvailable, open, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader, setLocalAddress, setTargetHost |
Methods inherited from interface org.apache.http.HttpConnection |
---|
close, isOpen, isStale, shutdown |
Method Detail |
---|
void tunnelTo(HttpHost targetHost, HttpParams params) throws java.io.IOException
targetHost
- The final target hostparams
- The parameters effective for this connection
java.io.IOException
HttpHost getTunnelTarget()
boolean isTunnelActive()
boolean isSecure()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |