Uses of Class
org.apache.http.HttpHost
| Package | Description |
|---|---|
| org.apache.http |
The core interfaces and classes of the HTTP components.
|
| org.apache.http.client |
The API for client-side HTTP communication and
entry point to the HttpClient module.
|
| org.apache.http.client.params |
Parameters for configuring HttpClient.
|
| org.apache.http.client.utils |
Helpers and utility classes for HttpClient.
|
| org.apache.http.conn |
The client-side connection management and handling API
at the heart of what is referred to as HttpConn.
|
| org.apache.http.conn.params |
Parameters for configuring HttpConn.
|
| org.apache.http.conn.routing |
The client-side route representation and tracking API, part of HttpConn.
|
| org.apache.http.conn.scheme | |
| org.apache.http.impl.client | |
| org.apache.http.impl.conn |
-
Uses of HttpHost in org.apache.http
Constructors in org.apache.http with parameters of type HttpHost Constructor Description HttpHost(HttpHost httphost)Copy constructor forHttpHost. -
Uses of HttpHost in org.apache.http.client
Methods in org.apache.http.client with parameters of type HttpHost Modifier and Type Method Description HttpResponseHttpClient. execute(HttpHost target, HttpRequest request)Executes a request to the target using the default context.<T> THttpClient. execute(HttpHost target, HttpRequest request, ResponseHandler<? extends T> responseHandler)Executes a request to the target using the default context and processes the response using the given response handler.<T> THttpClient. execute(HttpHost target, HttpRequest request, ResponseHandler<? extends T> responseHandler, HttpContext context)Executes a request to the target using the given context and processes the response using the given response handler.HttpResponseHttpClient. execute(HttpHost target, HttpRequest request, HttpContext context)Executes a request to the target using the given context.HttpResponseRequestDirector. execute(HttpHost target, HttpRequest request, HttpContext context)Executes a request. -
Uses of HttpHost in org.apache.http.client.params
Methods in org.apache.http.client.params with parameters of type HttpHost Modifier and Type Method Description voidClientParamBean. setDefaultHost(HttpHost host)voidClientParamBean. setVirtualHost(HttpHost host) -
Uses of HttpHost in org.apache.http.client.utils
Methods in org.apache.http.client.utils with parameters of type HttpHost Modifier and Type Method Description static URIURIUtils. rewriteURI(URI uri, HttpHost target)A convenience method forURIUtils.rewriteURI(URI, HttpHost, boolean)that always keeps the fragment.static URIURIUtils. rewriteURI(URI uri, HttpHost target, boolean dropFragment)A convenience method for creating a newURIwhose scheme, host and port are taken from the target host, but whose path, query and fragment are taken from the existing URI. -
Uses of HttpHost in org.apache.http.conn
Methods in org.apache.http.conn that return HttpHost Modifier and Type Method Description HttpHostHttpHostConnectException. getHost()HttpHostOperatedClientConnection. getTargetHost()Obtains the target host for this connection.Methods in org.apache.http.conn with parameters of type HttpHost Modifier and Type Method Description voidClientConnectionOperator. openConnection(OperatedClientConnection conn, HttpHost target, InetAddress local, HttpContext context, HttpParams params)Opens a connection to the given target host.voidOperatedClientConnection. opening(Socket sock, HttpHost target)Signals that this connection is in the process of being open.voidManagedClientConnection. tunnelProxy(HttpHost next, boolean secure, HttpParams params)Indicates that a tunnel to an intermediate proxy has been established.voidOperatedClientConnection. update(Socket sock, HttpHost target, boolean secure, HttpParams params)Updates this connection.voidClientConnectionOperator. updateSecureConnection(OperatedClientConnection conn, HttpHost target, HttpContext context, HttpParams params)Updates a connection with a layered secure connection.Constructors in org.apache.http.conn with parameters of type HttpHost Constructor Description HttpHostConnectException(HttpHost host, ConnectException cause) -
Uses of HttpHost in org.apache.http.conn.params
Fields in org.apache.http.conn.params declared as HttpHost Modifier and Type Field Description static HttpHostConnRouteParams. NO_HOSTA special value indicating "no host".Methods in org.apache.http.conn.params that return HttpHost Modifier and Type Method Description static HttpHostConnRouteParams. getDefaultProxy(HttpParams params)Obtains theDEFAULT_PROXYparameter value.Methods in org.apache.http.conn.params with parameters of type HttpHost Modifier and Type Method Description voidConnRouteParamBean. setDefaultProxy(HttpHost defaultProxy)static voidConnRouteParams. setDefaultProxy(HttpParams params, HttpHost proxy)Sets theDEFAULT_PROXYparameter value. -
Uses of HttpHost in org.apache.http.conn.routing
Methods in org.apache.http.conn.routing that return HttpHost Modifier and Type Method Description HttpHostHttpRoute. getHopTarget(int hop)HttpHostRouteInfo. getHopTarget(int hop)Obtains the target of a hop in this route.HttpHostRouteTracker. getHopTarget(int hop)HttpHostHttpRoute. getProxyHost()HttpHostRouteInfo. getProxyHost()Obtains the first proxy host.HttpHostRouteTracker. getProxyHost()HttpHostHttpRoute. getTargetHost()HttpHostRouteInfo. getTargetHost()Obtains the target host.HttpHostRouteTracker. getTargetHost()Methods in org.apache.http.conn.routing with parameters of type HttpHost Modifier and Type Method Description voidRouteTracker. connectProxy(HttpHost proxy, boolean secure)Tracks connecting to the first proxy.HttpRouteHttpRoutePlanner. determineRoute(HttpHost target, HttpRequest request, HttpContext context)Determines the route for a request.voidRouteTracker. tunnelProxy(HttpHost proxy, boolean secure)Tracks tunnelling to a proxy in a proxy chain.Constructors in org.apache.http.conn.routing with parameters of type HttpHost Constructor Description HttpRoute(HttpHost target)Creates a new direct insecure route.HttpRoute(HttpHost target, InetAddress local, boolean secure)Creates a new direct route.HttpRoute(HttpHost target, InetAddress local, HttpHost[] proxies, boolean secure, RouteInfo.TunnelType tunnelled, RouteInfo.LayerType layered)Creates a new route with all attributes specified explicitly.HttpRoute(HttpHost target, InetAddress local, HttpHost proxy, boolean secure)Creates a new route through a proxy.HttpRoute(HttpHost target, InetAddress local, HttpHost proxy, boolean secure, RouteInfo.TunnelType tunnelled, RouteInfo.LayerType layered)Creates a new route with at most one proxy.RouteTracker(HttpHost target, InetAddress local)Creates a new route tracker. -
Uses of HttpHost in org.apache.http.conn.scheme
Methods in org.apache.http.conn.scheme with parameters of type HttpHost Modifier and Type Method Description SchemeSchemeRegistry. getScheme(HttpHost host)Obtains the scheme for a host. -
Uses of HttpHost in org.apache.http.impl.client
Methods in org.apache.http.impl.client with parameters of type HttpHost Modifier and Type Method Description protected HttpRouteDefaultRequestDirector. determineRoute(HttpHost target, HttpRequest request, HttpContext context)Determines the route for a request.HttpResponseAbstractHttpClient. execute(HttpHost target, HttpRequest request)<T> TAbstractHttpClient. execute(HttpHost target, HttpRequest request, ResponseHandler<? extends T> responseHandler)<T> TAbstractHttpClient. execute(HttpHost target, HttpRequest request, ResponseHandler<? extends T> responseHandler, HttpContext context)HttpResponseAbstractHttpClient. execute(HttpHost target, HttpRequest request, HttpContext context)HttpResponseDefaultRequestDirector. execute(HttpHost target, HttpRequest request, HttpContext context) -
Uses of HttpHost in org.apache.http.impl.conn
Methods in org.apache.http.impl.conn that return HttpHost Modifier and Type Method Description protected HttpHostProxySelectorRoutePlanner. determineProxy(HttpHost target, HttpRequest request, HttpContext context)Determines a proxy for the given target.HttpHostDefaultClientConnection. getTargetHost()Methods in org.apache.http.impl.conn with parameters of type HttpHost Modifier and Type Method Description protected ProxyProxySelectorRoutePlanner. chooseProxy(List<Proxy> proxies, HttpHost target, HttpRequest request, HttpContext context)protected HttpHostProxySelectorRoutePlanner. determineProxy(HttpHost target, HttpRequest request, HttpContext context)Determines a proxy for the given target.HttpRouteDefaultHttpRoutePlanner. determineRoute(HttpHost target, HttpRequest request, HttpContext context)HttpRouteProxySelectorRoutePlanner. determineRoute(HttpHost target, HttpRequest request, HttpContext context)voidDefaultClientConnectionOperator. openConnection(OperatedClientConnection conn, HttpHost target, InetAddress local, HttpContext context, HttpParams params)voidDefaultClientConnection. opening(Socket sock, HttpHost target)voidAbstractPooledConnAdapter. tunnelProxy(HttpHost next, boolean secure, HttpParams params)voidAbstractPoolEntry. tunnelProxy(HttpHost next, boolean secure, HttpParams params)Tracks tunnelling of the connection to a chained proxy.voidDefaultClientConnection. update(Socket sock, HttpHost target, boolean secure, HttpParams params)voidDefaultClientConnectionOperator. updateSecureConnection(OperatedClientConnection conn, HttpHost target, HttpContext context, HttpParams params)