Interface FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher
- Enclosing class:
- FakeHttpLayer.RequestMatcherBuilder
public static interface FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(org.apache.http.HttpEntity actualPostBody) Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method.
-
Method Details
-
matches
Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method.- Parameters:
actualPostBody- The post body of the actual request that we are matching against.- Returns:
- true if you consider the body to match
- Throws:
IOException- Get turned into a RuntimeException to cause your test to fail.
-