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.grizzly.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.grizzly.websockets.DefaultWebSocket
 
add(WebSocketListener) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Adds a WebSocketListener to be notified of events of interest.
add(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Associates the specified WebSocket with this application.
application - Variable in class org.glassfish.grizzly.websockets.WebSocketEngine.WebSocketHolder
 

B

BaseFrameType - Class in org.glassfish.grizzly.websockets
 
BaseFrameType() - Constructor for class org.glassfish.grizzly.websockets.BaseFrameType
 
BinaryFrameType - Class in org.glassfish.grizzly.websockets.frametypes
 
BinaryFrameType() - Constructor for class org.glassfish.grizzly.websockets.frametypes.BinaryFrameType
 
buffer - Variable in class org.glassfish.grizzly.websockets.WebSocketEngine.WebSocketHolder
 
buildLocation() - Method in class org.glassfish.grizzly.websockets.HandShake
 

C

cancelled() - Method in class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
canEncode(char) - Method in class org.glassfish.grizzly.websockets.StrictUtf8.Encoder
 
checkForLastFrame(DataFrame, byte) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
CLIENT_WS_ORIGIN_HEADER - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
close() - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
close(int) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
close(int, String) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
close(int, String) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
close() - Method in interface org.glassfish.grizzly.websockets.WebSocket
Closes this WebSocket.
close(int) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Closes this WebSocket using the specified status code.
close(int, String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Closes this WebSocket using the specified status code and reason.
ClosingFrame - Class in org.glassfish.grizzly.websockets.draft06
 
ClosingFrame() - Constructor for class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
ClosingFrame(int, String) - Constructor for class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
ClosingFrame(byte[]) - Constructor for class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
ClosingFrameType - Class in org.glassfish.grizzly.websockets.frametypes
 
ClosingFrameType() - Constructor for class org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
 
completed(DataFrame) - Method in class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
composeHeaders() - Method in class org.glassfish.grizzly.websockets.draft06.HandShake06
 
composeHeaders() - Method in class org.glassfish.grizzly.websockets.draft17.HandShake17
 
composeHeaders() - Method in class org.glassfish.grizzly.websockets.HandShake
 
connection - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
CONNECTION - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
contains(Charset) - Method in class org.glassfish.grizzly.websockets.StrictUtf8
 
ContinuationFrameType - Class in org.glassfish.grizzly.websockets.frametypes
 
ContinuationFrameType(boolean) - Constructor for class org.glassfish.grizzly.websockets.frametypes.ContinuationFrameType
 
create(boolean, byte[]) - Method in class org.glassfish.grizzly.websockets.BaseFrameType
 
create(boolean, byte[]) - Method in interface org.glassfish.grizzly.websockets.FrameType
 
create(boolean, byte[]) - Method in class org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
 
create(boolean, Buffer) - Static method in class org.glassfish.grizzly.websockets.ParseResult
Create a ParseResult object.
createHandler(boolean) - Method in enum org.glassfish.grizzly.websockets.Version
 
createHandShake(HttpContent) - Method in class org.glassfish.grizzly.websockets.draft06.Draft06Handler
 
createHandShake(URI) - Method in class org.glassfish.grizzly.websockets.draft06.Draft06Handler
 
createHandShake(HttpContent) - Method in class org.glassfish.grizzly.websockets.draft07.Draft07Handler
 
createHandShake(URI) - Method in class org.glassfish.grizzly.websockets.draft07.Draft07Handler
 
createHandShake(HttpContent) - Method in class org.glassfish.grizzly.websockets.draft08.Draft08Handler
 
createHandShake(URI) - Method in class org.glassfish.grizzly.websockets.draft08.Draft08Handler
 
createHandShake(URI) - Method in class org.glassfish.grizzly.websockets.draft17.Draft17Handler
 
createHandShake(HttpContent) - Method in class org.glassfish.grizzly.websockets.draft17.Draft17Handler
 
createHandShake(HttpContent) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
createHandShake(URI) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
createSocket(ProtocolHandler, WebSocketListener...) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Deprecated. Use WebSocketApplication.createSocket(ProtocolHandler, org.glassfish.grizzly.http.HttpRequestPacket, WebSocketListener...)
createSocket(ProtocolHandler, HttpRequestPacket, WebSocketListener...) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Factory method to create new WebSocket instances.
currentDecoder - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 

D

DataFrame - Class in org.glassfish.grizzly.websockets
In memory representation of a websocket frame.
DataFrame(FrameType) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DataFrame(FrameType, String) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DataFrame(FrameType, String, boolean) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DataFrame(FrameType, byte[]) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DataFrame(FrameType, byte[], boolean) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
decodeLength(byte[]) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
Convert a byte[] to a long.
DEFAULT_TIMEOUT - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
DEFAULT_VERSION - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
DefaultWebSocket - Class in org.glassfish.grizzly.websockets
 
DefaultWebSocket(ProtocolHandler, WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.DefaultWebSocket
 
DefaultWebSocket(ProtocolHandler, HttpRequestPacket, WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.DefaultWebSocket
 
doClose() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
Draft06Handler - Class in org.glassfish.grizzly.websockets.draft06
 
Draft06Handler() - Constructor for class org.glassfish.grizzly.websockets.draft06.Draft06Handler
 
Draft06Handler(boolean) - Constructor for class org.glassfish.grizzly.websockets.draft06.Draft06Handler
 
Draft07Handler - Class in org.glassfish.grizzly.websockets.draft07
 
Draft07Handler(boolean) - Constructor for class org.glassfish.grizzly.websockets.draft07.Draft07Handler
 
Draft08Handler - Class in org.glassfish.grizzly.websockets.draft08
 
Draft08Handler(boolean) - Constructor for class org.glassfish.grizzly.websockets.draft08.Draft08Handler
 
Draft17Handler - Class in org.glassfish.grizzly.websockets.draft17
 
Draft17Handler(boolean) - Constructor for class org.glassfish.grizzly.websockets.draft17.Draft17Handler
 

E

EMPTY_BYTES - Static variable in class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
encode(char[], int, int, byte[]) - Method in class org.glassfish.grizzly.websockets.StrictUtf8.Encoder
 
encode(Charset, String) - Static method in class org.glassfish.grizzly.websockets.Utf8Utils
 
encodeLength(long) - Method in class org.glassfish.grizzly.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.grizzly.websockets.StrictUtf8.Encoder
 
END_POINT_GOING_DOWN - Static variable in interface org.glassfish.grizzly.websockets.WebSocket
Indicates that an endpoint is "going away", such as a server going down, or a browser having navigated away from a page.
error() - Method in class org.glassfish.grizzly.websockets.StrictUtf8.Parser
If the previous parse operation detected an error, return the object describing that error.

F

failed(Throwable) - Method in class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
frame(DataFrame) - Method in class org.glassfish.grizzly.websockets.draft06.Draft06Handler
 
frame(DataFrame) - Method in class org.glassfish.grizzly.websockets.draft07.Draft07Handler
 
frame(DataFrame) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
FrameCompletionHandler - Class in org.glassfish.grizzly.websockets
 
FrameCompletionHandler() - Constructor for class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
FrameType - Interface in org.glassfish.grizzly.websockets
 
FramingException - Exception in org.glassfish.grizzly.websockets
 
FramingException(String) - Constructor for exception org.glassfish.grizzly.websockets.FramingException
 
FramingException(String, Throwable) - Constructor for exception org.glassfish.grizzly.websockets.FramingException
 
FramingException(Throwable) - Constructor for exception org.glassfish.grizzly.websockets.FramingException
 

G

generateMask() - Method in class org.glassfish.grizzly.websockets.Masker
 
generateServerKey(SecKey) - Static method in class org.glassfish.grizzly.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.grizzly.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.grizzly.websockets.Masker
 
get(int) - Method in class org.glassfish.grizzly.websockets.Masker
 
getApplication(HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
getByteBuffer(byte[]) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
getBytes(DataFrame) - Method in class org.glassfish.grizzly.websockets.BaseFrameType
 
getBytes() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
getBytes() - Method in class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
getBytes() - Method in class org.glassfish.grizzly.websockets.draft06.SecKey
 
getBytes(DataFrame) - Method in interface org.glassfish.grizzly.websockets.FrameType
 
getBytes(DataFrame) - Method in class org.glassfish.grizzly.websockets.frametypes.ContinuationFrameType
 
getBytes(DataFrame) - Method in class org.glassfish.grizzly.websockets.frametypes.TextFrameType
 
getBytes() - Method in class org.glassfish.grizzly.websockets.SecKey
 
getClosingCode() - Method in exception org.glassfish.grizzly.websockets.FramingException
 
getClosingCode() - Method in exception org.glassfish.grizzly.websockets.ProtocolError
 
getClosingCode() - Method in exception org.glassfish.grizzly.websockets.Utf8DecodingError
 
getCode() - Method in class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
getCode() - Method in exception org.glassfish.grizzly.websockets.HandshakeException
Get the error code.
getConnection() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
getEnabledExtensions() - Method in class org.glassfish.grizzly.websockets.draft06.HandShake06
 
getEnabledProtocols() - Method in class org.glassfish.grizzly.websockets.draft06.HandShake06
 
getEngine() - Static method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
getExtensions() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getListeners() - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
getLocation() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getMask() - Method in class org.glassfish.grizzly.websockets.Masker
 
getNonce() - Method in class org.glassfish.grizzly.websockets.SecKey
 
getOrigin() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getPort() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getReason() - Method in class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
getRemainder() - Method in class org.glassfish.grizzly.websockets.ParseResult
Get the parsing remainder Buffer.
getResourcePath() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getResult() - Method in class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
getSecKey() - Method in class org.glassfish.grizzly.websockets.draft06.SecKey
Gets security key string representation, which includes chars and spaces.
getSecKey() - Method in class org.glassfish.grizzly.websockets.SecKey
Gets security key string representation, which includes chars and spaces.
getServerHostName() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getSubProtocol() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getSupportedExtensions() - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Return the websocket extensions supported by this WebSocketApplication.
getSupportedProtocols(List<String>) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 
getSupportedWireProtocolVersions() - Static method in enum org.glassfish.grizzly.websockets.Version
 
getTextPayload() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
getType() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
getUpgradeRequest() - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
Returns the upgrade request for this WebSocket.
getVersion() - Method in class org.glassfish.grizzly.websockets.draft06.HandShake06
 
getVersion() - Method in class org.glassfish.grizzly.websockets.draft07.HandShake07
 
getVersion() - Method in class org.glassfish.grizzly.websockets.draft08.HandShake08
 
getVersion() - Method in class org.glassfish.grizzly.websockets.draft17.HandShake17
 
getWebSocket() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
getWebSocket(Connection) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
Get the WebSocket associated with the Grizzly Connection, or null, if there none is associated.
getWebSocketHolder(Connection) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
getWebSockets() - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Returns a set of WebSockets, registered with the application.

H

handleClose(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.WebSocketFilter
Method handles Grizzly Connection close phase.
handleConnect(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.WebSocketFilter
Method handles Grizzly Connection connect phase.
handler - Variable in class org.glassfish.grizzly.websockets.WebSocketEngine.WebSocketHolder
 
handleRead(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.WebSocketFilter
Handle Grizzly Connection read phase.
handleWrite(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.WebSocketFilter
Handle Grizzly Connection write phase.
HandShake - Class in org.glassfish.grizzly.websockets
 
HandShake() - Constructor for class org.glassfish.grizzly.websockets.HandShake
 
HandShake(URI) - Constructor for class org.glassfish.grizzly.websockets.HandShake
 
HandShake(HttpRequestPacket) - Constructor for class org.glassfish.grizzly.websockets.HandShake
 
handshake(FilterChainContext, WebSocketApplication, HttpContent) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
handshake(HandShake) - Method in class org.glassfish.grizzly.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.grizzly.websockets.WebSocketEngine.WebSocketHolder
 
HandShake06 - Class in org.glassfish.grizzly.websockets.draft06
 
HandShake06(URI) - Constructor for class org.glassfish.grizzly.websockets.draft06.HandShake06
 
HandShake06(HttpRequestPacket) - Constructor for class org.glassfish.grizzly.websockets.draft06.HandShake06
 
HandShake07 - Class in org.glassfish.grizzly.websockets.draft07
 
HandShake07(URI) - Constructor for class org.glassfish.grizzly.websockets.draft07.HandShake07
 
HandShake07(HttpRequestPacket) - Constructor for class org.glassfish.grizzly.websockets.draft07.HandShake07
 
HandShake08 - Class in org.glassfish.grizzly.websockets.draft08
 
HandShake08(URI) - Constructor for class org.glassfish.grizzly.websockets.draft08.HandShake08
 
HandShake08(HttpRequestPacket) - Constructor for class org.glassfish.grizzly.websockets.draft08.HandShake08
 
HandShake17 - Class in org.glassfish.grizzly.websockets.draft17
 
HandShake17(URI) - Constructor for class org.glassfish.grizzly.websockets.draft17.HandShake17
 
HandShake17(HttpRequestPacket) - Constructor for class org.glassfish.grizzly.websockets.draft17.HandShake17
 
HandshakeException - Exception in org.glassfish.grizzly.websockets
Exception, which describes the error, occurred during the WebSocket handshake phase.
HandshakeException(String) - Constructor for exception org.glassfish.grizzly.websockets.HandshakeException
Construct a HandshakeException.
HandshakeException(int, String) - Constructor for exception org.glassfish.grizzly.websockets.HandshakeException
Construct a HandshakeException.

I

inFragmentedType - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
INITIAL_BUFFER_SIZE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
initiate(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.HandShake
 
INVALID_DATA - Static variable in interface org.glassfish.grizzly.websockets.WebSocket
Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g.
isApplicationRequest(HttpRequestPacket) - Method in class org.glassfish.grizzly.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.grizzly.websockets.ParseResult
Returns true, if parsing was completed, or false if more data is expected.
isConnected() - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
isConnected() - Method in interface org.glassfish.grizzly.websockets.WebSocket
Convenience method to determine if this WebSocket is connected.
isControlFrame(byte) - Method in class org.glassfish.grizzly.websockets.draft06.Draft06Handler
 
isControlFrame(byte) - Method in class org.glassfish.grizzly.websockets.draft07.Draft07Handler
 
isControlFrame(byte) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
isFragmentationSupported() - Method in enum org.glassfish.grizzly.websockets.Version
 
isLast() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
isLegalReplacement(byte[]) - Method in class org.glassfish.grizzly.websockets.StrictUtf8.Encoder
 
isMaskData() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
isSecure() - Method in class org.glassfish.grizzly.websockets.HandShake
 

J

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

K

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

L

loadHandler(MimeHeaders) - Static method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
lowSurrogate(int) - Static method in class org.glassfish.grizzly.websockets.StrictUtf8
 

M

mask(byte[], int, byte) - Method in class org.glassfish.grizzly.websockets.Masker
 
mask(byte[], int, byte[]) - Method in class org.glassfish.grizzly.websockets.Masker
 
MASK_SIZE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
maskAndPrepend(byte[]) - Method in class org.glassfish.grizzly.websockets.Masker
 
maskData - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
Masker - Class in org.glassfish.grizzly.websockets
 
Masker(Buffer) - Constructor for class org.glassfish.grizzly.websockets.Masker
 
Masker() - Constructor for class org.glassfish.grizzly.websockets.Masker
 
MESSAGE_TOO_LARGE - Static variable in interface org.glassfish.grizzly.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.grizzly.websockets.StrictUtf8
 
newEncoder() - Method in class org.glassfish.grizzly.websockets.StrictUtf8
 
NO_STATUS_CODE - Static variable in interface org.glassfish.grizzly.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.grizzly.websockets.WebSocket
Indicates a normal closure, meaning whatever purpose the connection was established for has been fulfilled.

O

onClose(DataFrame) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onClose(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
This callback will be invoked when the remote end-point sent a closing frame.
onClose(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onClose(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
When a WebSocket.onClose(DataFrame) is invoked, the WebSocket will be unassociated with this application and closed.
onClose(WebSocket, DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
Invoked when WebSocket.onClose(DataFrame) has been called on a particular WebSocket instance.
onConnect() - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onConnect() - Method in interface org.glassfish.grizzly.websockets.WebSocket
This callback will be invoked when the opening handshake between both endpoints has been completed.
onConnect(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onConnect(WebSocket) - Method in class org.glassfish.grizzly.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.grizzly.websockets.WebSocketListener
Invoked when the opening handshake has been completed for a specific WebSocket instance.
onError(WebSocket, Throwable) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
This method will be invoked if an unexpected exception is caught by the WebSocket runtime.
onFragment(boolean, byte[]) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onFragment(boolean, String) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onFragment(boolean, String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
This callback will be invoked when a fragmented textual message has been received.
onFragment(boolean, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
This callback will be invoked when a fragmented binary message has been received.
onFragment(WebSocket, String, boolean) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onFragment(WebSocket, byte[], boolean) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onFragment(WebSocket, String, boolean) - Method in interface org.glassfish.grizzly.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.grizzly.websockets.WebSocketListener
Invoked when WebSocket.onFragment(boolean, byte[]) has been called on a particular WebSocket instance.
onMessage(byte[]) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onMessage(String) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onMessage(String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
This callback will be invoked when a text message has been received.
onMessage(byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
This callback will be invoked when a binary message has been received.
onMessage(WebSocket, String) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onMessage(WebSocket, byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onMessage(WebSocket, String) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
Invoked when WebSocket.onMessage(String) has been called on a particular WebSocket instance.
onMessage(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
Invoked when WebSocket.onMessage(String) has been called on a particular WebSocket instance.
onPing(DataFrame) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onPing(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
This callback will be invoked when the remote end-point has sent a ping frame.
onPing(WebSocket, byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onPing(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
Invoked when WebSocket.onPing(DataFrame) has been called on a particular WebSocket instance.
onPong(DataFrame) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onPong(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
This callback will be invoked when the remote end-point has sent a pong frame.
onPong(WebSocket, byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onPong(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
Invoked when WebSocket.onPong(DataFrame) has been called on a particular WebSocket instance.
org.glassfish.grizzly.websockets - package org.glassfish.grizzly.websockets
 
org.glassfish.grizzly.websockets.draft06 - package org.glassfish.grizzly.websockets.draft06
 
org.glassfish.grizzly.websockets.draft07 - package org.glassfish.grizzly.websockets.draft07
 
org.glassfish.grizzly.websockets.draft08 - package org.glassfish.grizzly.websockets.draft08
 
org.glassfish.grizzly.websockets.draft17 - package org.glassfish.grizzly.websockets.draft17
 
org.glassfish.grizzly.websockets.frametypes - package org.glassfish.grizzly.websockets.frametypes
 
ORIGIN_HEADER - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
outFragmentedType - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 

P

parse(Buffer) - Method in class org.glassfish.grizzly.websockets.draft06.Draft06Handler
 
parse(Buffer) - Method in class org.glassfish.grizzly.websockets.draft07.Draft07Handler
 
parse(Buffer) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
parse(char, CharBuffer) - Method in class org.glassfish.grizzly.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.grizzly.websockets.StrictUtf8.Parser
Parses a UCS-4 character from the given source buffer, handling surrogates.
ParseResult - Class in org.glassfish.grizzly.websockets
DataFrame parse result.
PingFrameType - Class in org.glassfish.grizzly.websockets.frametypes
 
PingFrameType() - Constructor for class org.glassfish.grizzly.websockets.frametypes.PingFrameType
 
PongFrameType - Class in org.glassfish.grizzly.websockets.frametypes
 
PongFrameType() - Constructor for class org.glassfish.grizzly.websockets.frametypes.PongFrameType
 
processingFragment - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
PROTOCOL_ERROR - Static variable in interface org.glassfish.grizzly.websockets.WebSocket
Indicates that an endpoint is terminating the connection due to a protocol error.
ProtocolError - Exception in org.glassfish.grizzly.websockets
 
ProtocolError(String) - Constructor for exception org.glassfish.grizzly.websockets.ProtocolError
 
ProtocolError(String, Throwable) - Constructor for exception org.glassfish.grizzly.websockets.ProtocolError
 
ProtocolError(Throwable) - Constructor for exception org.glassfish.grizzly.websockets.ProtocolError
 
protocolHandler - Variable in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
ProtocolHandler - Class in org.glassfish.grizzly.websockets
 
ProtocolHandler(boolean) - Constructor for class org.glassfish.grizzly.websockets.ProtocolHandler
 

R

readHeader(MimeHeaders, String) - Method in class org.glassfish.grizzly.websockets.HandShake
Reads the header value using UTF-8 encoding
readMask() - Method in class org.glassfish.grizzly.websockets.Masker
 
recycle() - Method in class org.glassfish.grizzly.websockets.ParseResult
Recycle the object.
register(String, WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
Deprecated. use WebSocketEngine.register(WebSocketApplication)
register(WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
Registers the specified WebSocketApplication with the WebSocketEngine.
remainder - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
remove(WebSocketListener) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
remove(WebSocketListener) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Removes the specified WebSocketListener as a target of event notification.
remove(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Unassociates the specified WebSocket with this application.
request - Variable in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
respond(WebSocket) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
respond(WebSocket, DataFrame) - Method in interface org.glassfish.grizzly.websockets.FrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.frametypes.BinaryFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.frametypes.ContinuationFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.frametypes.PingFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.frametypes.PongFrameType
 
respond(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.frametypes.TextFrameType
 
respond(FilterChainContext, WebSocketApplication, HttpResponsePacket) - Method in class org.glassfish.grizzly.websockets.HandShake
 
RESPONSE_CODE_HEADER - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
RESPONSE_CODE_MESSAGE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
RESPONSE_CODE_VALUE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 

S

SEC_WS_ACCEPT - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
SEC_WS_EXTENSIONS_HEADER - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
SEC_WS_KEY_HEADER - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
SEC_WS_ORIGIN_HEADER - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
SEC_WS_PROTOCOL_HEADER - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
SEC_WS_VERSION - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
SecKey - Class in org.glassfish.grizzly.websockets.draft06
Class represents WebSocket's security key, used during the handshake phase.
SecKey() - Constructor for class org.glassfish.grizzly.websockets.draft06.SecKey
 
SecKey(String) - Constructor for class org.glassfish.grizzly.websockets.draft06.SecKey
 
SecKey - Class in org.glassfish.grizzly.websockets
Class represents WebSocket's security key, used during the handshake phase.
SecKey() - Constructor for class org.glassfish.grizzly.websockets.SecKey
 
send(byte[]) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
send(String) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
send(DataFrame) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
send(DataFrame, CompletionHandler<DataFrame>) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
send(byte[]) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
send(String) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
send(String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Send a text frame to the remote end-point.
send(byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Send a binary frame to the remote end-point.
sendPing(byte[]) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
Sends a ping frame with the specified payload (if any).
sendPing(byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Sends a ping frame with the specified payload (if any).
sendPong(byte[]) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
Sends a ping frame with the specified payload (if any).
sendPong(byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Sends a ping frame with the specified payload (if any).
SERVER_KEY_HASH - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
setBuffer(Buffer) - Method in class org.glassfish.grizzly.websockets.Masker
 
setClosed() - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
setConnection(Connection) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
setExtensions(List<String>) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setHeaders(HttpResponsePacket) - Method in class org.glassfish.grizzly.websockets.draft06.HandShake06
 
setHeaders(HttpResponsePacket) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setLast(boolean) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
setLocation(String) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setOrigin(String) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setPayload(DataFrame, byte[]) - Method in class org.glassfish.grizzly.websockets.BaseFrameType
 
setPayload(String) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
setPayload(byte[]) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
setPayload(byte[]) - Method in class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
setPayload(DataFrame, byte[]) - Method in interface org.glassfish.grizzly.websockets.FrameType
 
setPayload(DataFrame, byte[]) - Method in class org.glassfish.grizzly.websockets.frametypes.ContinuationFrameType
 
setPayload(DataFrame, byte[]) - Method in class org.glassfish.grizzly.websockets.frametypes.TextFrameType
 
setPort(int) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setResourcePath(String) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setSecure(boolean) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setServerHostName(String) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setSubProtocol(List<String>) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setup(NetworkListener, FilterChainBuilder) - Method in class org.glassfish.grizzly.websockets.WebSocketAddOn
setWebSocket(WebSocket) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
setWebSocketHolder(Connection, ProtocolHandler, WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
split(String) - Method in class org.glassfish.grizzly.websockets.HandShake
 
stream(boolean, String) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
stream(boolean, byte[], int, int) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
stream(boolean, byte[], int, int) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
stream(boolean, String) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
stream(boolean, String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Sends a fragment of a complete message.
stream(boolean, byte[], int, int) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Sends a fragment of a complete message.
StrictUtf8 - Class in org.glassfish.grizzly.websockets
 
StrictUtf8() - Constructor for class org.glassfish.grizzly.websockets.StrictUtf8
 
StrictUtf8.Encoder - Class in org.glassfish.grizzly.websockets
 
StrictUtf8.Parser - Class in org.glassfish.grizzly.websockets
Surrogate parsing support.
StrictUtf8.Parser() - Constructor for class org.glassfish.grizzly.websockets.StrictUtf8.Parser
 

T

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

U

unframe(Buffer) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
unmask() - Method in class org.glassfish.grizzly.websockets.Masker
 
unmask(int) - Method in class org.glassfish.grizzly.websockets.Masker
 
unregister(WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
Un-registers the specified WebSocketApplication with the WebSocketEngine.
unregisterAll() - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
Un-registers all WebSocketApplication instances with the WebSocketEngine.
updated(DataFrame) - Method in class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
upgrade(HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Checks protocol specific information can and should be upgraded.
UPGRADE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
upgrade(FilterChainContext, HttpContent) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
utf8 - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
utf8Decode(boolean, byte[], DataFrame) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
Utf8DecodingError - Exception in org.glassfish.grizzly.websockets
 
Utf8DecodingError(String) - Constructor for exception org.glassfish.grizzly.websockets.Utf8DecodingError
 
Utf8DecodingError(String, Throwable) - Constructor for exception org.glassfish.grizzly.websockets.Utf8DecodingError
 
Utf8DecodingError(Throwable) - Constructor for exception org.glassfish.grizzly.websockets.Utf8DecodingError
 
Utf8Utils - Class in org.glassfish.grizzly.websockets
 
Utf8Utils() - Constructor for class org.glassfish.grizzly.websockets.Utf8Utils
 

V

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

W

WebSocket - Interface in org.glassfish.grizzly.websockets
General WebSocket unit interface.
WEBSOCKET - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
webSocket - Variable in class org.glassfish.grizzly.websockets.WebSocketEngine.WebSocketHolder
 
WebSocketAdapter - Class in org.glassfish.grizzly.websockets
 
WebSocketAdapter() - Constructor for class org.glassfish.grizzly.websockets.WebSocketAdapter
 
WebSocketAddOn - Class in org.glassfish.grizzly.websockets
WebSockets AddOn for the HttpServer.
WebSocketAddOn() - Constructor for class org.glassfish.grizzly.websockets.WebSocketAddOn
 
WebSocketApplication - Class in org.glassfish.grizzly.websockets
Abstract server-side WebSocket application, which will handle application WebSockets events.
WebSocketApplication() - Constructor for class org.glassfish.grizzly.websockets.WebSocketApplication
 
WebSocketEngine - Class in org.glassfish.grizzly.websockets
WebSockets engine implementation (singleton), which handles WebSocketApplications registration, responsible for client and server handshake validation.
WebSocketEngine.WebSocketHolder - Class in org.glassfish.grizzly.websockets
WebSocketHolder object, which gets associated with the Grizzly Connection.
WebSocketException - Exception in org.glassfish.grizzly.websockets
 
WebSocketException(String) - Constructor for exception org.glassfish.grizzly.websockets.WebSocketException
 
WebSocketException(String, Throwable) - Constructor for exception org.glassfish.grizzly.websockets.WebSocketException
 
WebSocketException(Throwable) - Constructor for exception org.glassfish.grizzly.websockets.WebSocketException
 
WebSocketFilter - Class in org.glassfish.grizzly.websockets
WebSocket Filter implementation, which supposed to be placed into a FilterChain right after HTTP Filter: HttpServerFilter, HttpClientFilter; depending whether it's server or client side.
WebSocketFilter() - Constructor for class org.glassfish.grizzly.websockets.WebSocketFilter
Constructs a new WebSocketFilter with a default idle connection timeout of 15 minutes;
WebSocketFilter(long) - Constructor for class org.glassfish.grizzly.websockets.WebSocketFilter
Constructs a new WebSocketFilter with a default idle connection timeout of 15 minutes;
WebSocketListener - Interface in org.glassfish.grizzly.websockets
Interface to allow notification of events occurring on specific WebSocket instances.

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

Copyright © 2012 Oracle Corporation. All Rights Reserved.