Build 1.0_r1(from source)

org.apache.http.impl.client
Class RoutedRequest

java.lang.Object
  extended by org.apache.http.impl.client.RoutedRequest

public class RoutedRequest
extends Object

A request with the route along which it should be sent.

Since:
4.0

Field Summary
protected  RequestWrapper request
           
protected  HttpRoute route
           
 
Constructor Summary
RoutedRequest(RequestWrapper req, HttpRoute route)
          Creates a new routed request.
 
Method Summary
 RequestWrapper getRequest()
           
 HttpRoute getRoute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected final RequestWrapper request

route

protected final HttpRoute route
Constructor Detail

RoutedRequest

public RoutedRequest(RequestWrapper req,
                     HttpRoute route)
Creates a new routed request.

Parameters:
req - the request
route - the route
Method Detail

getRequest

public final RequestWrapper getRequest()

getRoute

public final HttpRoute getRoute()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature