public abstract class AbstractServiceProxy extends SSLableProxy
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractServiceProxy.Target |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractServiceProxy.Target |
target |
blockRequest, blockResponse, interceptors, key, localHost, name, router| Constructor and Description |
|---|
AbstractServiceProxy() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
Path |
getPath() |
String |
getTargetHost() |
int |
getTargetPort() |
String |
getTargetScheme() |
SSLParser |
getTargetSSL() |
String |
getTargetURL() |
void |
init() |
boolean |
isTargetAdjustHostHeader() |
void |
setHost(String host) |
void |
setPath(Path path) |
getIp, getName, getPort, getSslOutboundContext, setIp, setPort, setSslOutboundContextclone, getErrorState, getInterceptors, getKey, getNewInstance, getSslInboundContext, getSslInboundParser, getStatisticCollector, init, isActive, isBlockRequest, isBlockResponse, setBlockRequest, setBlockResponse, setInterceptors, setKey, setName, setSslInboundContext, setSslInboundParser, toStringprotected AbstractServiceProxy.Target target
public String getTargetScheme()
public void init()
throws Exception
init in class AbstractProxyExceptionpublic String getHost()
public void setHost(String host)
A space separated list of hostnames. If set, Membrane will only consider this rule, if the "Host" header of incoming HTTP requests matches one of the hostnames.
The asterisk '*' can be used for basic globbing (to match any number, including zero, characters).
public Path getPath()
public void setPath(Path path)
public String getTargetHost()
public int getTargetPort()
public String getTargetURL()
public SSLParser getTargetSSL()
public boolean isTargetAdjustHostHeader()
isTargetAdjustHostHeader in interface RuleisTargetAdjustHostHeader in class AbstractProxyCopyright © 2022. All Rights Reserved.