|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Frame | |
|---|---|
| org.glassfish.grizzly.websockets | |
| org.glassfish.grizzly.websockets.frame | |
| Uses of Frame in org.glassfish.grizzly.websockets |
|---|
| Methods in org.glassfish.grizzly.websockets that return types with arguments of type Frame | |
|---|---|
GrizzlyFuture<Frame> |
WebSocketBase.send(Frame frame)
Send a message, represented as WebSocket Frame. |
GrizzlyFuture<Frame> |
WebSocket.send(Frame frame)
Send a message, represented as WebSocket Frame. |
GrizzlyFuture<Frame> |
WebSocketBase.send(Frame frame,
CompletionHandler<Frame> completionHandler)
Send a message, represented as WebSocket Frame. |
GrizzlyFuture<Frame> |
WebSocket.send(Frame frame,
CompletionHandler<Frame> completionHandler)
Send a message, represented as WebSocket Frame. |
| Methods in org.glassfish.grizzly.websockets with parameters of type Frame | |
|---|---|
void |
WebSocketHandler.onMessage(W websocket,
Frame frame)
Method is called, when WebSocket receives a Frame. |
GrizzlyFuture<Frame> |
WebSocketBase.send(Frame frame)
Send a message, represented as WebSocket Frame. |
GrizzlyFuture<Frame> |
WebSocket.send(Frame frame)
Send a message, represented as WebSocket Frame. |
GrizzlyFuture<Frame> |
WebSocketBase.send(Frame frame,
CompletionHandler<Frame> completionHandler)
Send a message, represented as WebSocket Frame. |
GrizzlyFuture<Frame> |
WebSocket.send(Frame frame,
CompletionHandler<Frame> completionHandler)
Send a message, represented as WebSocket Frame. |
| Method parameters in org.glassfish.grizzly.websockets with type arguments of type Frame | |
|---|---|
GrizzlyFuture<Frame> |
WebSocketBase.send(Frame frame,
CompletionHandler<Frame> completionHandler)
Send a message, represented as WebSocket Frame. |
GrizzlyFuture<Frame> |
WebSocket.send(Frame frame,
CompletionHandler<Frame> completionHandler)
Send a message, represented as WebSocket Frame. |
| Uses of Frame in org.glassfish.grizzly.websockets.frame |
|---|
| Methods in org.glassfish.grizzly.websockets.frame that return Frame | |
|---|---|
static Frame |
Frame.createCloseFrame()
Create the close frame, after sending which the WebSocket communication will be closed. |
static Frame |
Frame.createFrame(int type,
Buffer data)
Create a custom typed frame, which will contain a binary data. |
static Frame |
Frame.createFrame(int type,
String text)
Create a custom typed frame, which will contain a text, which will be encoded using UTF-8 charset. |
static Frame |
Frame.createFrame(int type,
String text,
Charset charset)
Create a custom typed frame, which will contain a text, which will be encoded using given charset. |
static Frame |
Frame.createTextFrame(String text)
Create the stream-based frame, which will contain UTF-8 string. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||