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 |
filterResponses(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 filterResponses(org.jboss.netty.handler.codec.http.HttpRequest httpRequest)
HttpRequestMatcherfilterResponses in interface HttpRequestMatcherhttpRequest - The request to check.true if we should apply this set of rules,
otherwise false.Copyright © 2009-2013 LittleShoot. All Rights Reserved.