1 package org.robolectric.shadows.httpclient;
2 
3 import org.apache.http.HttpHost;
4 import org.apache.http.HttpRequest;
5 import org.apache.http.client.RequestDirector;
6 import org.apache.http.protocol.HttpContext;
7 
8 public class HttpRequestInfo {
9   HttpRequest httpRequest;
10   HttpHost httpHost;
11   HttpContext httpContext;
12   RequestDirector requestDirector;
13 
HttpRequestInfo(HttpRequest httpRequest, HttpHost httpHost, HttpContext httpContext, RequestDirector requestDirector)14   public HttpRequestInfo(HttpRequest httpRequest, HttpHost httpHost, HttpContext httpContext, RequestDirector requestDirector) {
15     this.httpRequest = httpRequest;
16     this.httpHost = httpHost;
17     this.httpContext = httpContext;
18     this.requestDirector = requestDirector;
19   }
20 
getHttpRequest()21   public HttpRequest getHttpRequest() {
22     return httpRequest;
23   }
24 
getHttpHost()25   public HttpHost getHttpHost() {
26     return httpHost;
27   }
28 
getHttpContext()29   public HttpContext getHttpContext() {
30     return httpContext;
31   }
32 
getRequestDirector()33   public RequestDirector getRequestDirector() {
34     return requestDirector;
35   }
36 }
37