Package com.predic8.membrane.core.rules
Class AbstractServiceProxy
java.lang.Object
com.predic8.membrane.core.rules.AbstractProxy
com.predic8.membrane.core.rules.SSLableProxy
com.predic8.membrane.core.rules.AbstractServiceProxy
- Direct Known Subclasses:
ServiceProxy,SOAPProxy
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.predic8.membrane.core.rules.AbstractProxy
blockRequest, blockResponse, interceptors, key, localHost, name, router -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.predic8.membrane.core.rules.SSLableProxy
getIp, getName, getPort, getSslOutboundContext, setIp, setPort, setSslOutboundContextMethods inherited from class com.predic8.membrane.core.rules.AbstractProxy
clone, getErrorState, getInterceptors, getKey, getNewInstance, getSslInboundContext, getSslInboundParser, getStatisticCollector, init, isActive, isBlockRequest, isBlockResponse, setBlockRequest, setBlockResponse, setInterceptors, setKey, setName, setSslInboundContext, setSslInboundParser, toString
-
Field Details
-
target
-
-
Constructor Details
-
AbstractServiceProxy
public AbstractServiceProxy()
-
-
Method Details
-
getTargetScheme
-
init
- Overrides:
initin classAbstractProxy- Throws:
Exception
-
getHost
-
setHost
- Default
- not set
- Description
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).
- Example
- predic8.de *.predic8.de
-
getPath
-
setPath
-
getTargetHost
-
getTargetPort
public int getTargetPort() -
getTargetURL
-
getTargetSSL
-
isTargetAdjustHostHeader
public boolean isTargetAdjustHostHeader()- Specified by:
isTargetAdjustHostHeaderin interfaceRule- Overrides:
isTargetAdjustHostHeaderin classAbstractProxy
-