public interface RuleKey
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
String |
getMethod()
Returns the name of the HTTP method
|
String |
getPath()
Returns the request URI.
|
int |
getPort()
Returns the TCP port that receives the messages
|
boolean |
isHostWildcard()
When isHostWidldcard is set to true any value of the HTTP Host header will match.
|
boolean |
isMethodWildcard()
When isMethodWildcard is set to true any value of the HTTP Host header will match
|
boolean |
isPathRegExp()
If isPathRegExp is true, than the path will be treated as a regexp pattern.
|
boolean |
isUsePathPattern() |
boolean |
matchesPath(String path) |
void |
setPath(String path) |
void |
setPathRegExp(boolean pathRegExp) |
void |
setUsePathPattern(boolean usePathPattern) |
int getPort()
String getMethod()
String getPath()
String getHost()
boolean isMethodWildcard()
boolean isHostWildcard()
boolean isPathRegExp()
boolean isUsePathPattern()
void setUsePathPattern(boolean usePathPattern)
void setPathRegExp(boolean pathRegExp)
void setPath(String path)
boolean matchesPath(String path)
Copyright © 2012. All Rights Reserved.