public interface RuleKey
| Modifier and Type | Method and Description |
|---|---|
boolean |
complexMatch(String hostHeader,
String method,
String uri,
String version,
int port,
String localIP) |
String |
getHost() |
String |
getIp()
IP address to bind to, or null to bind to 0.0.0.0 (=any local address).
|
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 |
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 |
matchesHostHeader(String hostHeader) |
boolean |
matchesPath(String path) |
boolean |
matchesVersion(String version) |
void |
setIp(String ip) |
void |
setPath(String path) |
void |
setPathRegExp(boolean pathRegExp) |
void |
setUsePathPattern(boolean usePathPattern) |
int getPort()
String getMethod()
String getPath()
String getHost()
boolean isMethodWildcard()
boolean isPathRegExp()
return true if a path is an regexp expression false otherwise
boolean isUsePathPattern()
void setUsePathPattern(boolean usePathPattern)
void setPathRegExp(boolean pathRegExp)
void setPath(String path)
boolean matchesPath(String path)
String getIp()
void setIp(String ip)
boolean matchesHostHeader(String hostHeader)
boolean matchesVersion(String version)
Copyright © 2022. All Rights Reserved.