Package com.iizigo.webserver
Class Preference
java.lang.Object
org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
com.iizigo.webserver.Preference
Class used to initialize default preference values.
- Author:
- Christopher Mindus
Field Summary
Modifier and TypeFieldDescriptionThe bind address.int
String caching.int
String caching.int
String caching.The domain name.boolean
Tracing.External web server URL, including protocol and potential port number.The PKCS#12 KeyStore file name.The password to use for the KeyStore.boolean
ToS accepted.The ToS URI.boolean
Flag to use Gzip compression.int
The Web Socket start port.int
The Web Socket end port.int
The Secure Web Socket start port.int
The Secure Web Socket end port.Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic Preference
Gets the instance.void
Initializes the preferences store for all the terminal preferences.void
Saves a "page" to the store.
Field Details
extServerURL
External web server URL, including protocol and potential port number.This setting must be set if the retrieval of the local host name e.g. does not include the domain DNS suffix, or that the name is known on external nets differently than on the internal network. This host name is typically used for the OAuth 2.0 authentication callback URL's.
bindAddress
The bind address.wsPort1
public int wsPort1The Web Socket start port.wsPort2
public int wsPort2The Web Socket end port.wsSecurePort1
public int wsSecurePort1The Secure Web Socket start port.wsSecurePort2
public int wsSecurePort2The Secure Web Socket end port.useGzip
public boolean useGzipFlag to use Gzip compression.cacheCount
public int cacheCountString caching.cacheMin
public int cacheMinString caching.cacheMax
public int cacheMaxString caching.doVerboseTrace
public boolean doVerboseTraceTracing.keyStore
The PKCS#12 KeyStore file name.password
The password to use for the KeyStore.tosURI
The ToS URI.tosAccepted
public boolean tosAcceptedToS accepted.domainName
The domain name.
Constructor Details
Preference
public Preference()Construction of the class.
Method Details
getInstance
Gets the instance.- Returns:
- The single instance of the preferences.
initializeDefaultPreferences
public void initializeDefaultPreferences()Initializes the preferences store for all the terminal preferences.- Specified by:
initializeDefaultPreferences
in classAbstractPreferenceInitializer
- See Also:
saveToStore
public void saveToStore()Saves a "page" to the store.