Package net.targetr.wtm3
Class Settings
java.lang.Object
net.targetr.wtm3.Settings
Loads default settings and reads settings from properties files.
- Author:
- Dr Michael Gardiner
-
Field Summary
FieldsModifier and TypeFieldDescriptionintString[]intMax size of HTTP request line and headersintMax time to read the HTTP headersintintMax size of HTTP request bodyintMax time to read the HTTP request bodyString[]booleanbooleanDisable Nagle's algorithmintMax time to block on socket read -
Method Summary
Modifier and TypeMethodDescriptionstatic Settingsget()voidload(Properties props) Populates the public fields of this class from a properties object.
-
Field Details
-
server
-
port
public int port -
backlog
public int backlog -
listenAddr
-
tcpSocketTimeout
public int tcpSocketTimeoutMax time to block on socket read -
tcpNoDelay
public boolean tcpNoDelayDisable Nagle's algorithm -
tcpKeepAlive
public boolean tcpKeepAlive -
metaDataRequestTimeout
public int metaDataRequestTimeoutMax time to read the HTTP headers -
metadataReadBufferSize
public int metadataReadBufferSizeMax size of HTTP request line and headers -
requestBodyMaxSize
public int requestBodyMaxSizeMax size of HTTP request body -
requestBodyTimeout
public int requestBodyTimeoutMax time to read the HTTP request body -
sslContext
-
sslProtocols
-
cipherSuites
-
noSniDomain
-
keyStorePath
-
keyStoreType
-
keyStorePassword
-
keystoreInternalKeyPassword
-
selfSignedAlias
-
sslSelfSignedRootDn
-
sslSelfSignedDomainDn
-
-
Method Details
-
get
-
load
Populates the public fields of this class from a properties object.- Parameters:
props- A properties object to read values from.
-