public class HttpRequestPathMatcher extends Object implements HttpRequestMatcher
Constructor and Description |
---|
HttpRequestPathMatcher(String path)
Creates a new URI rule.
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldFilterResponses(org.jboss.netty.handler.codec.http.HttpRequest httpRequest)
Returns whether or not to filter responses received from the specified
HTTP request.
|
String |
toString() |
public HttpRequestPathMatcher(String path)
path
- The path to match.public boolean shouldFilterResponses(org.jboss.netty.handler.codec.http.HttpRequest httpRequest)
HttpRequestMatcher
shouldFilterResponses
in interface HttpRequestMatcher
httpRequest
- The request to check.true
if we should apply this set of rules,
otherwise false
.Copyright © 2009–2013 LittleShoot. All rights reserved.