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 SummaryFieldsModifier and TypeFieldDescriptionThe bind address.- intString caching.- intString caching.- intString caching.The domain name.- booleanTracing.External web server URL, including protocol and potential port number.The PKCS#12 KeyStore file name.The password to use for the KeyStore.- booleanToS accepted.The ToS URI.- booleanFlag to use Gzip compression.- intThe Web Socket start port.- intThe Web Socket end port.- intThe Secure Web Socket start port.- intThe Secure Web Socket end port.
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- static PreferenceGets the instance.- voidInitializes the preferences store for all the terminal preferences.- voidSaves a "page" to the store.
- Field Details- extServerURLExternal 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. 
- bindAddressThe bind address.
- wsPort1public int wsPort1The Web Socket start port.
- wsPort2public int wsPort2The Web Socket end port.
- wsSecurePort1public int wsSecurePort1The Secure Web Socket start port.
- wsSecurePort2public int wsSecurePort2The Secure Web Socket end port.
- useGzippublic boolean useGzipFlag to use Gzip compression.
- cacheCountpublic int cacheCountString caching.
- cacheMinpublic int cacheMinString caching.
- cacheMaxpublic int cacheMaxString caching.
- doVerboseTracepublic boolean doVerboseTraceTracing.
- keyStoreThe PKCS#12 KeyStore file name.
- passwordThe password to use for the KeyStore.
- tosURIThe ToS URI.
- tosAcceptedpublic boolean tosAcceptedToS accepted.
- domainNameThe domain name.
 
- Constructor Details- Preferencepublic Preference()Construction of the class.
 
- Method Details- getInstanceGets the instance.- Returns:
- The single instance of the preferences.
 
- initializeDefaultPreferencespublic void initializeDefaultPreferences()Initializes the preferences store for all the terminal preferences.- Specified by:
- initializeDefaultPreferencesin class- AbstractPreferenceInitializer
- See Also:
 
- saveToStorepublic void saveToStore()Saves a "page" to the store.