Package org.somda.sdc.dpws
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_READ_TIMEOUTDefines the timeout the http client uses when reading a response.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_CONNECTION_TIMEOUTDefines the timeout the http server uses for connections.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.
-
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_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
-
-