public class SwaggerProxyKey extends ServiceProxyKey
ip, pathPattern, pathRegExp, port, usePathPattern| Constructor and Description |
|---|
SwaggerProxyKey(int port) |
SwaggerProxyKey(int port,
String ip) |
SwaggerProxyKey(String host,
String method,
String path,
int port) |
SwaggerProxyKey(String host,
String method,
String path,
int port,
String ip) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
complexMatch(String hostHeader,
String method,
String uri,
String version,
int port,
String localIP) |
io.swagger.models.Swagger |
getSwagger() |
boolean |
isAllowUI() |
void |
setAllowUI(boolean allowUI) |
void |
setSwagger(io.swagger.models.Swagger swag) |
createHostPattern, equals, getHost, getHostPattern, getMethod, hashCode, isHostWildcard, isMethodWildcard, matchesHostHeader, setHost, setMethod, toStringgetIp, getPath, getPort, isPathRegExp, isUsePathPattern, matchesPath, matchesVersion, setIp, setPath, setPathRegExp, setPort, setUsePathPatternpublic SwaggerProxyKey(int port)
public SwaggerProxyKey(int port,
String ip)
public SwaggerProxyKey(String host, String method, String path, int port, String ip)
public boolean complexMatch(String hostHeader, String method, String uri, String version, int port, String localIP)
complexMatch in interface RuleKeycomplexMatch in class AbstractRuleKeypublic io.swagger.models.Swagger getSwagger()
public void setSwagger(io.swagger.models.Swagger swag)
public boolean isAllowUI()
public void setAllowUI(boolean allowUI)
Copyright © 2019. All Rights Reserved.