Package | Description |
---|---|
org.java_websocket | |
org.java_websocket.client | |
org.java_websocket.drafts | |
org.java_websocket.extensions | |
org.java_websocket.framing | |
org.java_websocket.server |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketListener.onWebsocketMessageFragment(WebSocket conn,
Framedata frame)
Deprecated.
|
void |
WebSocketAdapter.onWebsocketMessageFragment(WebSocket conn,
Framedata frame)
Deprecated.
|
void |
WebSocketListener.onWebsocketPing(WebSocket conn,
Framedata f)
Called a ping frame has been received.
|
void |
WebSocketAdapter.onWebsocketPing(WebSocket conn,
Framedata f)
This default implementation will send a pong in response to the received ping.
|
void |
WebSocketListener.onWebsocketPong(WebSocket conn,
Framedata f)
Called when a pong frame is received.
|
void |
WebSocketAdapter.onWebsocketPong(WebSocket conn,
Framedata f)
This default implementation does not do anything.
|
void |
WebSocketImpl.sendFrame(Framedata framedata) |
void |
WebSocket.sendFrame(Framedata framedata)
Send a frame to the other end
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketImpl.sendFrame(Collection<Framedata> frames) |
void |
WebSocket.sendFrame(Collection<Framedata> frames)
Send a collection of frames to the other end
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketClient.onFragment(Framedata frame)
Deprecated.
|
void |
WebSocketClient.onWebsocketMessageFragment(WebSocket conn,
Framedata frame) |
void |
WebSocketClient.sendFrame(Framedata framedata) |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketClient.sendFrame(Collection<Framedata> frames) |
Modifier and Type | Method and Description |
---|---|
Framedata |
Draft_6455.translateSingleFrame(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
List<Framedata> |
Draft.continuousFrame(Framedata.Opcode op,
ByteBuffer buffer,
boolean fin) |
List<Framedata> |
Draft_6455.createFrames(ByteBuffer binary,
boolean mask) |
abstract List<Framedata> |
Draft.createFrames(ByteBuffer binary,
boolean mask) |
List<Framedata> |
Draft_6455.createFrames(String text,
boolean mask) |
abstract List<Framedata> |
Draft.createFrames(String text,
boolean mask) |
List<Framedata> |
Draft_6455.translateFrame(ByteBuffer buffer) |
abstract List<Framedata> |
Draft.translateFrame(ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
Draft_6455.createBinaryFrame(Framedata framedata) |
abstract ByteBuffer |
Draft.createBinaryFrame(Framedata framedata) |
void |
Draft_6455.processFrame(WebSocketImpl webSocketImpl,
Framedata frame) |
abstract void |
Draft.processFrame(WebSocketImpl webSocketImpl,
Framedata frame)
Handle the frame specific to the draft
|
Modifier and Type | Method and Description |
---|---|
void |
IExtension.decodeFrame(Framedata inputFrame)
Decode a frame with a extension specific algorithm.
|
void |
DefaultExtension.decodeFrame(Framedata inputFrame) |
void |
IExtension.encodeFrame(Framedata inputFrame)
Encode a frame with a extension specific algorithm.
|
void |
DefaultExtension.encodeFrame(Framedata inputFrame) |
void |
IExtension.isFrameValid(Framedata inputFrame)
Check if the received frame is correctly implemented by the other endpoint and there are no specification errors (like wrongly set RSV)
|
void |
DefaultExtension.isFrameValid(Framedata inputFrame) |
void |
CompressionExtension.isFrameValid(Framedata inputFrame) |
Modifier and Type | Class and Description |
---|---|
class |
BinaryFrame
Class to represent a binary frame
|
class |
CloseFrame
Class to represent a close frame
|
class |
ContinuousFrame
Class to represent a continuous frame
|
class |
ControlFrame
Absstract class to represent control frames
|
class |
DataFrame
Absstract class to represent data frames
|
class |
FramedataImpl1 |
class |
PingFrame
Class to represent a ping frame
|
class |
PongFrame
Class to represent a pong frame
|
class |
TextFrame
Class to represent a text frames
|
Modifier and Type | Method and Description |
---|---|
void |
FramedataImpl1.append(Framedata nextframe) |
void |
Framedata.append(Framedata nextframe)
Appends an additional frame to the current frame
This methods does not override the opcode, but does override the fin
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketServer.onFragment(WebSocket conn,
Framedata fragment)
Deprecated.
|
void |
WebSocketServer.onWebsocketMessageFragment(WebSocket conn,
Framedata frame)
Deprecated.
|
Copyright © 2017. All rights reserved.