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
 
add(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 

B

BaseFrameType - Class in org.glassfish.grizzly.websockets
 
BaseFrameType() - Constructor for class org.glassfish.grizzly.websockets.BaseFrameType
 
BaseNetworkHandler - Class in org.glassfish.grizzly.websockets
 
BaseNetworkHandler() - Constructor for class org.glassfish.grizzly.websockets.BaseNetworkHandler
 
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.BaseNetworkHandler
 
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
 
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.draft76.Draft76Handler
 
close(int, String) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
close() - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
close(int) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
close(int, String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
ClosingFrame - Class in org.glassfish.grizzly.websockets.draft06
 
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.draft76.HandShake76
 
composeHeaders() - Method in class org.glassfish.grizzly.websockets.HandShake
 
connect() - Method in class org.glassfish.grizzly.websockets.WebSocketClient
 
connect(long, TimeUnit) - Method in class org.glassfish.grizzly.websockets.WebSocketClient
 
connection - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
CONNECTION - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
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(HttpContent) - Method in class org.glassfish.grizzly.websockets.draft76.Draft76Handler
 
createHandShake(URI) - Method in class org.glassfish.grizzly.websockets.draft76.Draft76Handler
 
createHandShake(HttpContent) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
createHandShake(URI) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
createSimpleServer(int) - Static method in class org.glassfish.grizzly.websockets.WebSocketServer
 
createSocket(ProtocolHandler, WebSocketListener...) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 

D

DataFrame - Class in org.glassfish.grizzly.websockets
In memory representation of a websocket frame.
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
 
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
 
Draft76Handler - Class in org.glassfish.grizzly.websockets.draft76
 
Draft76Handler() - Constructor for class org.glassfish.grizzly.websockets.draft76.Draft76Handler
 

E

EMPTY_BYTES - Static variable in class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
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.
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.
execute(Runnable) - Method in class org.glassfish.grizzly.websockets.WebSocketClient
 

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.draft76.Draft76Handler
 
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
 
FramingException(int, String) - Constructor for exception org.glassfish.grizzly.websockets.FramingException
 

G

generateMask() - Method in class org.glassfish.grizzly.websockets.Masker
 
generateSecKey() - Static method in class org.glassfish.grizzly.websockets.draft76.SecKey
Generates random security key.
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, SecKey, byte[]) - Static method in class org.glassfish.grizzly.websockets.draft76.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
 
get() - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
get(int) - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
get() - Method in class org.glassfish.grizzly.websockets.ServerNetworkHandler
 
get(int) - Method in class org.glassfish.grizzly.websockets.ServerNetworkHandler
 
getAddress() - Method in class org.glassfish.grizzly.websockets.WebSocketClient
 
getApplication(HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
getBytes(DataFrame) - Method in class org.glassfish.grizzly.websockets.BaseFrameType
 
getBytes() - Method in class org.glassfish.grizzly.websockets.BaseNetworkHandler
 
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
 
getCode() - Method in class org.glassfish.grizzly.websockets.draft06.ClosingFrame
 
getCode() - Method in exception org.glassfish.grizzly.websockets.FramingException
 
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
 
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.draft76.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.
getSecKeyValue() - Method in class org.glassfish.grizzly.websockets.draft76.SecKey
Gets original security key value (already divided by number of 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
 
getSupportedProtocols(List<String>) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 
getTextPayload() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
getType() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
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
 
getWebSocket() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
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
Method is called, when initial WebSocket handshake process was completed, but WebSocketApplication may perform additional validation such as subprotocol or extension negotiation.
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
 
HandShake76 - Class in org.glassfish.grizzly.websockets.draft76
 
HandShake76(URI) - Constructor for class org.glassfish.grizzly.websockets.draft76.HandShake76
 
HandShake76(HttpContent) - Constructor for class org.glassfish.grizzly.websockets.draft76.HandShake76
 
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
 
init() - Static method in class org.glassfish.grizzly.websockets.draft76.SecKey
 
INITIAL_BUFFER_SIZE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
initiate(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.draft76.HandShake76
 
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
 
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.draft76.Draft76Handler
 
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
 
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
 

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

NetworkHandler - Interface in org.glassfish.grizzly.websockets
 
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
 
onClose(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onClose(WebSocket, DataFrame) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 
onClose(WebSocket, DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
 
onConnect() - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onConnect() - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
onConnect(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onConnect(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 
onConnect(WebSocket) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
 
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
 
onFragment(boolean, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
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
 
onFragment(WebSocket, byte[], boolean) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
 
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
 
onMessage(byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
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
 
onMessage(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
 
onPing(DataFrame) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onPing(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
onPing(WebSocket, byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onPing(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
 
onPong(DataFrame) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
onPong(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
onPong(WebSocket, byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onPong(WebSocket, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
 
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.draft76 - package org.glassfish.grizzly.websockets.draft76
 
org.glassfish.grizzly.websockets.frametypes - package org.glassfish.grizzly.websockets.frametypes
 
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.draft76.Draft76Handler
 
parse(String) - Static method in class org.glassfish.grizzly.websockets.draft76.SecKey
Create a SecKey object basing on String representation, which includes spaces and chars.
parse(Buffer) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
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
 
PROTOCOL_ERROR - Static variable in interface org.glassfish.grizzly.websockets.WebSocket
Indicates that an endpoint is terminating the connection due to a protocol error.
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
readLine(String) - Method in class org.glassfish.grizzly.websockets.BaseNetworkHandler
 
readLine(String) - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
readMask() - Method in class org.glassfish.grizzly.websockets.Masker
 
ready() - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
ready() - Method in class org.glassfish.grizzly.websockets.ServerNetworkHandler
 
recycle() - Method in class org.glassfish.grizzly.websockets.ParseResult
Recycle the object.
register(String, WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
register(WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
register(String, WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketServer
 
remove(WebSocketListener) - Method in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
remove(WebSocketListener) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
remove(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 
respond(WebSocket) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
respond(FilterChainContext, WebSocketApplication, HttpResponsePacket) - Method in class org.glassfish.grizzly.websockets.draft76.HandShake76
 
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_KEY1_HEADER - Static variable in class org.glassfish.grizzly.websockets.draft76.HandShake76
 
SEC_WS_KEY2_HEADER - Static variable in class org.glassfish.grizzly.websockets.draft76.HandShake76
 
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.draft76
Class represents WebSocket's security key, used during the handshake phase.
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(String) - Method in class org.glassfish.grizzly.websockets.draft76.Draft76Handler
 
send(byte[]) - Method in class org.glassfish.grizzly.websockets.draft76.Draft76Handler
 
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
send(byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Send a text frame
SERVER_KEY_HASH - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
SERVER_SEC_WS_LOCATION_HEADER - Static variable in class org.glassfish.grizzly.websockets.draft76.HandShake76
 
SERVER_SEC_WS_ORIGIN_HEADER - Static variable in class org.glassfish.grizzly.websockets.draft76.HandShake76
 
ServerNetworkHandler - Class in org.glassfish.grizzly.websockets
 
ServerNetworkHandler(Buffer) - Constructor for class org.glassfish.grizzly.websockets.ServerNetworkHandler
 
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.draft76.HandShake76
 
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
 
split(String) - Method in class org.glassfish.grizzly.websockets.HandShake
 
start() - Method in class org.glassfish.grizzly.websockets.WebSocketServer
 
stop() - Method in class org.glassfish.grizzly.websockets.WebSocketServer
 
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.draft76.Draft76Handler
 
stream(boolean, String) - Method in class org.glassfish.grizzly.websockets.draft76.Draft76Handler
 
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
 
stream(boolean, byte[], int, int) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 

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.BaseNetworkHandler
 
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.draft76.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
 
transport - Variable in class org.glassfish.grizzly.websockets.WebSocketClient
 

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
 
unregisterAll() - Method in class org.glassfish.grizzly.websockets.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 and queries #isApplicationRequest(Request) to see if the Request should be upgraded.
UPGRADE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
upgrade(FilterChainContext, HttpContent) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 

V

validate(byte, byte) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
validate(MimeHeaders) - Method in enum org.glassfish.grizzly.websockets.Version
 
validateSecKey(String) - Static method in class org.glassfish.grizzly.websockets.draft76.SecKey
Validate security key, represented as string value (which includes chars and spaces).
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.draft76.HandShake76
 
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
 
WebSocketClient - Class in org.glassfish.grizzly.websockets
 
WebSocketClient(String, WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.WebSocketClient
 
WebSocketClient(String, Version, WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.WebSocketClient
 
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
 
WebSocketListener - Interface in org.glassfish.grizzly.websockets
 
WebSocketServer - Class in org.glassfish.grizzly.websockets
 
WebSocketServer(int) - Constructor for class org.glassfish.grizzly.websockets.WebSocketServer
 
write(byte[]) - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
write(byte[]) - Method in class org.glassfish.grizzly.websockets.ServerNetworkHandler
 

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

Copyright © 2011 Oracle Corpration. All Rights Reserved.