Package | Description |
---|---|
ej.websocket.frame |
This package gathers the classes handling the frames of a WebSocket.
|
Modifier and Type | Method and Description |
---|---|
RawFrame |
IFrameBuilder.buildBinaryFrame(byte[] binary)
See RFC6455, section 5.6.
|
RawFrame |
ClientFrameBuilder.buildBinaryFrame(byte[] binary) |
RawFrame |
IFrameBuilder.buildCloseFrame(ReasonForClosure reasonForClosure)
See RFC6455, section 7.
|
RawFrame |
ClientFrameBuilder.buildCloseFrame(ReasonForClosure reasonForClosure) |
RawFrame |
IFrameBuilder.buildPingFrame(byte[] payload)
See RFC6455, section 5.5.2.
|
RawFrame |
ClientFrameBuilder.buildPingFrame(byte[] binary) |
RawFrame |
IFrameBuilder.buildPongFrame(byte[] payload)
See RFC6455, section 5.5.3.
|
RawFrame |
ClientFrameBuilder.buildPongFrame(byte[] binary) |
RawFrame |
IFrameBuilder.buildTextFrame(java.lang.String text)
See RFC6455, section 5.6.
|
RawFrame |
ClientFrameBuilder.buildTextFrame(java.lang.String text) |
RawFrame |
FrameScanner.getFrame()
Get a complete frame from the input stream.
|
Modifier and Type | Method and Description |
---|---|
void |
RawFrame.append(RawFrame f)
Appends the payload of a frame into the current frame.
|
void |
PrettyFramePrinter.print(RawFrame f)
Print a frame.
|