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 HTTP port.- intThe Secure Web Socket HTTPS port.
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescriptionCreates the port configurations from the preferences.- 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.
- wsPortpublic int wsPortThe Web Socket HTTP port.
- wsSecurePortpublic int wsSecurePortThe Secure Web Socket HTTPS 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.
 
- createPortConfigsCreates the port configurations from 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.