A B C D E F G H I J M N O P Q R S T U V W 

A

ABNF_REQUIRED_QUOTING - Static variable in class org.eclipse.jetty.websocket.api.util.QuoteUtil
ABNF from RFC 2616, RFC 822, and RFC 6455 specified characters requiring quoting.
ABNORMAL - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
Abnormal Close is a synonym for StatusCode.NO_CLOSE, used to indicate a close condition where no close frame was processed from the remote side.
addExtensions(ExtensionConfig...) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
 
addExtensions(String...) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
 
addHeader(String, String) - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
 
assertValidBinaryMessageSize(int) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
 
assertValidTextMessageSize(int) - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
 

B

BAD_DATA - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
BAD_PAYLOAD - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message).
BadPayloadException - Exception in org.eclipse.jetty.websocket.api
Exception to terminate the connection because it has received data within a frame payload that was not consistent with the requirements of that frame payload.
BadPayloadException(String) - Constructor for exception org.eclipse.jetty.websocket.api.BadPayloadException
 
BadPayloadException(String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.BadPayloadException
 
BadPayloadException(Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.BadPayloadException
 
BatchMode - Enum in org.eclipse.jetty.websocket.api
The possible batch modes when invoking OutgoingFrames#outgoingFrame(Frame, WriteCallback, BatchMode).

C

clearHeaders() - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
 
clonePolicy() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
 
close() - Method in interface org.eclipse.jetty.websocket.api.Session
Request a close of the current conversation with a normal status code and no reason phrase.
close(CloseStatus) - Method in interface org.eclipse.jetty.websocket.api.Session
Request Close the current conversation, giving a reason for the closure.
close(int, String) - Method in interface org.eclipse.jetty.websocket.api.Session
Send a websocket Close frame, with status code.
CloseException - Exception in org.eclipse.jetty.websocket.api
 
CloseException(int, String) - Constructor for exception org.eclipse.jetty.websocket.api.CloseException
 
CloseException(int, String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.CloseException
 
CloseException(int, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.CloseException
 
CloseStatus - Class in org.eclipse.jetty.websocket.api
 
CloseStatus(int, String) - Constructor for class org.eclipse.jetty.websocket.api.CloseStatus
Creates a reason for closing a web socket connection with the given code and reason phrase.

D

dequote(String) - Static method in class org.eclipse.jetty.websocket.api.util.QuoteUtil
Remove quotes from a string, only if the input string start with and end with the same quote character.
disconnect() - Method in interface org.eclipse.jetty.websocket.api.Session
Issue a harsh disconnect of the underlying connection.

E

escape(StringBuilder, String) - Static method in class org.eclipse.jetty.websocket.api.util.QuoteUtil
 
Extension - Interface in org.eclipse.jetty.websocket.api.extensions
Interface for WebSocket Extensions.
ExtensionConfig - Class in org.eclipse.jetty.websocket.api.extensions
Represents an Extension Configuration, as seen during the connection Handshake process.
ExtensionConfig(ExtensionConfig) - Constructor for class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
Copy constructor
ExtensionConfig(String) - Constructor for class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
 
ExtensionFactory - Class in org.eclipse.jetty.websocket.api.extensions
 
ExtensionFactory() - Constructor for class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
 

F

FAILED_TLS_HANDSHAKE - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1015 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
flush() - Method in interface org.eclipse.jetty.websocket.api.RemoteEndpoint
Flushes messages that may have been batched by the implementation.
Frame - Interface in org.eclipse.jetty.websocket.api.extensions
An immutable websocket frame.
Frame.Type - Enum in org.eclipse.jetty.websocket.api.extensions
 
from(byte) - Static method in enum org.eclipse.jetty.websocket.api.extensions.Frame.Type
 

G

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
The original payload length (Buffer.remaining())
getPhrase() - Method in class org.eclipse.jetty.websocket.api.CloseStatus
 
getPolicy() - Method in interface org.eclipse.jetty.websocket.api.Session
Access the (now read-only) WebSocketPolicy in use for this connection.
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.

H

hasPayload() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
 
hasSubProtocol(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
 

I

incomingError(Throwable) - Method in interface org.eclipse.jetty.websocket.api.extensions.IncomingFrames
 
incomingFrame(Frame) - Method in interface org.eclipse.jetty.websocket.api.extensions.IncomingFrames
Process the incoming frame.
IncomingFrames - Interface in org.eclipse.jetty.websocket.api.extensions
Interface for dealing with Incoming Frames.
init(ExtensionConfig) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
Initialize the parameters on this config from the other configuration.
InvalidWebSocketException - Exception in org.eclipse.jetty.websocket.api
Indicating that the provided Class is not a valid WebSocket as defined by the API.
InvalidWebSocketException(String) - Constructor for exception org.eclipse.jetty.websocket.api.InvalidWebSocketException
 
InvalidWebSocketException(String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.InvalidWebSocketException
 
isAvailable(String) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
 
isConnected() - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
 
isContinuation() - Method in enum org.eclipse.jetty.websocket.api.extensions.Frame.Type
 
isControl() - Method in enum org.eclipse.jetty.websocket.api.extensions.Frame.Type
 
isData() - Method in enum org.eclipse.jetty.websocket.api.extensions.Frame.Type
 
isFin() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
 
isLast() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
isMasked() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
 
isNotConnected() - Method in class org.eclipse.jetty.websocket.api.WebSocketAdapter
 
isOpen() - Method in interface org.eclipse.jetty.websocket.api.Session
Return true if and only if the underlying socket is open.
isOrigin(String) - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
 
isRsv1() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
 
isRsv1User() - Method in interface org.eclipse.jetty.websocket.api.extensions.Extension
Used to indicate that the extension makes use of the RSV1 bit of the base websocket framing.
isRsv2() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
 
isRsv2User() - Method in interface org.eclipse.jetty.websocket.api.extensions.Extension
Used to indicate that the extension makes use of the RSV2 bit of the base websocket framing.
isRsv3() - Method in interface org.eclipse.jetty.websocket.api.extensions.Frame
 
isRsv3User() - Method in interface org.eclipse.jetty.websocket.api.extensions.Extension
Used to indicate that the extension makes use of the RSV3 bit of the base websocket framing.
isSecure() - Method in interface org.eclipse.jetty.websocket.api.Session
Return true if and only if the underlying socket is using a secure transport.
isSecure() - Method in class org.eclipse.jetty.websocket.api.UpgradeRequest
 
isSuccess() - Method in class org.eclipse.jetty.websocket.api.UpgradeResponse
 
iterator() - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
 

J

join(Object[], String) - Static method in class org.eclipse.jetty.websocket.api.util.QuoteUtil
 
join(Collection<?>, String) - Static method in class org.eclipse.jetty.websocket.api.util.QuoteUtil
 

M

max(BatchMode, BatchMode) - Static method in enum org.eclipse.jetty.websocket.api.BatchMode
 
MESSAGE_TOO_LARGE - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
MessageTooLargeException - Exception in org.eclipse.jetty.websocket.api
Exception when a message is too large for the internal buffers occurs and should trigger a connection close.
MessageTooLargeException(String) - Constructor for exception org.eclipse.jetty.websocket.api.MessageTooLargeException
 
MessageTooLargeException(String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.MessageTooLargeException
 
MessageTooLargeException(Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.MessageTooLargeException
 

N

newClientPolicy() - Static method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
 
newInstance(ExtensionConfig) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
 
newServerPolicy() - Static method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
 
NO_CLOSE - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
NO_CODE - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1005 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
NORMAL - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.

O

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.

P

parse(String) - Static method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
Parse a single parameterized name.
parseEnum(Enumeration<String>) - Static method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
Parse enumeration of Sec-WebSocket-Extensions header values into a ExtensionConfig list
parseList(String...) - Static method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
Parse 1 or more raw Sec-WebSocket-Extensions header values into a ExtensionConfig list
POLICY_VIOLATION - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
PolicyViolationException - Exception in org.eclipse.jetty.websocket.api
Exception when a violation of policy occurs and should trigger a connection close.
PolicyViolationException(String) - Constructor for exception org.eclipse.jetty.websocket.api.PolicyViolationException
 
PolicyViolationException(String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.PolicyViolationException
 
PolicyViolationException(Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.PolicyViolationException
 
PROTOCOL - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1002 indicates that an endpoint is terminating the connection due to a protocol error.
ProtocolException - Exception in org.eclipse.jetty.websocket.api
Per spec, a protocol error should result in a Close frame of status code 1002 (PROTOCOL_ERROR)
ProtocolException(String) - Constructor for exception org.eclipse.jetty.websocket.api.ProtocolException
 
ProtocolException(String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.ProtocolException
 
ProtocolException(Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.ProtocolException
 

Q

quote(StringBuilder, String) - Static method in class org.eclipse.jetty.websocket.api.util.QuoteUtil
Simple quote of a string, escaping where needed.
quoteIfNeeded(StringBuilder, String, String) - Static method in class org.eclipse.jetty.websocket.api.util.QuoteUtil
Append into buf the provided string, adding quotes if needed.
QuoteUtil - Class in org.eclipse.jetty.websocket.api.util
Provide some consistent Http header value and Extension configuration parameter quoting support.
QuoteUtil() - Constructor for class org.eclipse.jetty.websocket.api.util.QuoteUtil
 

R

register(String, Class<? extends Extension>) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
 
RemoteEndpoint - Interface in org.eclipse.jetty.websocket.api
 
REQUIRED_EXTENSION - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.
resume() - Method in interface org.eclipse.jetty.websocket.api.SuspendToken
Resume a previously suspended connection.

S

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
Set the next IncomingFrames to call in the chain.
setNextOutgoingFrames(OutgoingFrames) - Method in interface org.eclipse.jetty.websocket.api.extensions.Extension
Set the next OutgoingFrames to call in the chain.
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

T

toHeaderValue(List<ExtensionConfig>) - Static method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
Convert a list of ExtensionConfig to a header value
toHttp(URI) - Static method in class org.eclipse.jetty.websocket.api.util.WSURI
Convert to HTTP http or https scheme URIs.
toString() - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionConfig
 
toString() - Method in enum org.eclipse.jetty.websocket.api.extensions.Frame.Type
 
toString() - Method in class org.eclipse.jetty.websocket.api.WebSocketPolicy
 
toWebsocket(CharSequence) - Static method in class org.eclipse.jetty.websocket.api.util.WSURI
Convert to WebSocket ws or wss scheme URIs
toWebsocket(CharSequence, String) - Static method in class org.eclipse.jetty.websocket.api.util.WSURI
Convert to WebSocket ws or wss scheme URIs
toWebsocket(URI) - Static method in class org.eclipse.jetty.websocket.api.util.WSURI
Convert to WebSocket ws or wss scheme URIs
trimMaxReasonLength(String) - Static method in class org.eclipse.jetty.websocket.api.CloseStatus
Convenience method for trimming a long reason phrase at the maximum reason phrase length.
TRY_AGAIN_LATER - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
1013 indicates that the service is experiencing overload.

U

UNDEFINED - Static variable in class org.eclipse.jetty.websocket.api.StatusCode
Reserved.
unescape(String) - Static method in class org.eclipse.jetty.websocket.api.util.QuoteUtil
 
unregister(String) - Method in class org.eclipse.jetty.websocket.api.extensions.ExtensionFactory
 
UpgradeException - Exception in org.eclipse.jetty.websocket.api
Exception during WebSocket Upgrade Handshake.
UpgradeException(URI, int, String) - Constructor for exception org.eclipse.jetty.websocket.api.UpgradeException
 
UpgradeException(URI, int, String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.UpgradeException
 
UpgradeException(URI, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.UpgradeException
 
UpgradeRequest - Class in org.eclipse.jetty.websocket.api
 
UpgradeRequest() - Constructor for class org.eclipse.jetty.websocket.api.UpgradeRequest
 
UpgradeRequest(String) - Constructor for class org.eclipse.jetty.websocket.api.UpgradeRequest
 
UpgradeRequest(URI) - Constructor for class org.eclipse.jetty.websocket.api.UpgradeRequest
 
UpgradeResponse - Class in org.eclipse.jetty.websocket.api
 
UpgradeResponse() - Constructor for class org.eclipse.jetty.websocket.api.UpgradeResponse
 

V

valueOf(String) - Static method in enum org.eclipse.jetty.websocket.api.BatchMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.eclipse.jetty.websocket.api.extensions.Frame.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.eclipse.jetty.websocket.api.WebSocketBehavior
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.eclipse.jetty.websocket.api.BatchMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.eclipse.jetty.websocket.api.extensions.Frame.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.eclipse.jetty.websocket.api.WebSocketBehavior
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebSocket - Annotation Type in org.eclipse.jetty.websocket.api.annotations
Tags a POJO as being a WebSocket class.
WebSocketAdapter - Class in org.eclipse.jetty.websocket.api
Default implementation of the WebSocketListener.
WebSocketAdapter() - Constructor for class org.eclipse.jetty.websocket.api.WebSocketAdapter
 
WebSocketBehavior - Enum in org.eclipse.jetty.websocket.api
Behavior for how the WebSocket should operate.
WebSocketException - Exception in org.eclipse.jetty.websocket.api
A recoverable exception within the websocket framework.
WebSocketException() - Constructor for exception org.eclipse.jetty.websocket.api.WebSocketException
 
WebSocketException(String) - Constructor for exception org.eclipse.jetty.websocket.api.WebSocketException
 
WebSocketException(String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.WebSocketException
 
WebSocketException(Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.WebSocketException
 
WebSocketListener - Interface in org.eclipse.jetty.websocket.api
Basic WebSocket Listener interface for incoming WebSocket events.
WebSocketPolicy - Class in org.eclipse.jetty.websocket.api
Settings for WebSocket operations.
WebSocketPolicy(WebSocketBehavior) - Constructor for class org.eclipse.jetty.websocket.api.WebSocketPolicy
 
WebSocketTimeoutException - Exception in org.eclipse.jetty.websocket.api
Exception thrown to indicate a connection I/O timeout.
WebSocketTimeoutException(String) - Constructor for exception org.eclipse.jetty.websocket.api.WebSocketTimeoutException
 
WebSocketTimeoutException(String, Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.WebSocketTimeoutException
 
WebSocketTimeoutException(Throwable) - Constructor for exception org.eclipse.jetty.websocket.api.WebSocketTimeoutException
 
WriteCallback - Interface in org.eclipse.jetty.websocket.api
Callback for Write events.
writeFailed(Throwable) - Method in interface org.eclipse.jetty.websocket.api.WriteCallback
Callback invoked when the write fails.
writeSuccess() - Method in interface org.eclipse.jetty.websocket.api.WriteCallback
Callback invoked when the write completes.
WSURI - Class in org.eclipse.jetty.websocket.api.util
Utility methods for converting a URI between a HTTP(S) and WS(S) URI.
WSURI() - Constructor for class org.eclipse.jetty.websocket.api.util.WSURI
 
A B C D E F G H I J M N O P Q R S T U V W 

Copyright © 1995-2015 Webtide. All Rights Reserved.