Home
last modified time | relevance | path

Searched refs:requestMatcher (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayer.java66 public void addHttpResponseRule(RequestMatcher requestMatcher, HttpResponse response) { in addHttpResponseRule() argument
67 addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, response)); in addHttpResponseRule()
76 …public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> respon… in addHttpResponseRule() argument
77 addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, responses)); in addHttpResponseRule()
187 private RequestMatcher requestMatcher; field in FakeHttpLayer.RequestMatcherResponseRule
193 … public RequestMatcherResponseRule(RequestMatcher requestMatcher, HttpResponse responseToGive) { in RequestMatcherResponseRule() argument
194 this.requestMatcher = requestMatcher; in RequestMatcherResponseRule()
198 public RequestMatcherResponseRule(RequestMatcher requestMatcher, IOException ioException) { in RequestMatcherResponseRule() argument
199 this.requestMatcher = requestMatcher; in RequestMatcherResponseRule()
203 … public RequestMatcherResponseRule(RequestMatcher requestMatcher, HttpException httpException) { in RequestMatcherResponseRule() argument
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java1184 public static void addHttpResponseRule(RequestMatcher requestMatcher, HttpResponse response) { in addHttpResponseRule() argument
1185 getFakeHttpLayer().addHttpResponseRule(requestMatcher, response); in addHttpResponseRule()
1196 …public static void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse>… in addHttpResponseRule() argument
1197 getFakeHttpLayer().addHttpResponseRule(requestMatcher, responses); in addHttpResponseRule()