- getAcceptedSubProtocol() - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get the accepted WebSocket protocol.
- getAsyncWriteTimeout() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The timeout in ms (milliseconds) for async write operations.
- getAvailableExtensions() - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
-
- getBatchMode() - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
- getBehavior() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
- getCode() - Method in class org.eclipse.jetty.websocket.api.CloseStatus
-
- getConfig() - Method in interface org.eclipse.jetty.websocket.api.extensions.Extension
-
The active configuration for this extension.
- getCookies() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the list of Cookies on the Upgrade request
- getExtension(String) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
-
- getExtensionNames() - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
-
- getExtensions() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the list of WebSocket Extension Configurations for this Upgrade Request.
- getExtensions() - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get the list of extensions that should be used for the websocket.
- getHeader(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get a specific Header value from Upgrade Request
- getHeader(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get a header value
- getHeaderInt(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the specific Header value, as an int
, from the Upgrade Request.
- getHeaderNames() - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get the header names
- getHeaders() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the headers as a Map of keys to value lists.
- getHeaders(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the specific header values (for multi-value headers)
- getHeaders() - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get the headers map
- getHeaders(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get the multi-value header value
- getHost() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
The host of the Upgrade Request URI
- getHttpVersion() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
The HTTP version used for this Upgrade Request
- getIdleTimeout() - Method in interface org.eclipse.jetty.websocket.api.Session
-
Return the number of milliseconds before this conversation will be closed by the container if it is inactive, ie no messages are either sent or received
in that time.
- getIdleTimeout() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The time in ms (milliseconds) that a websocket connection mad by idle before being closed automatically.
- getInetSocketAddress() - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Get the InetSocketAddress for the established connection.
- getInputBufferSize() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The size of the input (read from network layer) buffer size.
- getLocalAddress() - Method in interface org.eclipse.jetty.websocket.api.Session
-
Get the address of the local side.
- getMask() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
-
- getMaxBinaryMessageBufferSize() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
Get the maximum size of a binary message buffer (for streaming writing)
- getMaxBinaryMessageSize() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
Get the maximum size of a binary message during parsing/generating.
- getMaxTextMessageBufferSize() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
Get the maximum size of a text message buffer (for streaming writing)
- getMaxTextMessageSize() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
Get the maximum size of a text message during parsing/generating.
- getMethod() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
The HTTP method for this Upgrade Request.
- getName() - Method in interface org.eclipse.jetty.websocket.api.extensions.Extension
-
The Sec-WebSocket-Extensions
name for this extension.
- getName() - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
- getOpCode() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
-
- getOpCode() - Method in enum org.eclipse.jetty.websocket.api.extensions.Frame.Type
-
- getOrigin() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
The WebSocket Origin of this Upgrade Request
- getParameter(String, int) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
- getParameter(String, String) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
- getParameterizedName() - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
- getParameterKeys() - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
- getParameterMap() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Returns a map of the query parameters of the request.
- getParameters() - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
Return parameters found in request URI.
- getPayload() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
-
- getPayloadLength() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
-
- getPhrase() - Method in class org.eclipse.jetty.websocket.api.CloseStatus
-
- getPolicy() - Method in interface org.eclipse.jetty.websocket.api.Session
-
- getProtocolVersion() - Method in interface org.eclipse.jetty.websocket.api.Session
-
Returns the version of the websocket protocol currently being used.
- getProtocolVersion() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the WebSocket Protocol Version
- getQueryString() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the Query String of the request URI.
- getRemote() - Method in interface org.eclipse.jetty.websocket.api.Session
-
Return a reference to the RemoteEndpoint object representing the other end of this conversation.
- getRemote() - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- getRemoteAddress() - Method in interface org.eclipse.jetty.websocket.api.Session
-
Get the address of the remote side.
- getRequestURI() - Method in exception org.eclipse.jetty.websocket.api.UpgradeException
-
- getRequestURI() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the Request URI
- getResponseStatusCode() - Method in exception org.eclipse.jetty.websocket.api.UpgradeException
-
- getSession() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Access the Servlet HTTP Session (if present)
- getSession() - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- getStatusCode() - Method in exception org.eclipse.jetty.websocket.api.CloseException
-
- getStatusCode() - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get the HTTP Response Status Code
- getStatusReason() - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get the HTTP Response Status Reason
- getSubProtocols() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the list of offered WebSocket sub-protocols.
- getType() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
-
- getUpgradeRequest() - Method in interface org.eclipse.jetty.websocket.api.Session
-
Get the UpgradeRequest used to create this session
- getUpgradeResponse() - Method in interface org.eclipse.jetty.websocket.api.Session
-
Get the UpgradeResponse used to create this session
- getUserPrincipal() - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Get the User Principal for this request.
- onWebSocketBinary(byte[], int, int) - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- onWebSocketBinary(byte[], int, int) - Method in interface org.eclipse.jetty.websocket.api.WebSocketListener
-
A WebSocket binary frame has been received.
- OnWebSocketClose - Annotation Type in org.eclipse.jetty.websocket.api.annotations
-
Annotation for tagging methods to receive connection close events.
- onWebSocketClose(int, String) - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- onWebSocketClose(int, String) - Method in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
-
A Close Event was received.
- OnWebSocketConnect - Annotation Type in org.eclipse.jetty.websocket.api.annotations
-
Annotation for tagging methods to receive connection open events.
- onWebSocketConnect(Session) - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- onWebSocketConnect(Session) - Method in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
-
A WebSocket
Session
has connected successfully and is ready to be used.
- OnWebSocketError - Annotation Type in org.eclipse.jetty.websocket.api.annotations
-
Annotation for receiving websocket errors (exceptions) that have occurred internally in the websocket implementation.
- onWebSocketError(Throwable) - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- onWebSocketError(Throwable) - Method in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
-
A WebSocket exception has occurred.
- OnWebSocketFrame - Annotation Type in org.eclipse.jetty.websocket.api.annotations
-
(ADVANCED) Annotation for tagging methods to receive frame events.
- onWebSocketFrame(Frame) - Method in interface org.eclipse.jetty.websocket.api.WebSocketFrameListener
-
A WebSocket frame has been received.
- OnWebSocketMessage - Annotation Type in org.eclipse.jetty.websocket.api.annotations
-
Annotation for tagging methods to receive Binary or Text Message events.
- onWebSocketPartialBinary(ByteBuffer, boolean) - Method in interface org.eclipse.jetty.websocket.api.WebSocketPartialListener
-
A WebSocket BINARY (or associated CONTINUATION) frame has been received.
- onWebSocketPartialText(String, boolean) - Method in interface org.eclipse.jetty.websocket.api.WebSocketPartialListener
-
A WebSocket TEXT (or associated CONTINUATION) frame has been received.
- onWebSocketPing(ByteBuffer) - Method in interface org.eclipse.jetty.websocket.api.WebSocketPingPongListener
-
A WebSocket PING has been received.
- onWebSocketPong(ByteBuffer) - Method in interface org.eclipse.jetty.websocket.api.WebSocketPingPongListener
-
A WebSocket PONG has been received.
- onWebSocketText(String) - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- onWebSocketText(String) - Method in interface org.eclipse.jetty.websocket.api.WebSocketListener
-
A WebSocket Text frame was received.
- org.eclipse.jetty.websocket.api - package org.eclipse.jetty.websocket.api
-
Jetty WebSocket API
- org.eclipse.jetty.websocket.api.annotations - package org.eclipse.jetty.websocket.api.annotations
-
Jetty WebSocket API : WebSocket POJO Annotations
- org.eclipse.jetty.websocket.api.extensions - package org.eclipse.jetty.websocket.api.extensions
-
Jetty WebSocket API : WebSocket Extension API
- org.eclipse.jetty.websocket.api.util - package org.eclipse.jetty.websocket.api.util
-
Jetty WebSocket API : Utility Classes
- outgoingFrame(Frame, WriteCallback, BatchMode) - Method in interface org.eclipse.jetty.websocket.api.extensions.OutgoingFrames
-
A frame, and optional callback, intended for the network layer.
- OutgoingFrames - Interface in org.eclipse.jetty.websocket.api.extensions
-
Interface for dealing with frames outgoing to (eventually) the network layer.
- SEC_WEBSOCKET_EXTENSIONS - Static variable in class org.eclipse.jetty.websocket.api.WebSocketConstants
-
- SEC_WEBSOCKET_PROTOCOL - Static variable in class org.eclipse.jetty.websocket.api.WebSocketConstants
-
- SEC_WEBSOCKET_VERSION - Static variable in class org.eclipse.jetty.websocket.api.WebSocketConstants
-
- sendBytes(ByteBuffer) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Send a binary message, returning when all bytes of the message has been transmitted.
- sendBytes(ByteBuffer, WriteCallback) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Initiates the asynchronous transmission of a binary message.
- sendBytesByFuture(ByteBuffer) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Initiates the asynchronous transmission of a binary message.
- sendForbidden(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Issue a forbidden upgrade response.
- sendPartialBytes(ByteBuffer, boolean) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Send a binary message in pieces, blocking until all of the message has been transmitted.
- sendPartialString(String, boolean) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Send a text message in pieces, blocking until all of the message has been transmitted.
- sendPing(ByteBuffer) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Send a Ping message containing the given application data to the remote endpoint.
- sendPong(ByteBuffer) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Allows the developer to send an unsolicited Pong message containing the given application data in order to serve
as a unidirectional heartbeat for the
session.
- sendString(String) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Send a text message, blocking until all bytes of the message has been transmitted.
- sendString(String, WriteCallback) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Initiates the asynchronous transmission of a text message.
- sendStringByFuture(String) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Initiates the asynchronous transmission of a text message.
- SERVER_ERROR - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
-
1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
- SERVICE_RESTART - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
-
1012 indicates that the service is restarted.
- Session - Interface in org.eclipse.jetty.websocket.api
-
Session represents an active link of communications with a Remote WebSocket Endpoint.
- setAcceptedSubProtocol(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Set the accepted WebSocket Protocol.
- setAsyncWriteTimeout(long) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The timeout in ms (milliseconds) for async write operations.
- setBatchMode(BatchMode) - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Set the batch mode with which messages are sent.
- setCookies(List<HttpCookie>) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set the list of Cookies on the request
- setExtensions(List<ExtensionConfig>) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set the list of WebSocket Extension configurations on the request.
- setExtensions(List<ExtensionConfig>) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Set the list of extensions that are approved for use with this websocket.
- setHeader(String, List<String>) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set a specific header with multi-value field
- setHeader(String, String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set a specific header value
- setHeader(String, String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Set a header
- setHeaders(Map<String, List<String>>) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Sets multiple headers on the request.
- setHttpVersion(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set the HTTP Version to use.
- setIdleTimeout(long) - Method in interface org.eclipse.jetty.websocket.api.Session
-
Set the number of milliseconds before this conversation will be closed by the container if it is inactive, ie no messages are either sent or received.
- setIdleTimeout(long) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The time in ms (milliseconds) that a websocket may be idle before closing.
- setInputBufferSize(int) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The size of the input (read from network layer) buffer size.
- setMaxBinaryMessageBufferSize(int) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The maximum size of a binary message buffer.
- setMaxBinaryMessageSize(int) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The maximum size of a binary message during parsing/generating.
- setMaxTextMessageBufferSize(int) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The maximum size of a text message buffer.
- setMaxTextMessageSize(int) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
-
The maximum size of a text message during parsing/generating.
- setMethod(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set the HTTP method to use.
- setNextIncomingFrames(IncomingFrames) - Method in interface org.eclipse.jetty.websocket.api.extensions.Extension
-
- setNextOutgoingFrames(OutgoingFrames) - Method in interface org.eclipse.jetty.websocket.api.extensions.Extension
-
- setParameter(String) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
- setParameter(String, int) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
- setParameter(String, String) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
-
- setRequestURI(URI) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set the Request URI to use for this request.
- setSession(Object) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set the Session associated with this request.
- setStatusCode(int) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Set the HTTP Response status code
- setStatusReason(String) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Set the HTTP Response status reason phrase
- setSubProtocols(List<String>) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set the offered WebSocket Sub-Protocol list.
- setSubProtocols(String...) - Method in interface org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set the offered WebSocket Sub-Protocol list.
- setSuccess(boolean) - Method in interface org.eclipse.jetty.websocket.api.UpgradeResponse
-
Set the success of the upgrade response.
- SHUTDOWN - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
-
1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
- SPEC_VERSION - Static variable in class org.eclipse.jetty.websocket.api.WebSocketConstants
-
- splitAt(String, String) - Static method in class org.eclipse.jetty.websocket.api.util.QuoteUtil
-
Create an iterator of the input string, breaking apart the string at the provided delimiters, removing quotes and triming the parts of the string as
needed.
- StatusCode - Class in org.eclipse.jetty.websocket.api
-
- StatusCode() - Constructor for class org.eclipse.jetty.websocket.api.StatusCode
-
- suspend() - Method in interface org.eclipse.jetty.websocket.api.Session
-
Suspend a the incoming read events on the connection.
- SuspendToken - Interface in org.eclipse.jetty.websocket.api
-
Connection suspend token