Class AbstractServiceProxy.Target

java.lang.Object
com.predic8.membrane.core.rules.AbstractServiceProxy.Target
Enclosing class:
AbstractServiceProxy

public static class AbstractServiceProxy.Target extends Object
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 Details

    • Target

      public Target()
    • Target

      public Target(String host)
    • Target

      public Target(String host, int port)
  • Method Details

    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
      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

      public String getUrl()
    • setUrl

      public void setUrl(String url)
      Description
      Absolute URL of the target. If this is set, host and port will be ignored.
      Example
      http://membrane-soa.org
    • getSslParser

      public SSLParser getSslParser()
    • setSslParser

      public void setSslParser(SSLParser sslParser)
      Description
      Configures outbound SSL (HTTPS).
    • isAdjustHostHeader

      public boolean isAdjustHostHeader()
    • setAdjustHostHeader

      public void setAdjustHostHeader(boolean adjustHostHeader)