Home
last modified time | relevance | path

Searched refs:requestDirector (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DShadowDefaultRequestDirectorTest.java43 private DefaultRequestDirector requestDirector; field in ShadowDefaultRequestDirectorTest
60 requestDirector = in setUp_EnsureStaticStateIsReset()
84 HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); in shouldGetHttpResponseFromExecute()
98 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldPreferPendingResponses()
110 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule()
123 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_MatchingMethod()
134 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()
140 requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()
153 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
160 requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
[all …]
DFakeHttpTest.java54 …DefaultRequestDirector requestDirector = new DefaultRequestDirector(null, null, null, connectionKe… in makeRequest() local
56 requestDirector.execute(null, new HttpGet(uri), null); in makeRequest()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DHttpRequestInfo.java12 RequestDirector requestDirector; field in HttpRequestInfo
14 …Request httpRequest, HttpHost httpHost, HttpContext httpContext, RequestDirector requestDirector) { in HttpRequestInfo() argument
18 this.requestDirector = requestDirector; in HttpRequestInfo()
34 return requestDirector; in getRequestDirector()
DFakeHttpLayer.java113 …t, HttpRequest httpRequest, HttpContext httpContext, RequestDirector requestDirector) throws HttpE… in emulateRequest() argument
135 addRequestInfo(new HttpRequestInfo(httpRequest, httpHost, httpContext, requestDirector)); in emulateRequest()