Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http
Interface HttpProxyConnection  view HttpProxyConnection download HttpProxyConnection.java

All Superinterfaces:
HttpClientConnection, HttpConnection

public interface HttpProxyConnection
extends HttpClientConnection

An HTTP connection through a proxy. The semantics of

Since:
4.0
Version:
$Revision: 391135 $

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, org.apache.http.params.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

tunnelTo

public void tunnelTo(HttpHost targetHost,
                     org.apache.http.params.HttpParams params)
              throws java.io.IOException
After this connection is opened to the proxy, this method may be called to create a new connection over it. Subsequent data is sent over the resulting connection.


getTunnelTarget

public HttpHost getTunnelTarget()
Returns the target host as provided by


isTunnelActive

public boolean isTunnelActive()
Checks if


isSecure

public boolean isSecure()
Checks if the tunnel uses a secure socket.