public class HttpRequestHostMatcher extends Object implements HttpRequestMatcher
| Constructor and Description |
|---|
HttpRequestHostMatcher(String host)
Creates a new host 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.
|
public HttpRequestHostMatcher(String host)
host - The host string 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.