Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.websocket
Interface WebSocketContext


Deprecated. As of release 12.1.3, replaced by JSR356: Java API for WebSocket

@Deprecated
public interface WebSocketContext

This class provides context information for a WebSocket that is declared by the &#64WebSocket annotation or set by the application.


Method Summary
abstract  int getMaxConnections()
          Deprecated. Returns maximum connections.
abstract  int getMaxMessageSize()
          Deprecated. Returns maximum message size.
abstract  String[] getPathPatterns()
          Deprecated. Returns path patterns.
abstract  ServletContext getServletContext()
          Deprecated. Returns ServletContext for this Web application.
abstract  Set<Integer> getSupportedVersions()
          Deprecated. Returns set of supported WebSocket Protocol versions.
abstract  int getTimeoutSecs()
          Deprecated. Returns timeout values in seconds.
abstract  Set<WebSocketConnection> getWebSocketConnections()
          Deprecated. Returns set of opened WebSocket connections.
abstract  void setMaxConnections(int maxConnections)
          Deprecated. Sets maximum connections.
abstract  void setMaxMessageSize(int maxMessageSize)
          Deprecated. Sets maximum message size.
abstract  void setTimeoutSecs(int timeout)
          Deprecated. Sets timeout values in seconds.

 

Method Detail

getServletContext

ServletContext getServletContext()
Deprecated. 
Returns ServletContext for this Web application.
Returns:
instance of ServletContext

getPathPatterns

String[] getPathPatterns()
Deprecated. 
Returns path patterns.
Returns:
path patterns

getTimeoutSecs

int getTimeoutSecs()
Deprecated. 
Returns timeout values in seconds.
Returns:
timeout value in seconds

setTimeoutSecs

void setTimeoutSecs(int timeout)
Deprecated. 
Sets timeout values in seconds.
Parameters:
timeout - value in seconds

getMaxMessageSize

int getMaxMessageSize()
Deprecated. 
Returns maximum message size.
Returns:
maximum message size

setMaxMessageSize

void setMaxMessageSize(int maxMessageSize)
Deprecated. 
Sets maximum message size.
Parameters:
maxMessageSize - integer value of maximum message size

getMaxConnections

int getMaxConnections()
Deprecated. 
Returns maximum connections.
Returns:
maximum connections

setMaxConnections

void setMaxConnections(int maxConnections)
Deprecated. 
Sets maximum connections.
Parameters:
maxConnections - integer value of maximum connections

getWebSocketConnections

Set<WebSocketConnection> getWebSocketConnections()
Deprecated. 
Returns set of opened WebSocket connections.
Returns:
set of opened WebSocket connections

getSupportedVersions

Set<Integer> getSupportedVersions()
Deprecated. 
Returns set of supported WebSocket Protocol versions.
Returns:
set of supported WebSocket Protocol versions

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09