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

Part Number E27170-01

Uses of Interface
weblogic.websocket.WebSocketConnection

Packages that use WebSocketConnection
weblogic.websocket Provides the interfaces and classes necessary to manage a WebLogic WebSocket. 
 

Uses of WebSocketConnection in weblogic.websocket
 

Methods in weblogic.websocket that return types with arguments of type WebSocketConnection
 Set<WebSocketConnection> WebSocketContext.getWebSocketConnections()
          Returns set of opened WebSocket connections.
 

Methods in weblogic.websocket with parameters of type WebSocketConnection
 void WebSocketAdapter.onClose(WebSocketConnection connection, ClosingMessage msg)
          Empty implementation for this callback method.
 void WebSocketListener.onClose(WebSocketConnection connection, ClosingMessage message)
          This method is called when the WebSocket is closed by the WebSocket client.
 void WebSocketAdapter.onError(WebSocketConnection connection, Throwable error)
          Empty implementation for this callback method.
 void WebSocketListener.onError(WebSocketConnection connection, Throwable error)
          This method is called if the container encounters difficulty.
 void WebSocketAdapter.onFragment(WebSocketConnection connection, boolean last, String payload)
          Empty implementation for this callback method.
 void WebSocketAdapter.onFragment(WebSocketConnection connection, boolean last, byte[] payload)
          Empty implementation for this callback method.
 void WebSocketListener.onFragment(WebSocketConnection connection, boolean last, String payload)
          This method is called when a CONTINUATION data frame containing text payload is received.
 void WebSocketListener.onFragment(WebSocketConnection connection, boolean last, byte[] payload)
          This method is called when a CONTINUATION data frame containing binary payload is received.
 void WebSocketAdapter.onMessage(WebSocketConnection connection, String payload)
          Empty implementation for this callback method.
 void WebSocketAdapter.onMessage(WebSocketConnection connection, byte[] payload)
          Empty implementation for this callback method.
 void WebSocketListener.onMessage(WebSocketConnection connection, String payload)
          This method is called when a TEXT data frame is received.
 void WebSocketListener.onMessage(WebSocketConnection connection, byte[] payload)
          This method is called when a BINARY data frame is received.
 void WebSocketAdapter.onOpen(WebSocketConnection connection)
          Empty implementation for this callback method.
 void WebSocketListener.onOpen(WebSocketConnection connection)
          This method is called after the WebSocket opening handshake succeeds and the connection is established.
 void WebSocketAdapter.onPing(WebSocketConnection connection, byte[] payload)
          Empty implementation for this callback method.
 void WebSocketListener.onPing(WebSocketConnection connection, byte[] payload)
          This method is called when a PING control frame is received.
 void WebSocketAdapter.onPong(WebSocketConnection connection, byte[] payload)
          Empty implementation for this callback method.
 void WebSocketListener.onPong(WebSocketConnection connection, byte[] payload)
          This method is called when a PONG control frame is received.
 void WebSocketAdapter.onTimeout(WebSocketConnection connection)
          Empty implementation for this callback method.
 void WebSocketListener.onTimeout(WebSocketConnection connection)
          This method is called when the WebSocket does not receive any message for the specified timeout period.
 


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