Package com.iizigo.webserver
Class Preference
- java.lang.Object
- org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
- com.iizigo.webserver.Preference
 
 
- public class Preference extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializerClass used to initialize default preference values.- Author:
- Christopher Mindus
 
- Field Summary- Fields - Modifier and Type - Field - Description - java.lang.String- bindAddressThe bind address.- int- cacheCountString caching.- int- cacheMaxString caching.- int- cacheMinString caching.- java.lang.String- domainNameThe domain name.- boolean- doVerboseTraceTracing.- java.lang.String- extServerURLExternal web server URL, including protocol and potential port number.- java.lang.String- keyStoreThe PKCS#12 KeyStore file name.- java.lang.String- passwordThe password to use for the KeyStore.- boolean- tosAcceptedToS accepted.- java.lang.String- tosURIThe ToS URI.- boolean- useGzipFlag to use Gzip compression.- int- wsPort1The Web Socket start port.- int- wsPort2The Web Socket end port.- int- wsSecurePort1The Secure Web Socket start port.- int- wsSecurePort2The Secure Web Socket end port.
 - Constructor Summary- Constructors - Constructor - Description - Preference()Construction of the class.
 - Method Summary- All Methods Static Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - static Preference- getInstance()Gets the instance.- void- initializeDefaultPreferences()Initializes the preferences store for all the terminal preferences.- void- saveToStore()Saves a "page" to the store.
 
- Field Detail- extServerURL- public java.lang.String 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- public java.lang.String bindAddress The bind address.
 - wsPort1- public int wsPort1 The Web Socket start port.
 - wsPort2- public int wsPort2 The Web Socket end port.
 - wsSecurePort1- public int wsSecurePort1 The Secure Web Socket start port.
 - wsSecurePort2- public int wsSecurePort2 The Secure Web Socket end port.
 - useGzip- public boolean useGzip Flag to use Gzip compression.
 - cacheCount- public int cacheCount String caching.
 - cacheMin- public int cacheMin String caching.
 - cacheMax- public int cacheMax String caching.
 - doVerboseTrace- public boolean doVerboseTrace Tracing.
 - keyStore- public java.lang.String keyStore The PKCS#12 KeyStore file name.
 - password- public java.lang.String password The password to use for the KeyStore.
 - tosURI- public java.lang.String tosURI The ToS URI.
 - tosAccepted- public boolean tosAccepted ToS accepted.
 - domainName- public java.lang.String domainName The domain name.
 
 - Method Detail- getInstance- public static Preference 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:
- initializeDefaultPreferencesin class- org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
- See Also:
- AbstractPreferenceInitializer.initializeDefaultPreferences()
 
 - saveToStore- public void saveToStore() Saves a "page" to the store.