Android Guides | Samples

Org.Apache.Http.Conn.Routing Namespace

An HttpRoute is the path along which a request has to be sent to the server.

Remarks

The client-side route representation and tracking API, part of HttpConn.

An HttpRoute is the path along which a request has to be sent to the server. The route starts at a local network address and may pass through one or more proxies before reaching the target. Routes through proxies can be tunnelled, and a layered protocol (TLS/SSL) might be put on top of the tunnel. The RouteTracker helps in tracking the steps for establishing a route, while an HttpRouteDirector determines the next step to take.

The IHttpRoutePlanner is responsible for determining a route to a given target host. Implementations must know about proxies to use, and about exemptions for hosts that should be contacted directly without a proxy.

Classes

TypeReason
BasicRouteDirectorBasic implementation of an HttpRouteDirector.
BasicRouteDirector+InterfaceConsts
HttpRouteThe route for a request.
HttpRouteDirectorProvides directions on establishing a route.
HttpRouteDirectorConsts
IHttpRouteDirectorProvides directions on establishing a route.
IHttpRoutePlannerEncapsulates logic to compute a HttpRoute to a target host.
IRouteInfoRead-only interface for route information.
RouteInfoLayerTypeThe layering type of a route.
RouteInfoTunnelTypeThe tunnelling type of a route.
RouteTrackerHelps tracking the steps in establishing a route.