Uses of Interface
org.eclipse.jetty.websocket.api.Callback
Packages that use Callback
Package
Description
Jetty WebSocket Common : Implementation [Internal Use Only]
- 
Uses of Callback in org.eclipse.jetty.websocket.api
Classes in org.eclipse.jetty.websocket.api that implement CallbackFields in org.eclipse.jetty.websocket.api declared as CallbackMethods in org.eclipse.jetty.websocket.api that return CallbackModifier and TypeMethodDescriptionstatic CallbackCreates a callback from the given success and failure lambdas.static CallbackCreates a nested callback that runs completed after completing the nested callback.Methods in org.eclipse.jetty.websocket.api with parameters of type CallbackModifier and TypeMethodDescriptionvoidSends a websocket CLOSE frame, with status code and reason, notifying the given callback when the frame send is completed, either successfully or with a failure.static CallbackCreates a nested callback that runs completed after completing the nested callback.default voidSession.Listener.onWebSocketBinary(ByteBuffer payload, Callback callback) A WebSocket BINARY message has been received.default voidSession.Listener.onWebSocketClose(int statusCode, String reason, Callback callback) The WebSocketSessionhas been closed.default voidSession.Listener.onWebSocketFrame(Frame frame, Callback callback) A WebSocket frame has been received.default voidSession.Listener.onWebSocketPartialBinary(ByteBuffer payload, boolean last, Callback callback) A WebSocket BINARY (or associated CONTINUATION) frame has been received.voidSession.sendBinary(ByteBuffer buffer, Callback callback) Initiates the asynchronous send of a BINARY message, notifying the given callback when the message send is completed, either successfully or with a failure.voidSession.sendPartialBinary(ByteBuffer buffer, boolean last, Callback callback) Initiates the asynchronous send of a BINARY frame, possibly part of a larger binary message, notifying the given callback when the frame send is completed, either successfully or with a failure.voidSession.sendPartialText(String text, boolean last, Callback callback) Initiates the asynchronous send of a TEXT frame, possibly part of a larger binary message, notifying the given callback when the frame send is completed, either successfully or with a failure.voidSession.sendPing(ByteBuffer applicationData, Callback callback) Initiates the asynchronous send of a PING frame, notifying the given callback when the frame send is completed, either successfully or with a failure.voidSession.sendPong(ByteBuffer applicationData, Callback callback) Initiates the asynchronous send of a PONG frame, notifying the given callback when the frame send is completed, either successfully or with a failure.voidInitiates the asynchronous send of a TEXT message, notifying the given callback when the message send is completed, either successfully or with a failure. - 
Uses of Callback in org.eclipse.jetty.websocket.common
Methods in org.eclipse.jetty.websocket.common with parameters of type CallbackModifier and TypeMethodDescriptionvoidvoidWebSocketSession.sendBinary(ByteBuffer buffer, Callback callback) voidWebSocketSession.sendPartialBinary(ByteBuffer buffer, boolean last, Callback callback) voidWebSocketSession.sendPartialText(String text, boolean last, Callback callback) voidWebSocketSession.sendPing(ByteBuffer applicationData, Callback callback) voidWebSocketSession.sendPong(ByteBuffer applicationData, Callback callback) void