@Deprecated public interface WebSocketContext
@WebSocket annotation or set
 by the application.| Modifier and Type | Method and Description | 
|---|---|
int | 
getMaxConnections()
Deprecated.  
Returns maximum connections. 
 | 
int | 
getMaxMessageSize()
Deprecated.  
Returns maximum message size. 
 | 
String[] | 
getPathPatterns()
Deprecated.  
Returns path patterns. 
 | 
ServletContext | 
getServletContext()
Deprecated.  
Returns  
ServletContext for this Web application. | 
Set<Integer> | 
getSupportedVersions()
Deprecated.  
Returns set of supported WebSocket Protocol versions. 
 | 
int | 
getTimeoutSecs()
Deprecated.  
Returns timeout values in seconds. 
 | 
Set<WebSocketConnection> | 
getWebSocketConnections()
Deprecated.  
Returns set of opened WebSocket connections. 
 | 
void | 
setMaxConnections(int maxConnections)
Deprecated.  
Sets maximum connections. 
 | 
void | 
setMaxMessageSize(int maxMessageSize)
Deprecated.  
Sets maximum message size. 
 | 
void | 
setTimeoutSecs(int timeout)
Deprecated.  
Sets timeout values in seconds. 
 | 
ServletContext getServletContext()
ServletContext for this Web application.String[] getPathPatterns()
int getTimeoutSecs()
void setTimeoutSecs(int timeout)
timeout - value in secondsint getMaxMessageSize()
void setMaxMessageSize(int maxMessageSize)
maxMessageSize - integer value of maximum message sizeint getMaxConnections()
void setMaxConnections(int maxConnections)
maxConnections - integer value of maximum connectionsSet<WebSocketConnection> getWebSocketConnections()