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

A

ABNORMAL_CLOSE - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
add(WebSocketListener) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
add(WebSocketListener) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Adds a WebSocketListener to be notified of events of interest.
addCloseListener(Connection.CloseListener) - Method in class org.glassfish.tyrus.websockets.Connection
 
application - Variable in class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolder
 

B

Base64Utils - Class in org.glassfish.tyrus.websockets
 
Base64Utils() - Constructor for class org.glassfish.tyrus.websockets.Base64Utils
 
BaseFrameType - Class in org.glassfish.tyrus.websockets
 
BaseFrameType() - Constructor for class org.glassfish.tyrus.websockets.BaseFrameType
 
BinaryFrameType - Class in org.glassfish.tyrus.websockets.frametypes
 
BinaryFrameType() - Constructor for class org.glassfish.tyrus.websockets.frametypes.BinaryFrameType
 
buffer - Variable in class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolder
 

C

cancelled() - Method in class org.glassfish.tyrus.websockets.Connection.CompletionHandler
The operation was cancelled.
canEncode(char) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Encoder
 
checkForLastFrame(DataFrame, byte) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
close() - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
close(int) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
close(int, String) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
close(int, String) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
close() - Method in interface org.glassfish.tyrus.websockets.WebSocket
Closes this WebSocket.
close(int) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Closes this WebSocket using the specified status code.
close(int, String) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Closes this WebSocket using the specified status code and reason.
closeSilently() - Method in class org.glassfish.tyrus.websockets.Connection
 
ClosingFrame - Class in org.glassfish.tyrus.websockets.draft06
 
ClosingFrame() - Constructor for class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
ClosingFrame(int, String) - Constructor for class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
ClosingFrame(byte[]) - Constructor for class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
ClosingFrameType - Class in org.glassfish.tyrus.websockets.frametypes
 
ClosingFrameType() - Constructor for class org.glassfish.tyrus.websockets.frametypes.ClosingFrameType
 
completed(E) - Method in class org.glassfish.tyrus.websockets.Connection.CompletionHandler
The operation was completed.
composeRequest() - Method in class org.glassfish.tyrus.websockets.HandShake
Compose the WebSocketRequest and store it for further use.
Connection - Class in org.glassfish.tyrus.websockets
 
Connection() - Constructor for class org.glassfish.tyrus.websockets.Connection
 
connection - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
 
CONNECTION - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
Connection.CloseListener - Interface in org.glassfish.tyrus.websockets
 
Connection.CompletionHandler<E> - Class in org.glassfish.tyrus.websockets
Interface, which will be used by Grizzly to notify about asynchronous I/O operations status updates.
Connection.CompletionHandler() - Constructor for class org.glassfish.tyrus.websockets.Connection.CompletionHandler
 
contains(Charset) - Method in class org.glassfish.tyrus.websockets.StrictUtf8
 
ContinuationFrameType - Class in org.glassfish.tyrus.websockets.frametypes
 
ContinuationFrameType(boolean) - Constructor for class org.glassfish.tyrus.websockets.frametypes.ContinuationFrameType
 
create(boolean, byte[]) - Method in class org.glassfish.tyrus.websockets.BaseFrameType
 
create(boolean, byte[]) - Method in interface org.glassfish.tyrus.websockets.FrameType
 
create(boolean, byte[]) - Method in class org.glassfish.tyrus.websockets.frametypes.ClosingFrameType
 
create(boolean, ByteBuffer) - Static method in class org.glassfish.tyrus.websockets.ParseResult
Create a ParseResult object.
createHandler(boolean) - Method in enum org.glassfish.tyrus.websockets.Version
 
createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.draft06.Draft06Handler
 
createHandShake(URI) - Method in class org.glassfish.tyrus.websockets.draft06.Draft06Handler
 
createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.draft07.Draft07Handler
 
createHandShake(URI) - Method in class org.glassfish.tyrus.websockets.draft07.Draft07Handler
 
createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.draft08.Draft08Handler
 
createHandShake(URI) - Method in class org.glassfish.tyrus.websockets.draft08.Draft08Handler
 
createHandShake(URI) - Method in class org.glassfish.tyrus.websockets.draft17.Draft17Handler
 
createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.draft17.Draft17Handler
 
createHandShake(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
Server side.
createHandShake(URI) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
Client side.
createSocket(ProtocolHandler, WebSocketRequest, WebSocketListener...) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
Factory method to create new WebSocket instances.
currentDecoder - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
 

D

DataFrame - Class in org.glassfish.tyrus.websockets
In memory representation of a websocket frame.
DataFrame(FrameType) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
 
DataFrame(FrameType, String) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
 
DataFrame(FrameType, String, boolean) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
 
DataFrame(FrameType, byte[]) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
 
DataFrame(FrameType, byte[], boolean) - Constructor for class org.glassfish.tyrus.websockets.DataFrame
 
decode(char[]) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Decodes a BASE64 encoded char array.
decode(byte[]) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Decodes a BASE64 encoded byte array.
decode(String) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Decodes a BASE64 encoded String.
decodeFast(char[]) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Decodes a BASE64 encoded char array that is known to be reasonably well formatted.
decodeFast(byte[]) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Decodes a BASE64 encoded byte array that is known to be reasonably well formatted.
decodeFast(String) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Decodes a BASE64 encoded string that is known to be reasonably well formatted.
decodeLength(byte[]) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
Convert a byte[] to a long.
DEFAULT_VERSION - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
DefaultWebSocket - Class in org.glassfish.tyrus.websockets
 
DefaultWebSocket(ProtocolHandler, WebSocketRequest, WebSocketListener...) - Constructor for class org.glassfish.tyrus.websockets.DefaultWebSocket
 
doClose() - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
Draft06Handler - Class in org.glassfish.tyrus.websockets.draft06
 
Draft06Handler() - Constructor for class org.glassfish.tyrus.websockets.draft06.Draft06Handler
 
Draft06Handler(boolean) - Constructor for class org.glassfish.tyrus.websockets.draft06.Draft06Handler
 
Draft07Handler - Class in org.glassfish.tyrus.websockets.draft07
 
Draft07Handler(boolean) - Constructor for class org.glassfish.tyrus.websockets.draft07.Draft07Handler
 
Draft08Handler - Class in org.glassfish.tyrus.websockets.draft08
 
Draft08Handler(boolean) - Constructor for class org.glassfish.tyrus.websockets.draft08.Draft08Handler
 
Draft17Handler - Class in org.glassfish.tyrus.websockets.draft17
 
Draft17Handler(boolean) - Constructor for class org.glassfish.tyrus.websockets.draft17.Draft17Handler
 

E

EMPTY_BYTES - Static variable in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
encode(char[], int, int, byte[]) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Encoder
 
encode(Charset, String) - Static method in class org.glassfish.tyrus.websockets.Utf8Utils
 
encodeLength(long) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
Converts the length given to the appropriate framing data: 0-125 one element that is the payload length.
encodeLoop(CharBuffer, ByteBuffer) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Encoder
 
encodeToByte(byte[], boolean) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Encodes a raw byte array into a BASE64 byte[] representation i accordance with RFC 2045.
encodeToChar(byte[], boolean) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Encodes a raw byte array into a BASE64 char[] representation i accordance with RFC 2045.
encodeToString(byte[], boolean) - Static method in class org.glassfish.tyrus.websockets.Base64Utils
Encodes a raw byte array into a BASE64 String representation i accordance with RFC 2045.
END_POINT_GOING_DOWN - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
Indicates that an endpoint is "going away", such as a server going down, or a browser having navigated away from a page.
equals(Object) - Method in class org.glassfish.tyrus.websockets.Extension
 
equals(Object) - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
 
error() - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Parser
If the previous parse operation detected an error, return the object describing that error.
Extension - Class in org.glassfish.tyrus.websockets
Representation of a WebSocket extension and its associated parameters.
Extension(String) - Constructor for class org.glassfish.tyrus.websockets.Extension
Constructs a new Extension with the specified name.
Extension.Parameter - Class in org.glassfish.tyrus.websockets
Representation of extension parameters.
Extension.Parameter(String, String) - Constructor for class org.glassfish.tyrus.websockets.Extension.Parameter
Constructs a new parameter based on the provided values.

F

failed(Throwable) - Method in class org.glassfish.tyrus.websockets.Connection.CompletionHandler
The operation was failed.
frame(DataFrame) - Method in class org.glassfish.tyrus.websockets.draft06.Draft06Handler
 
frame(DataFrame) - Method in class org.glassfish.tyrus.websockets.draft07.Draft07Handler
 
frame(DataFrame) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
FrameType - Interface in org.glassfish.tyrus.websockets
 
FramingException - Exception in org.glassfish.tyrus.websockets
 
FramingException(String) - Constructor for exception org.glassfish.tyrus.websockets.FramingException
 
FramingException(String, Throwable) - Constructor for exception org.glassfish.tyrus.websockets.FramingException
 
FramingException(Throwable) - Constructor for exception org.glassfish.tyrus.websockets.FramingException
 
fromHeaders(List<String>) - Static method in class org.glassfish.tyrus.websockets.HandShake
Parse Extension from headers (represented as List of strings).
fromString(String) - Static method in class org.glassfish.tyrus.websockets.HandShake
Parsing of one Extension.

G

generateMask() - Method in class org.glassfish.tyrus.websockets.Masker
 
generateServerKey(SecKey) - Static method in class org.glassfish.tyrus.websockets.draft06.SecKey
Generate server-side security key, which gets passed to the client during the handshake phase as part of message payload.
generateServerKey(SecKey) - Static method in class org.glassfish.tyrus.websockets.SecKey
Generate server-side security key, which gets passed to the client during the handshake phase as part of message payload.
get() - Method in class org.glassfish.tyrus.websockets.Masker
 
get(int) - Method in class org.glassfish.tyrus.websockets.Masker
 
getByteBuffer(byte[]) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
getBytes(DataFrame) - Method in class org.glassfish.tyrus.websockets.BaseFrameType
 
getBytes() - Method in class org.glassfish.tyrus.websockets.DataFrame
 
getBytes() - Method in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
getBytes() - Method in class org.glassfish.tyrus.websockets.draft06.SecKey
 
getBytes(DataFrame) - Method in interface org.glassfish.tyrus.websockets.FrameType
 
getBytes(DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.ContinuationFrameType
 
getBytes(DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.TextFrameType
 
getBytes() - Method in class org.glassfish.tyrus.websockets.SecKey
 
getClosingCode() - Method in exception org.glassfish.tyrus.websockets.FramingException
 
getClosingCode() - Method in exception org.glassfish.tyrus.websockets.ProtocolError
 
getClosingCode() - Method in exception org.glassfish.tyrus.websockets.Utf8DecodingError
 
getCode() - Method in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
getCode() - Method in exception org.glassfish.tyrus.websockets.HandshakeException
Get the error code.
getConnection() - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
getConnection() - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
 
getEnabledProtocols() - Method in class org.glassfish.tyrus.websockets.draft06.HandShake06
 
getEngine() - Static method in class org.glassfish.tyrus.websockets.WebSocketEngine
 
getExtensions() - Method in class org.glassfish.tyrus.websockets.HandShake
 
getFirstHeaderValue(String) - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
Gets the first header value from the List of header values corresponding to the name.
getHeader(String) - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
Returns the header values corresponding to the name.
getHeaderFromList(List<T>) - Method in class org.glassfish.tyrus.websockets.HandShake
 
getHeaders() - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
 
getHeaders() - Method in class org.glassfish.tyrus.websockets.WebSocketResponse
 
getListeners() - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
getLocation() - Method in class org.glassfish.tyrus.websockets.HandShake
 
getMask() - Method in class org.glassfish.tyrus.websockets.Masker
 
getName() - Method in class org.glassfish.tyrus.websockets.Extension
 
getName() - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
 
getNonce() - Method in class org.glassfish.tyrus.websockets.SecKey
 
getOrigin() - Method in class org.glassfish.tyrus.websockets.HandShake
 
getParameters() - Method in class org.glassfish.tyrus.websockets.Extension
 
getQueryString() - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
 
getReason() - Method in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
getRemainder() - Method in class org.glassfish.tyrus.websockets.ParseResult
Get the parsing remainder ByteBuffer.
getRequest() - Method in class org.glassfish.tyrus.websockets.draft06.HandShake06
 
getRequest() - Method in class org.glassfish.tyrus.websockets.draft17.HandShake17
 
getRequest() - Method in class org.glassfish.tyrus.websockets.HandShake
getRequestPath() - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
 
getRequestURI() - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
 
getSecKey() - Method in class org.glassfish.tyrus.websockets.draft06.SecKey
Gets security key string representation, which includes chars and spaces.
getSecKey() - Method in class org.glassfish.tyrus.websockets.SecKey
Gets security key string representation, which includes chars and spaces.
getStatus() - Method in class org.glassfish.tyrus.websockets.WebSocketResponse
 
getSubProtocols() - Method in class org.glassfish.tyrus.websockets.HandShake
 
getSupportedExtensions() - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
Return the websocket extensions supported by this WebSocketApplication.
getSupportedProtocols(List<String>) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
 
getSupportedWireProtocolVersions() - Static method in enum org.glassfish.tyrus.websockets.Version
 
getTextPayload() - Method in class org.glassfish.tyrus.websockets.DataFrame
 
getType() - Method in class org.glassfish.tyrus.websockets.DataFrame
 
getUnderlyingConnection() - Method in class org.glassfish.tyrus.websockets.Connection
 
getUpgradeRequest() - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
Returns the upgrade request for this WebSocket.
getValue() - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
 
getVersion() - Method in class org.glassfish.tyrus.websockets.draft06.HandShake06
 
getVersion() - Method in class org.glassfish.tyrus.websockets.draft07.HandShake07
 
getVersion() - Method in class org.glassfish.tyrus.websockets.draft08.HandShake08
 
getVersion() - Method in class org.glassfish.tyrus.websockets.draft17.HandShake17
 
getWebSocket() - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
getWebSocket(Connection) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
Get the WebSocket associated with the Grizzly Connection, or null, if there none is associated.
getWebSocketHolder(Connection) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
 
getWebSockets() - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
Returns a set of WebSockets, registered with the application.

H

handler - Variable in class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolder
 
HandShake - Class in org.glassfish.tyrus.websockets
 
HandShake(URI) - Constructor for class org.glassfish.tyrus.websockets.HandShake
 
HandShake(WebSocketRequest) - Constructor for class org.glassfish.tyrus.websockets.HandShake
 
handshake(Connection, WebSocketApplication, WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
handshake(HandShake) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
This method will be called, when initial WebSocket handshake process has been completed, but allows the application to perform further negotiation/validation.
handshake - Variable in class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolder
 
HandShake.HandShakeResponseListener - Interface in org.glassfish.tyrus.websockets
Used to register with HandShake.
HandShake06 - Class in org.glassfish.tyrus.websockets.draft06
 
HandShake06(URI) - Constructor for class org.glassfish.tyrus.websockets.draft06.HandShake06
 
HandShake06(WebSocketRequest) - Constructor for class org.glassfish.tyrus.websockets.draft06.HandShake06
 
HandShake07 - Class in org.glassfish.tyrus.websockets.draft07
 
HandShake07(URI) - Constructor for class org.glassfish.tyrus.websockets.draft07.HandShake07
 
HandShake07(WebSocketRequest) - Constructor for class org.glassfish.tyrus.websockets.draft07.HandShake07
 
HandShake08 - Class in org.glassfish.tyrus.websockets.draft08
 
HandShake08(URI) - Constructor for class org.glassfish.tyrus.websockets.draft08.HandShake08
 
HandShake08(WebSocketRequest) - Constructor for class org.glassfish.tyrus.websockets.draft08.HandShake08
 
HandShake17 - Class in org.glassfish.tyrus.websockets.draft17
 
HandShake17(URI) - Constructor for class org.glassfish.tyrus.websockets.draft17.HandShake17
 
HandShake17(WebSocketRequest) - Constructor for class org.glassfish.tyrus.websockets.draft17.HandShake17
 
HandshakeException - Exception in org.glassfish.tyrus.websockets
Exception, which describes the error, occurred during the WebSocket handshake phase.
HandshakeException(String) - Constructor for exception org.glassfish.tyrus.websockets.HandshakeException
Construct a HandshakeException.
HandshakeException(int, String) - Constructor for exception org.glassfish.tyrus.websockets.HandshakeException
Construct a HandshakeException.
hashCode() - Method in class org.glassfish.tyrus.websockets.Extension
 
hashCode() - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
 
HOST - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 

I

inFragmentedType - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
 
initiate() - Method in class org.glassfish.tyrus.websockets.HandShake
 
INVALID_DATA - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g.
isApplicationRequest(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
Checks application specific criteria to determine if this application can process the request as a WebSocket connection.
isComplete() - Method in class org.glassfish.tyrus.websockets.ParseResult
Returns true, if parsing was completed, or false if more data is expected.
isConnected() - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
isConnected() - Method in interface org.glassfish.tyrus.websockets.WebSocket
Convenience method to determine if this WebSocket is connected.
isControlFrame(byte) - Method in class org.glassfish.tyrus.websockets.draft06.Draft06Handler
 
isControlFrame(byte) - Method in class org.glassfish.tyrus.websockets.draft07.Draft07Handler
 
isControlFrame(byte) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
isLast() - Method in class org.glassfish.tyrus.websockets.DataFrame
 
isLegalReplacement(byte[]) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Encoder
 
isMaskData() - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
isSecure() - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
 

J

join(List<String>) - Method in class org.glassfish.tyrus.websockets.HandShake
 
joinExtensions(List<Extension>) - Method in class org.glassfish.tyrus.websockets.HandShake
 

K

KEY_SIZE - Static variable in class org.glassfish.tyrus.websockets.draft06.SecKey
 
KEY_SIZE - Static variable in class org.glassfish.tyrus.websockets.SecKey
 

L

lowSurrogate(int) - Static method in class org.glassfish.tyrus.websockets.StrictUtf8
 

M

mask(byte[], int, byte) - Method in class org.glassfish.tyrus.websockets.Masker
 
mask(byte[], int, byte[]) - Method in class org.glassfish.tyrus.websockets.Masker
 
MASK_SIZE - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
maskAndPrepend(byte[]) - Method in class org.glassfish.tyrus.websockets.Masker
 
maskData - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
 
Masker - Class in org.glassfish.tyrus.websockets
 
Masker(ByteBuffer) - Constructor for class org.glassfish.tyrus.websockets.Masker
 
Masker() - Constructor for class org.glassfish.tyrus.websockets.Masker
 
MESSAGE_TOO_LARGE - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
indicates that an endpoint is terminating the connection because it has received a message that is too large.

N

newDecoder() - Method in class org.glassfish.tyrus.websockets.StrictUtf8
 
newEncoder() - Method in class org.glassfish.tyrus.websockets.StrictUtf8
 
NO_STATUS_CODE - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
NORMAL_CLOSURE - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
Indicates a normal closure, meaning whatever purpose the connection was established for has been fulfilled.

O

onClose(Connection) - Method in interface org.glassfish.tyrus.websockets.Connection.CloseListener
 
onClose(ClosingFrame) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
onClose(ClosingFrame) - Method in interface org.glassfish.tyrus.websockets.WebSocket
This callback will be invoked when the remote end-point sent a closing frame.
onClose(WebSocket, ClosingFrame) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
When a WebSocket.onClose(org.glassfish.tyrus.websockets.draft06.ClosingFrame) is invoked, the WebSocket will be unassociated with this application and closed.
onClose(WebSocket, ClosingFrame) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener

Invoked when WebSocket.onClose(org.glassfish.tyrus.websockets.draft06.ClosingFrame) has been called on a particular WebSocket instance.

onConnect() - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
onConnect() - Method in interface org.glassfish.tyrus.websockets.WebSocket
This callback will be invoked when the opening handshake between both endpoints has been completed.
onConnect(WebSocket) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
When a new WebSocket connection is made to this application, the WebSocket will be associated with this application.
onConnect(WebSocket) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
Invoked when the opening handshake has been completed for a specific WebSocket instance.
onError(WebSocket, Throwable) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
This method will be invoked if an unexpected exception is caught by the WebSocket runtime.
onExtensionNegotiation(List<Extension>) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
Invoked during the handshake if the client has advertised extensions it may use and one or more extensions intersect with those returned by WebSocketApplication.getSupportedExtensions().
onFragment(boolean, byte[]) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
onFragment(boolean, String) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
onFragment(boolean, String) - Method in interface org.glassfish.tyrus.websockets.WebSocket
This callback will be invoked when a fragmented textual message has been received.
onFragment(boolean, byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocket
This callback will be invoked when a fragmented binary message has been received.
onFragment(WebSocket, String, boolean) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
Invoked when WebSocket.onFragment(boolean, String) has been called on a particular WebSocket instance.
onFragment(WebSocket, byte[], boolean) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
Invoked when WebSocket.onFragment(boolean, byte[]) has been called on a particular WebSocket instance.
onHandShakeResponse(WebSocketRequest, WebSocketResponse) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
Invoked when server side handshake is ready to send response.
onMessage(byte[]) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
onMessage(String) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
onMessage(String) - Method in interface org.glassfish.tyrus.websockets.WebSocket
This callback will be invoked when a text message has been received.
onMessage(byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocket
This callback will be invoked when a binary message has been received.
onMessage(WebSocket, String) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
Invoked when WebSocket.onMessage(String) has been called on a particular WebSocket instance.
onMessage(WebSocket, byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
Invoked when WebSocket.onMessage(String) has been called on a particular WebSocket instance.
onPing(DataFrame) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
onPing(DataFrame) - Method in interface org.glassfish.tyrus.websockets.WebSocket
This callback will be invoked when the remote end-point has sent a ping frame.
onPing(WebSocket, byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
Invoked when WebSocket.onPing(DataFrame) has been called on a particular WebSocket instance.
onPong(DataFrame) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
onPong(DataFrame) - Method in interface org.glassfish.tyrus.websockets.WebSocket
This callback will be invoked when the remote end-point has sent a pong frame.
onPong(WebSocket, byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocketListener
Invoked when WebSocket.onPong(DataFrame) has been called on a particular WebSocket instance.
onResponseHeaders(Map<String, String>) - Method in interface org.glassfish.tyrus.websockets.HandShake.HandShakeResponseListener
Gets called when the handshake response is received in HandShake.
onWebSocketHolder(WebSocketEngine.WebSocketHolder) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolderListener
Called when request is ready to upgrade.
org.glassfish.tyrus.websockets - package org.glassfish.tyrus.websockets
 
org.glassfish.tyrus.websockets.draft06 - package org.glassfish.tyrus.websockets.draft06
 
org.glassfish.tyrus.websockets.draft07 - package org.glassfish.tyrus.websockets.draft07
 
org.glassfish.tyrus.websockets.draft08 - package org.glassfish.tyrus.websockets.draft08
 
org.glassfish.tyrus.websockets.draft17 - package org.glassfish.tyrus.websockets.draft17
 
org.glassfish.tyrus.websockets.frametypes - package org.glassfish.tyrus.websockets.frametypes
 
ORIGIN_HEADER - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
outFragmentedType - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
 

P

parse(ByteBuffer) - Method in class org.glassfish.tyrus.websockets.draft06.Draft06Handler
 
parse(ByteBuffer) - Method in class org.glassfish.tyrus.websockets.draft07.Draft07Handler
 
parse(ByteBuffer) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
parse(char, CharBuffer) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Parser
Parses a UCS-4 character from the given source buffer, handling surrogates.
parse(char, char[], int, int) - Method in class org.glassfish.tyrus.websockets.StrictUtf8.Parser
Parses a UCS-4 character from the given source buffer, handling surrogates.
ParseResult - Class in org.glassfish.tyrus.websockets
DataFrame parse result.
PingFrameType - Class in org.glassfish.tyrus.websockets.frametypes
 
PingFrameType() - Constructor for class org.glassfish.tyrus.websockets.frametypes.PingFrameType
 
PongFrameType - Class in org.glassfish.tyrus.websockets.frametypes
 
PongFrameType() - Constructor for class org.glassfish.tyrus.websockets.frametypes.PongFrameType
 
processingFragment - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
 
PROTOCOL_ERROR - Static variable in interface org.glassfish.tyrus.websockets.WebSocket
Indicates that an endpoint is terminating the connection due to a protocol error.
ProtocolError - Exception in org.glassfish.tyrus.websockets
TODO
ProtocolError(String) - Constructor for exception org.glassfish.tyrus.websockets.ProtocolError
 
ProtocolError(String, Throwable) - Constructor for exception org.glassfish.tyrus.websockets.ProtocolError
 
ProtocolError(Throwable) - Constructor for exception org.glassfish.tyrus.websockets.ProtocolError
 
ProtocolHandler - Class in org.glassfish.tyrus.websockets
 
ProtocolHandler(boolean) - Constructor for class org.glassfish.tyrus.websockets.ProtocolHandler
 

R

readMask() - Method in class org.glassfish.tyrus.websockets.Masker
 
register(WebSocketApplication) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
Registers the specified WebSocketApplication with the WebSocketEngine.
remainder - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
 
remove(WebSocketListener) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
remove(WebSocketListener) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Removes the specified WebSocketListener as a target of event notification.
respond(WebSocket) - Method in class org.glassfish.tyrus.websockets.DataFrame
 
respond(WebSocket, DataFrame) - Method in interface org.glassfish.tyrus.websockets.FrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.BinaryFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.ClosingFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.ContinuationFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.PingFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.PongFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.tyrus.websockets.frametypes.TextFrameType
 
RESPONSE_CODE_MESSAGE - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
RESPONSE_CODE_VALUE - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 

S

SEC_WS_ACCEPT - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
SEC_WS_EXTENSIONS_HEADER - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
SEC_WS_KEY_HEADER - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
SEC_WS_ORIGIN_HEADER - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
SEC_WS_PROTOCOL_HEADER - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
SEC_WS_VERSION - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
SecKey - Class in org.glassfish.tyrus.websockets.draft06
Class represents WebSocket's security key, used during the handshake phase.
SecKey() - Constructor for class org.glassfish.tyrus.websockets.draft06.SecKey
 
SecKey(String) - Constructor for class org.glassfish.tyrus.websockets.draft06.SecKey
 
SecKey - Class in org.glassfish.tyrus.websockets
Class represents WebSocket's security key, used during the handshake phase.
SecKey() - Constructor for class org.glassfish.tyrus.websockets.SecKey
 
send(byte[]) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
send(String) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
send(DataFrame) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
send(DataFrame, Connection.CompletionHandler<DataFrame>) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
send(byte[]) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
send(String) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
send(String) - Method in interface org.glassfish.tyrus.websockets.WebSocket

Send a text frame to the remote end-point.

send(byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Send a binary frame to the remote end-point.
sendPing(byte[]) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
sendPing(byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Sends a ping frame with the specified payload (if any).
sendPong(byte[]) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
sendPong(byte[]) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Sends a ping frame with the specified payload (if any).
SERVER_KEY_HASH - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
setBuffer(ByteBuffer) - Method in class org.glassfish.tyrus.websockets.Masker
 
setClosed() - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
setConnection(Connection) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
setExtensions(List<Extension>) - Method in class org.glassfish.tyrus.websockets.HandShake
 
setHeaders(WebSocketResponse) - Method in class org.glassfish.tyrus.websockets.draft06.HandShake06
 
setHeaders(WebSocketResponse) - Method in class org.glassfish.tyrus.websockets.HandShake
 
setLast(boolean) - Method in class org.glassfish.tyrus.websockets.DataFrame
 
setLocation(String) - Method in class org.glassfish.tyrus.websockets.HandShake
 
setOrigin(String) - Method in class org.glassfish.tyrus.websockets.HandShake
 
setPayload(DataFrame, byte[]) - Method in class org.glassfish.tyrus.websockets.BaseFrameType
 
setPayload(String) - Method in class org.glassfish.tyrus.websockets.DataFrame
 
setPayload(byte[]) - Method in class org.glassfish.tyrus.websockets.DataFrame
 
setPayload(byte[]) - Method in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
setPayload(DataFrame, byte[]) - Method in interface org.glassfish.tyrus.websockets.FrameType
 
setPayload(DataFrame, byte[]) - Method in class org.glassfish.tyrus.websockets.frametypes.ContinuationFrameType
 
setPayload(DataFrame, byte[]) - Method in class org.glassfish.tyrus.websockets.frametypes.TextFrameType
 
setReasonPhrase(String) - Method in class org.glassfish.tyrus.websockets.WebSocketResponse
 
setRequestPath(String) - Method in class org.glassfish.tyrus.websockets.WebSocketRequest
 
setResourcePath(String) - Method in class org.glassfish.tyrus.websockets.HandShake
 
setResponseListener(HandShake.HandShakeResponseListener) - Method in class org.glassfish.tyrus.websockets.HandShake
Set response listener.
setSecure(boolean) - Method in class org.glassfish.tyrus.websockets.HandShake
 
setStatus(int) - Method in class org.glassfish.tyrus.websockets.WebSocketResponse
 
setSubProtocols(List<String>) - Method in class org.glassfish.tyrus.websockets.HandShake
 
setValue(String) - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
Set the value of this parameter.
setWebSocket(WebSocket) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
setWebSocketHolder(Connection, ProtocolHandler, WebSocket) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
 
split(String) - Method in class org.glassfish.tyrus.websockets.HandShake
 
stream(boolean, String) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
stream(boolean, byte[], int, int) - Method in class org.glassfish.tyrus.websockets.DefaultWebSocket
 
stream(boolean, byte[], int, int) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
stream(boolean, String) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
stream(boolean, String) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Sends a fragment of a complete message.
stream(boolean, byte[], int, int) - Method in interface org.glassfish.tyrus.websockets.WebSocket
Sends a fragment of a complete message.
StrictUtf8 - Class in org.glassfish.tyrus.websockets
 
StrictUtf8() - Constructor for class org.glassfish.tyrus.websockets.StrictUtf8
 
StrictUtf8.Encoder - Class in org.glassfish.tyrus.websockets
 
StrictUtf8.Parser - Class in org.glassfish.tyrus.websockets
Surrogate parsing support.
StrictUtf8.Parser() - Constructor for class org.glassfish.tyrus.websockets.StrictUtf8.Parser
 

T

TextFrameType - Class in org.glassfish.tyrus.websockets.frametypes
 
TextFrameType() - Constructor for class org.glassfish.tyrus.websockets.frametypes.TextFrameType
 
toArray(long) - Static method in class org.glassfish.tyrus.websockets.WebSocketEngine
 
toLong(byte[], int, int) - Static method in class org.glassfish.tyrus.websockets.WebSocketEngine
 
toString() - Method in class org.glassfish.tyrus.websockets.DataFrame
 
toString() - Method in class org.glassfish.tyrus.websockets.draft06.ClosingFrame
 
toString() - Method in class org.glassfish.tyrus.websockets.draft06.SecKey
 
toString() - Method in class org.glassfish.tyrus.websockets.Extension.Parameter
 
toString() - Method in class org.glassfish.tyrus.websockets.Extension
 
toString() - Method in class org.glassfish.tyrus.websockets.SecKey
 
toString() - Method in enum org.glassfish.tyrus.websockets.Version
 
toString(byte[]) - Static method in class org.glassfish.tyrus.websockets.WebSocketEngine
 

U

unframe(ByteBuffer) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
unmask() - Method in class org.glassfish.tyrus.websockets.Masker
 
unmask(int) - Method in class org.glassfish.tyrus.websockets.Masker
 
unregister(WebSocketApplication) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
Un-registers the specified WebSocketApplication with the WebSocketEngine.
unregisterAll() - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
Un-registers all WebSocketApplication instances with the WebSocketEngine.
updated(E) - Method in class org.glassfish.tyrus.websockets.Connection.CompletionHandler
The callback method may be called, when there is some progress in operation execution, but it is still not completed
upgrade(WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.WebSocketApplication
Checks protocol specific information can and should be upgraded.
UPGRADE - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
upgrade(Connection, WebSocketRequest) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
Evaluate whether connection/request is suitable for upgrade and perform it.
upgrade(Connection, WebSocketRequest, WebSocketEngine.WebSocketHolderListener) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
Evaluate whether connection/request is suitable for upgrade and perform it.
utf8 - Variable in class org.glassfish.tyrus.websockets.ProtocolHandler
 
utf8Decode(boolean, byte[], DataFrame) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
Utf8DecodingError - Exception in org.glassfish.tyrus.websockets
TODO
Utf8DecodingError(String) - Constructor for exception org.glassfish.tyrus.websockets.Utf8DecodingError
TODO
Utf8DecodingError(String, Throwable) - Constructor for exception org.glassfish.tyrus.websockets.Utf8DecodingError
TODO
Utf8DecodingError(Throwable) - Constructor for exception org.glassfish.tyrus.websockets.Utf8DecodingError
TODO
Utf8Utils - Class in org.glassfish.tyrus.websockets
 
Utf8Utils() - Constructor for class org.glassfish.tyrus.websockets.Utf8Utils
 

V

validate(byte, byte) - Method in class org.glassfish.tyrus.websockets.ProtocolHandler
 
validate(Map<String, String>) - Method in enum org.glassfish.tyrus.websockets.Version
 
validateServerKey(String) - Method in class org.glassfish.tyrus.websockets.draft06.SecKey
 
validateServerKey(String) - Method in class org.glassfish.tyrus.websockets.SecKey
 
validateServerResponse(WebSocketResponse) - Method in class org.glassfish.tyrus.websockets.draft06.HandShake06
 
validateServerResponse(WebSocketResponse) - Method in class org.glassfish.tyrus.websockets.HandShake
 
valueOf(String) - Static method in enum org.glassfish.tyrus.websockets.Version
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.tyrus.websockets.Version
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Enum in org.glassfish.tyrus.websockets
TODO

W

WebSocket - Interface in org.glassfish.tyrus.websockets
General WebSocket unit interface.
WEBSOCKET - Static variable in class org.glassfish.tyrus.websockets.WebSocketEngine
 
webSocket - Variable in class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolder
 
WebSocketApplication - Class in org.glassfish.tyrus.websockets
Abstract server-side WebSocket application, which will handle application WebSockets events.
WebSocketApplication() - Constructor for class org.glassfish.tyrus.websockets.WebSocketApplication
 
WebSocketEngine - Class in org.glassfish.tyrus.websockets
WebSockets engine implementation (singleton), which handles WebSocketApplications registration, responsible for client and server handshake validation.
WebSocketEngine.WebSocketHolder - Class in org.glassfish.tyrus.websockets
WebSocketHolder object, which gets associated with the Grizzly Connection.
WebSocketEngine.WebSocketHolderListener - Class in org.glassfish.tyrus.websockets
WebSocketEngine.WebSocketHolderListener() - Constructor for class org.glassfish.tyrus.websockets.WebSocketEngine.WebSocketHolderListener
 
webSocketInProgress(Connection) - Method in class org.glassfish.tyrus.websockets.WebSocketEngine
Returns true if passed Grizzly Connection is associated with a WebSocket, or false otherwise.
WebSocketListener - Interface in org.glassfish.tyrus.websockets
Interface to allow notification of events occurring on specific WebSocket instances.
WebSocketRequest - Class in org.glassfish.tyrus.websockets
TODO: Abstract class/builder?
WebSocketRequest() - Constructor for class org.glassfish.tyrus.websockets.WebSocketRequest
 
WebSocketResponse - Class in org.glassfish.tyrus.websockets
TODO
WebSocketResponse() - Constructor for class org.glassfish.tyrus.websockets.WebSocketResponse
 
wireProtocolVersion - Variable in enum org.glassfish.tyrus.websockets.Version
 
write(DataFrame, Connection.CompletionHandler<DataFrame>) - Method in class org.glassfish.tyrus.websockets.Connection
 
write(WebSocketResponse) - Method in class org.glassfish.tyrus.websockets.Connection
 
A B C D E F G H I J K L M N O P R S T U V W 

Copyright © 2012-2013. All Rights Reserved.