- getAcceptedSubProtocol() - Method in class 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 class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- 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 class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- getExtensions() - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
Get the list of extensions that should be used for the websocket.
- getHeader(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- getHeader(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- getHeaderInt(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- getHeaderNames() - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- getHeaders() - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- getHeaders(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- getHeaders() - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- getHeaders(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- getHost() - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- getHttpVersion() - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- 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.
- 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 class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- 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 class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- 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 class 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 class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- getQueryString() - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- 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 class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- getResponseStatusCode() - Method in exception org.eclipse.jetty.websocket.api.UpgradeException
-
- getSession() - Method in class 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 class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- getStatusReason() - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- getSubProtocols() - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- 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 class 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.WebSocketListener
-
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.WebSocketListener
-
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.WebSocketListener
-
A WebSocket exception has occurred.
- OnWebSocketFrame - Annotation Type in org.eclipse.jetty.websocket.api.annotations
-
(ADVANCED) Annotation for tagging methods to receive frame events.
- OnWebSocketMessage - Annotation Type in org.eclipse.jetty.websocket.api.annotations
-
Annotation for tagging methods to receive Binary or Text Message events.
- 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_PROTOCOL - Static variable in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- 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 class 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 class 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.
- setCookies(List<HttpCookie>) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setExtensions(List<ExtensionConfig>) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setExtensions(List<ExtensionConfig>) - Method in class 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 class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setHeader(String, String) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setHeader(String, String) - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- setHeaders(Map<String, List<String>>) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setHttpVersion(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- 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 class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- 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
-
- setParameterMap(Map<String, List<String>>) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setRequestURI(URI) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setSession(Object) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setStatusCode(int) - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- setStatusReason(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- setSubProtocols(List<String>) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
- setSubProtocols(String...) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
-
Set Sub Protocol request list.
- setSuccess(boolean) - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
-
- 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.
- 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