public class EvwSrvrEptCfgr
extends javax.websocket.server.ServerEndpointConfig.Configurator
This class is a ServerEndpointConfig.Configurator with EventWeb extensions.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
appPath
Path to the directory belonging to the webapp we are running in
|
java.util.Set<java.lang.String> |
authHosts
Hosts authorized to access this endpoint.
|
boolean |
debugging
Debugging flag
|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
javax.servlet.http.HttpSession |
httpSession
HttpSession the client connected from
|
Logger |
log
Logger
|
boolean |
passCtrl
Pass control messages to provFtry
|
SrvcProvFtry |
provFtry
Service provider factory instance
|
static java.lang.String |
SPEC_ALL_LOCAL_HOST |
boolean |
tracingIo
IoTracing flag
|
static java.lang.String |
VERSION
Class version
|
Constructor and Description |
---|
EvwSrvrEptCfgr(SrvcProvFtry srvcProvFtry,
java.util.Set<java.lang.String> authHostSet,
java.lang.Boolean passCtrlVal,
java.lang.String webappPath,
Logger logger,
boolean ioTrace,
boolean debug)
Create a new EvwSrvrEptCfgr instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dump(java.io.PrintWriter out,
java.lang.String indent)
Dump the EvwSrvrEptCfgr to a PrintWriter
|
void |
modifyHandshake(javax.websocket.server.ServerEndpointConfig sec,
javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response)
Get the HttpSession and provide diagnostic information about opening handshake.
|
void |
quiesce()
Quiesce the provider factory at this endpoint.
|
public static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
public static final java.lang.String SPEC_ALL_LOCAL_HOST
public SrvcProvFtry provFtry
public java.lang.String appPath
public java.util.Set<java.lang.String> authHosts
public boolean passCtrl
public Logger log
public javax.servlet.http.HttpSession httpSession
public boolean tracingIo
public boolean debugging
public EvwSrvrEptCfgr(SrvcProvFtry srvcProvFtry, java.util.Set<java.lang.String> authHostSet, java.lang.Boolean passCtrlVal, java.lang.String webappPath, Logger logger, boolean ioTrace, boolean debug)
srvcProvFtry
- Root SrvcProvFtry for this endpointwebappPath
- Path to the directory belonging to the webapp we are running in.logger
- Logger for this endpointdebug
- If true, Set debugging for this endpointpublic void modifyHandshake(javax.websocket.server.ServerEndpointConfig sec, javax.websocket.server.HandshakeRequest request, javax.websocket.HandshakeResponse response)
modifyHandshake
in class javax.websocket.server.ServerEndpointConfig.Configurator
public void quiesce()
public void dump(java.io.PrintWriter out, java.lang.String indent)
out
- The device to dump toindent
- Prefix for dumped information