public static class FakeHttpLayer.RequestMatcherResponseRule extends Object implements HttpEntityStub.ResponseRule
| 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) |
public FakeHttpLayer.RequestMatcherResponseRule(RequestMatcher requestMatcher, org.apache.http.HttpResponse responseToGive)
public FakeHttpLayer.RequestMatcherResponseRule(RequestMatcher requestMatcher, IOException ioException)
public FakeHttpLayer.RequestMatcherResponseRule(RequestMatcher requestMatcher, org.apache.http.HttpException httpException)
public FakeHttpLayer.RequestMatcherResponseRule(RequestMatcher requestMatcher, List<? extends org.apache.http.HttpResponse> responses)
public boolean matches(org.apache.http.HttpRequest request)
matches in interface HttpEntityStub.ResponseRulepublic org.apache.http.HttpResponse getResponse()
throws org.apache.http.HttpException,
IOException
getResponse in interface HttpEntityStub.ResponseRuleorg.apache.http.HttpExceptionIOExceptionCopyright © 2015. All rights reserved.