Package com.iizix.server.vsviewer
Class VSViewerParams
java.lang.Object
com.iizix.server.vsviewer.VSViewerParams
Class used to hold the information for the VS Viewer parameters and to parse the Query string in the VSViewer WebSocket URI.
- Author:
- Christopher Mindus
- Field SummaryFieldsModifier and TypeFieldDescription- final AppFactoryThe application to use, null if not found.- final StringThe Application ID, null if not found.- final StringThe error message, null for OK.- final StringThe user hash when the user is returning.- static final StringThe Server configuration environment property: "env".The session user identifier, null if not defined properly.
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- assignSessionID- (String sessionID) Assigns a new Session ID for this session.- getParameterValue- (String name) Gets a property that is defined as the "other" properties, e.g.- toString()Returns a string representation of this VS Viewer parameters and its values.
- Field Details- SERVER_CONFIGURATION_ENVIRONMENTThe Server configuration environment property: "env".- See Also:
 
- errorThe error message, null for OK.
- appIDThe Application ID, null if not found.
- appThe application to use, null if not found.
- userThe session user identifier, null if not defined properly.
- hashThe user hash when the user is returning.
 
- Constructor Details- VSViewerParamsConstructor.- Parameters:
- server- The server instance.
- query- The Query string from the URI.
 
 
- Method Details- assignSessionIDAssigns a new Session ID for this session. This changes the- userinstance to a new- SessionUserIdentifierinstance.- Parameters:
- sessionID- The session ID.
- Returns:
- The new SessionUserIdentifier.
 
- getParameterValueGets a property that is defined as the "other" properties, e.g.- SERVER_CONFIGURATION_ENVIRONMENTfor server configuration environment.- Parameters:
- name- The parameter name, e.g. "env".
- Returns:
- The defined parameter value, or null if undefined.
 
- toStringReturns a string representation of this VS Viewer parameters and its values.