|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface WebSocketContext
This class provides context information for a WebSocket that
is declared by the @WebSocket annotation or set
by the application.
| Method Summary | |
|---|---|
int |
getMaxConnections()
Returns maximum connections. |
int |
getMaxMessageSize()
Returns maximum message size. |
String[] |
getPathPatterns()
Returns path patterns. |
ServletContext |
getServletContext()
Returns ServletContext for this Web application. |
Set<Integer> |
getSupportedVersions()
Returns set of supported WebSocket Protocol versions. |
int |
getTimeoutSecs()
Returns timeout values in seconds. |
Set<WebSocketConnection> |
getWebSocketConnections()
Returns set of opened WebSocket connections. |
void |
setMaxConnections(int maxConnections)
Sets maximum connections. |
void |
setMaxMessageSize(int maxMessageSize)
Sets maximum message size. |
void |
setTimeoutSecs(int timeout)
Sets timeout values in seconds. |
| Method Detail |
|---|
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()
Set<Integer> getSupportedVersions()
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||