Class FakeHttpLayer.RequestMatcherBuilder
- java.lang.Object
- 
- org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
 
- 
- All Implemented Interfaces:
- RequestMatcher
 - Enclosing class:
- FakeHttpLayer
 
 public static class FakeHttpLayer.RequestMatcherBuilder extends Object implements RequestMatcher 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceFakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher
 - 
Constructor SummaryConstructors Constructor Description RequestMatcherBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHeader(String key)StringgetHostname()StringgetMethod()StringgetParam(String key)StringgetPath()FakeHttpLayer.RequestMatcherBuilderheader(String name, String value)FakeHttpLayer.RequestMatcherBuilderhost(String hostname)booleanisNoParams()booleanmatches(org.apache.http.HttpRequest request)FakeHttpLayer.RequestMatcherBuildermethod(String method)FakeHttpLayer.RequestMatcherBuildernoParams()FakeHttpLayer.RequestMatcherBuilderparam(String name, String value)FakeHttpLayer.RequestMatcherBuilderpath(String path)FakeHttpLayer.RequestMatcherBuilderpostBody(FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher postBodyMatcher)
 
- 
- 
- 
Method Detail- 
methodpublic FakeHttpLayer.RequestMatcherBuilder method(String method) 
 - 
hostpublic FakeHttpLayer.RequestMatcherBuilder host(String hostname) 
 - 
pathpublic FakeHttpLayer.RequestMatcherBuilder path(String path) 
 - 
parampublic FakeHttpLayer.RequestMatcherBuilder param(String name, String value) 
 - 
noParamspublic FakeHttpLayer.RequestMatcherBuilder noParams() 
 - 
postBodypublic FakeHttpLayer.RequestMatcherBuilder postBody(FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher postBodyMatcher) 
 - 
headerpublic FakeHttpLayer.RequestMatcherBuilder header(String name, String value) 
 - 
matchespublic boolean matches(org.apache.http.HttpRequest request) - Specified by:
- matchesin interface- RequestMatcher
 
 - 
getHostnamepublic String getHostname() 
 - 
getPathpublic String getPath() 
 - 
isNoParamspublic boolean isNoParams() 
 - 
getMethodpublic String getMethod() 
 
- 
 
-