| Package | Description |
|---|---|
| org.robolectric.shadows | |
| org.robolectric.tester.org.apache.http |
| Modifier and Type | Method and Description |
|---|---|
static void |
FakeHttp.addHttpResponseRule(RequestMatcher requestMatcher,
org.apache.http.HttpResponse response)
Adds an HTTP response rule.
|
static void |
FakeHttp.addHttpResponseRule(RequestMatcher requestMatcher,
List<? extends org.apache.http.HttpResponse> responses)
Adds an HTTP response rule.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
FakeHttpLayer.DefaultRequestMatcher |
static class |
FakeHttpLayer.RequestMatcherBuilder |
static class |
FakeHttpLayer.UriRegexMatcher |
static class |
FakeHttpLayer.UriRequestMatcher |
| Modifier and Type | Method and Description |
|---|---|
void |
FakeHttpLayer.addHttpResponseRule(RequestMatcher requestMatcher,
org.apache.http.HttpResponse response) |
void |
FakeHttpLayer.addHttpResponseRule(RequestMatcher requestMatcher,
List<? extends org.apache.http.HttpResponse> responses)
Add a response rule.
|
boolean |
FakeHttpLayer.hasRequestMatchingRule(RequestMatcher rule) |
| Constructor and Description |
|---|
FakeHttpLayer.RequestMatcherResponseRule(RequestMatcher requestMatcher,
org.apache.http.HttpException httpException) |
FakeHttpLayer.RequestMatcherResponseRule(RequestMatcher requestMatcher,
org.apache.http.HttpResponse responseToGive) |
FakeHttpLayer.RequestMatcherResponseRule(RequestMatcher requestMatcher,
IOException ioException) |
FakeHttpLayer.RequestMatcherResponseRule(RequestMatcher requestMatcher,
List<? extends org.apache.http.HttpResponse> responses) |
Copyright © 2015. All rights reserved.