Class FakeHttpLayer.RequestMatcherBuilder
java.lang.Object
org.robolectric.shadows.httpclient.FakeHttpLayer.RequestMatcherBuilder
- All Implemented Interfaces:
RequestMatcher
- Enclosing class:
- FakeHttpLayer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPath()
boolean
boolean
matches
(org.apache.http.HttpRequest request) noParams()
postBody
(FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher postBodyMatcher)
-
Constructor Details
-
RequestMatcherBuilder
public RequestMatcherBuilder()
-
-
Method Details
-
method
-
host
-
path
-
param
-
noParams
-
postBody
public FakeHttpLayer.RequestMatcherBuilder postBody(FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher postBodyMatcher) -
header
-
matches
public boolean matches(org.apache.http.HttpRequest request) - Specified by:
matches
in interfaceRequestMatcher
-
getHostname
-
getPath
-
getParam
-
getHeader
-
isNoParams
public boolean isNoParams() -
getMethod
-