public class ServiceProxyKey extends AbstractRuleKey
pathPattern, pathRegExp, port, usePathPattern
Constructor and Description |
---|
ServiceProxyKey(int port) |
ServiceProxyKey(String host,
String method,
String path,
int port) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getHost() |
String |
getMethod()
Returns the name of the HTTP method
|
int |
hashCode() |
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
|
void |
setMethod(String method) |
String |
toString() |
getPath, getPort, isPathRegExp, isUsePathPattern, matchesPath, setPath, setPathRegExp, setPort, setUsePathPattern
public String getMethod()
RuleKey
getMethod
in interface RuleKey
getMethod
in class AbstractRuleKey
public void setMethod(String method)
public boolean isMethodWildcard()
RuleKey
isMethodWildcard
in interface RuleKey
isMethodWildcard
in class AbstractRuleKey
public boolean isHostWildcard()
RuleKey
isHostWildcard
in interface RuleKey
isHostWildcard
in class AbstractRuleKey
public String getHost()
getHost
in interface RuleKey
getHost
in class AbstractRuleKey
Copyright © 2012. All Rights Reserved.