Class DpwsConfig

java.lang.Object
org.somda.sdc.dpws.DpwsConfig

public class DpwsConfig extends Object
Configuration of the DPWS top level package.
See Also:
  • Field Details

    • MAX_WAIT_FOR_FUTURES

      public static final String MAX_WAIT_FOR_FUTURES
      Controls the default waiting time for futures that are called internally.
      See Also:
    • MAX_ENVELOPE_SIZE

      public static final String MAX_ENVELOPE_SIZE
      Configures the maximum SOAP envelope size.
      See Also:
    • COMMUNICATION_LOG_SINK_DIRECTORY

      public static final String COMMUNICATION_LOG_SINK_DIRECTORY
      Defines the sink for communication log messages in case a communication logger is enabled.

      Implementations of CommunicationLogSink may ignore this configuration item as not every sink writes to files.

      • Data type: File
      • Use: optional
      See Also:
    • COMMUNICATION_LOG_WITH_HTTP_HEADERS

      public static final String COMMUNICATION_LOG_WITH_HTTP_HEADERS
      Defines if the communication log shall include HTTP header information.

      Implementations of CommunicationLogSink may ignore this configuration item.

      See Also:
    • COMMUNICATION_LOG_WITH_HTTP_REQUEST_RESPONSE_ID

      public static final String COMMUNICATION_LOG_WITH_HTTP_REQUEST_RESPONSE_ID
      Defines if the communication log shall include an additional file to relate HTTP request response information.

      Implementations of CommunicationLogSink may ignore this configuration item.

      See Also:
    • COMMUNICATION_LOG_PRETTY_PRINT_XML

      public static final String COMMUNICATION_LOG_PRETTY_PRINT_XML
      Defines if the communication log shall pretty print XML documents.

      Implementations of CommunicationLogSink may ignore this configuration item.

      See Also:
    • HTTP_CLIENT_CONNECT_TIMEOUT

      public static final String HTTP_CLIENT_CONNECT_TIMEOUT
      Defines the timeout the http client uses when connecting to an endpoint.
      See Also:
    • HTTP_CLIENT_READ_TIMEOUT

      public static final String HTTP_CLIENT_READ_TIMEOUT
      Defines the timeout the http client uses when reading a response.
      See Also:
    • HTTP_GZIP_COMPRESSION

      public static final String HTTP_GZIP_COMPRESSION
      Enable gzip compression support in Client and Server.
      See Also:
    • HTTP_RESPONSE_COMPRESSION_MIN_SIZE

      public static final String HTTP_RESPONSE_COMPRESSION_MIN_SIZE
      Minimum number of bytes a message needs to have in order to trigger compression.
      See Also:
    • HTTP_SERVER_COMMLOG_IN_HANDLER

      public static final String HTTP_SERVER_COMMLOG_IN_HANDLER
      Toggles whether the CommunicationLog is attached globally to the http server or to each http request handler individually.

      A global CommunicationLog ensures that all inbound messages, solicited or not, are available through the communication log. This is suitable for test tools. The handler-specific CommunicationLog allows additional handler-specific context information to be available, for example for which device a handler was registered.

      Setting this to true enables handler-specific commlogs, the default is false.

      See Also:
    • HTTP_SERVER_CONNECTION_TIMEOUT

      public static final String HTTP_SERVER_CONNECTION_TIMEOUT
      Defines the timeout the http server uses for connections.
      See Also:
    • HTTPS_SUPPORT

      public static final String HTTPS_SUPPORT
      Enables HTTPS communication for Client and Server.
      See Also:
    • HTTP_SUPPORT

      public static final String HTTP_SUPPORT
      Enables unsecured HTTP communication for Client and Server.
      See Also:
    • ENFORCE_HTTP_CHUNKED_TRANSFER

      public static final String ENFORCE_HTTP_CHUNKED_TRANSFER
      Enforces chunked requests and responses.

      Note, that chunked responses and requests can still occur when this is turned off.

      See Also:
    • MULTICAST_TTL

      public static final String MULTICAST_TTL
      Sets the time-to-live for outgoing multicast packets between 0-255.
      See Also:
    • HTTP_CONTENT_TYPE_CHARSET

      public static final String HTTP_CONTENT_TYPE_CHARSET
      Sets the charset in the http content-type header.
      • Data type: String
      • Use: optional
      See Also:
    • HTTP_SERVER_THREAD_POOL_SIZE

      public static final String HTTP_SERVER_THREAD_POOL_SIZE
      Sets the size for the http server thread pool.
      See Also:
    • HTTP_CLIENT_POOL_SIZE

      public static final String HTTP_CLIENT_POOL_SIZE
      Sets the size for the http client pool.
      See Also:
    • HTTP_CLIENT_RETRY_POST

      public static final String HTTP_CLIENT_RETRY_POST
      If set to true, the http client will retry non-idempotent requests.
      See Also:
  • Constructor Details

    • DpwsConfig

      public DpwsConfig()