Package com.predic8.membrane.core.rules
Class AbstractServiceProxy.Target
java.lang.Object
com.predic8.membrane.core.rules.AbstractServiceProxy.Target
- Enclosing class:
- AbstractServiceProxy
- Description
The destination where the service proxy will send messages to. Use the target element, if you want to send the messages to a static target. If you want to use dynamic destinations have a look at the content based router.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()intgetPort()getUrl()booleanvoidsetAdjustHostHeader(boolean adjustHostHeader) voidvoidsetPort(int port) voidsetSslParser(SSLParser sslParser) void
-
Constructor Details
-
Target
public Target() -
Target
-
Target
-
-
Method Details
-
getHost
-
setHost
- Description
- Host address of the target.
- Example
- localhost, 192.168.1.1
-
getPort
public int getPort() -
setPort
public void setPort(int port) - Default
- 80
- Description
- Port number of the target.
- Example
- 8080
-
getUrl
-
setUrl
- Description
- Absolute URL of the target. If this is set, host and port will be ignored.
- Example
- http://membrane-soa.org
-
getSslParser
-
setSslParser
- Description
- Configures outbound SSL (HTTPS).
-
isAdjustHostHeader
public boolean isAdjustHostHeader() -
setAdjustHostHeader
public void setAdjustHostHeader(boolean adjustHostHeader)
-