Class DpwsConfig
- java.lang.Object
-
- org.somda.sdc.dpws.DpwsConfig
-
public class DpwsConfig extends Object
Configuration of the DPWS top level package.- See Also:
DefaultDpwsConfigModule
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMUNICATION_LOG_PRETTY_PRINT_XMLDefines if the communication log shall pretty print XML documents.static StringCOMMUNICATION_LOG_SINK_DIRECTORYDefines the sink for communication log messages in case a communication logger is enabled.static StringCOMMUNICATION_LOG_WITH_HTTP_HEADERSDefines if the communication log shall include HTTP header information.static StringCOMMUNICATION_LOG_WITH_HTTP_REQUEST_RESPONSE_IDDefines if the communication log shall include an additional file to relate HTTP request response information.static StringENFORCE_HTTP_CHUNKED_TRANSFEREnforces chunked requests and responses.static StringHTTP_CLIENT_CONNECT_TIMEOUTDefines the timeout the http client uses when connecting to an endpoint.static StringHTTP_CLIENT_POOL_SIZESets the size for the http client pool.static StringHTTP_CLIENT_READ_TIMEOUTDefines the timeout the http client uses when reading a response.static StringHTTP_CLIENT_RETRY_POSTIf set to true, the http client will retry non-idempotent requests.static StringHTTP_CONTENT_TYPE_CHARSETSets the charset in the http content-type header.static StringHTTP_GZIP_COMPRESSIONEnable gzip compression support in Client and Server.static StringHTTP_RESPONSE_COMPRESSION_MIN_SIZEMinimum number of bytes a message needs to have in order to trigger compression.static StringHTTP_SERVER_COMMLOG_IN_HANDLERToggles whether theCommunicationLogis attached globally to the http server or to each http request handler individually.static StringHTTP_SERVER_CONNECTION_TIMEOUTDefines the timeout the http server uses for connections.static StringHTTP_SERVER_THREAD_POOL_SIZESets the size for the http server thread pool.static StringHTTP_SUPPORTEnables unsecured HTTP communication for Client and Server.static StringHTTPS_SUPPORTEnables HTTPS communication for Client and Server.static StringMAX_ENVELOPE_SIZEConfigures the maximum SOAP envelope size.static StringMAX_WAIT_FOR_FUTURESControls the default waiting time for futures that are called internally.static StringMULTICAST_TTLSets the time-to-live for outgoing multicast packets between 0-255.
-
Constructor Summary
Constructors Constructor Description DpwsConfig()
-
-
-
Field Detail
-
MAX_WAIT_FOR_FUTURES
public static final String MAX_WAIT_FOR_FUTURES
Controls the default waiting time for futures that are called internally.- Data type: Duration
- Use: optional
- See Also:
- Constant Field Values
-
MAX_ENVELOPE_SIZE
public static final String MAX_ENVELOPE_SIZE
Configures the maximum SOAP envelope size.- Data type: Integer
- Use: optional
-
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
CommunicationLogSinkmay ignore this configuration item as not every sink writes to files.- Data type: File
- Use: optional
- See Also:
- Constant Field Values
-
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
CommunicationLogSinkmay ignore this configuration item.- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
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
CommunicationLogSinkmay ignore this configuration item.- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
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
CommunicationLogSinkmay ignore this configuration item.- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
HTTP_CLIENT_CONNECT_TIMEOUT
public static final String HTTP_CLIENT_CONNECT_TIMEOUT
Defines the timeout the http client uses when connecting to an endpoint.- Data type: Duration
- Use: optional
- See Also:
- Constant Field Values
-
HTTP_CLIENT_READ_TIMEOUT
public static final String HTTP_CLIENT_READ_TIMEOUT
Defines the timeout the http client uses when reading a response.- Data type: Duration
- Use: optional
- See Also:
- Constant Field Values
-
HTTP_GZIP_COMPRESSION
public static final String HTTP_GZIP_COMPRESSION
Enable gzip compression support in Client and Server.- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
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.- Data type: Integer
- Use: optional
- See Also:
- Constant Field Values
-
HTTP_SERVER_COMMLOG_IN_HANDLER
public static final String HTTP_SERVER_COMMLOG_IN_HANDLER
Toggles whether theCommunicationLogis attached globally to the http server or to each http request handler individually.A global
CommunicationLogensures that all inbound messages, solicited or not, are available through the communication log. This is suitable for test tools. The handler-specificCommunicationLogallows 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.
- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
HTTP_SERVER_CONNECTION_TIMEOUT
public static final String HTTP_SERVER_CONNECTION_TIMEOUT
Defines the timeout the http server uses for connections.- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
HTTPS_SUPPORT
public static final String HTTPS_SUPPORT
Enables HTTPS communication for Client and Server.- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
HTTP_SUPPORT
public static final String HTTP_SUPPORT
Enables unsecured HTTP communication for Client and Server.- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
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.
- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
MULTICAST_TTL
public static final String MULTICAST_TTL
Sets the time-to-live for outgoing multicast packets between 0-255.- Data type: Integer
- Use: optional
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
HTTP_SERVER_THREAD_POOL_SIZE
public static final String HTTP_SERVER_THREAD_POOL_SIZE
Sets the size for the http server thread pool.- Data type: Integer
- Use: optional
- See Also:
- Constant Field Values
-
HTTP_CLIENT_POOL_SIZE
public static final String HTTP_CLIENT_POOL_SIZE
Sets the size for the http client pool.- Data type: Integer
- Use: optional
- See Also:
- Constant Field Values
-
HTTP_CLIENT_RETRY_POST
public static final String HTTP_CLIENT_RETRY_POST
If set to true, the http client will retry non-idempotent requests.- Data type: Boolean
- Use: optional
- See Also:
- Constant Field Values
-
-