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

A

add(WebSocketListener) - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
add(WebSocketListener) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
add(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 

B

BaseWebSocket - Class in org.glassfish.grizzly.websockets
 
BaseWebSocket(WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.BaseWebSocket
 
BaseWebSocket(Connection, WebSocketListener[]) - Constructor for class org.glassfish.grizzly.websockets.BaseWebSocket
 
buffer - Variable in class org.glassfish.grizzly.websockets.WebSocketEngine.WebSocketHolder
 

C

ClientHandshake - Class in org.glassfish.grizzly.websockets
Client-side WebSocket handshake information.
ClientHandshake(URI, String...) - Constructor for class org.glassfish.grizzly.websockets.ClientHandshake
 
ClientWebSocket - Class in org.glassfish.grizzly.websockets
 
ClientWebSocket(String, WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.ClientWebSocket
 
ClientWebSocket(URI, WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.ClientWebSocket
 
close() - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
close(int) - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
close(int, String) - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
close() - Method in interface org.glassfish.grizzly.websockets.WebSocket
Close the 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
 
ClosingFrame() - Constructor for class org.glassfish.grizzly.websockets.ClosingFrame
 
ClosingFrame(int, String) - Constructor for class org.glassfish.grizzly.websockets.ClosingFrame
 
composeHeaders() - Method in class org.glassfish.grizzly.websockets.ClientHandshake
 
connect() - Method in class org.glassfish.grizzly.websockets.ClientWebSocket
 
connect(long) - Method in class org.glassfish.grizzly.websockets.ClientWebSocket
 
CONNECTION - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
convert(long) - Method in class org.glassfish.grizzly.websockets.DataFrame
Converts the length given to the appropriate framing data: 0-125 one element that is the payload length.
convert(byte[]) - Method in class org.glassfish.grizzly.websockets.DataFrame
Convert a byte[] to a long.
create(boolean, Buffer) - Static method in class org.glassfish.grizzly.websockets.ParseResult
Create a ParseResult object.
createSimpleServer(int) - Static method in class org.glassfish.grizzly.websockets.WebSocketServer
 
createSocket(Connection, 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() - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DataFrame(FrameType) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DataFrame(String) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DataFrame(byte[]) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DataFrame(FrameType, byte[]) - Constructor for class org.glassfish.grizzly.websockets.DataFrame
 
DEFAULT_TIMEOUT - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 

E

EMPTY_BYTES - Static variable in class org.glassfish.grizzly.websockets.ClosingFrame
 
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.ClientWebSocket
 

F

frame() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
frame(DataFrame) - Method in enum org.glassfish.grizzly.websockets.FrameType
 
frame - Variable in class org.glassfish.grizzly.websockets.WebSocketEngine.WebSocketHolder
 
FrameType - Enum 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() - Static method in class org.glassfish.grizzly.websockets.WebSocketFilter
 
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 interface org.glassfish.grizzly.websockets.NetworkHandler
 
get(int) - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
getAddress() - Method in class org.glassfish.grizzly.websockets.ClientWebSocket
 
getApplication(HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
getBinaryPayload() - Method in class org.glassfish.grizzly.websockets.ClosingFrame
 
getBinaryPayload() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
getBytes() - Method in class org.glassfish.grizzly.websockets.SecKey
 
getCode() - Method in class org.glassfish.grizzly.websockets.ClosingFrame
 
getCode() - Method in exception org.glassfish.grizzly.websockets.FramingException
 
getCode() - Method in exception org.glassfish.grizzly.websockets.HandshakeException
Get the error code.
getEnabledExtensions() - Method in class org.glassfish.grizzly.websockets.ServerHandshake
 
getEnabledProtocols() - Method in class org.glassfish.grizzly.websockets.ServerHandshake
 
getEngine() - Static method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
getExtensions() - Method in class org.glassfish.grizzly.websockets.ClientHandshake
 
getExtensions() - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
getKey() - Method in class org.glassfish.grizzly.websockets.ClientHandshake
 
getListeners() - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
getLocation() - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
getNonce() - Method in class org.glassfish.grizzly.websockets.SecKey
 
getOrigin() - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
getPort() - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
getReason() - Method in class org.glassfish.grizzly.websockets.ClosingFrame
 
getRemainder() - Method in class org.glassfish.grizzly.websockets.ParseResult
Get the parsing remainder Buffer.
getResourcePath() - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
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.WebSocketHandshake
 
getSubProtocol() - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
getTextPayload() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
getType() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
getURI() - Method in class org.glassfish.grizzly.websockets.ClientHandshake
 
getWebSockets() - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Returns a set of WebSockets, registered with the application.
GRIZZLY_MAX_FRAME_SIZE - Static variable in class org.glassfish.grizzly.websockets.DataFrame
 

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.
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(ServerHandshake) - 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
 
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

INITIAL_BUFFER_SIZE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
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.BaseWebSocket
 
isConnected() - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
isSecure() - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
isWebSocketEnabled() - Static method in class org.glassfish.grizzly.websockets.WebSocketEngine
 

J

join(String[]) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 

K

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

M

MASK_SIZE - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 
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
 
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.BaseWebSocket
 
onClose(DataFrame) - Method in class org.glassfish.grizzly.websockets.ClientWebSocket
 
onClose(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
onClose(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onClose(WebSocket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
 
onClose(WebSocket) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
 
onConnect() - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
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
 
onMessage(String) - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
onMessage(byte[]) - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
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.BaseWebSocket
 
onPing(DataFrame) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
onPing(byte[]) - Method in class org.glassfish.grizzly.websockets.WebSocketAdapter
 
onPing(byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocketListener
 
org.glassfish.grizzly.websockets - package org.glassfish.grizzly.websockets
 

P

ParseResult - Class in org.glassfish.grizzly.websockets
DataFrame parse result.
PROTOCOL_ERROR - Static variable in interface org.glassfish.grizzly.websockets.WebSocket
Indicates that an endpoint is terminating the connection due to a protocol error.

R

readFrame(Buffer) - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
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.BaseWebSocket
 
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(WebSocket, DataFrame) - Method in enum org.glassfish.grizzly.websockets.FrameType
 
respond(HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.ServerHandshake
 
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
Class represents WebSocket's security key, used during the handshake phase.
SecKey() - Constructor for class org.glassfish.grizzly.websockets.SecKey
 
send(String) - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
send(byte[]) - Method in class org.glassfish.grizzly.websockets.BaseWebSocket
 
send(DataFrame, CompletionHandler<DataFrame>) - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
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
 
ServerHandshake - Class in org.glassfish.grizzly.websockets
Server-side WebSocket handshake information.
ServerHandshake(HttpRequestPacket) - Constructor for class org.glassfish.grizzly.websockets.ServerHandshake
 
setEnabledExtensions(String[]) - Method in class org.glassfish.grizzly.websockets.ServerHandshake
 
setEnabledProtocols(String[]) - Method in class org.glassfish.grizzly.websockets.ServerHandshake
 
setExtensions(String[]) - Method in class org.glassfish.grizzly.websockets.ClientHandshake
 
setExtensions(String[]) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
setLocation(String) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
setOpcode(byte) - Method in enum org.glassfish.grizzly.websockets.FrameType
 
setOrigin(String) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
setPayload(String) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
setPayload(byte[]) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
setPort(int) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
setResourcePath(String) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
setSecure(boolean) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
setServerHostName(String) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
setSubProtocol(String[]) - Method in class org.glassfish.grizzly.websockets.WebSocketHandshake
 
setType(FrameType) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
setup(NetworkListener, FilterChainBuilder) - Method in class org.glassfish.grizzly.websockets.WebSocketAddOn
setWebSocket(WebSocket) - Method in interface org.glassfish.grizzly.websockets.NetworkHandler
 
setWebSocketEnabled(boolean) - Static method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
start() - Method in class org.glassfish.grizzly.websockets.WebSocketServer
 
stop() - Method in class org.glassfish.grizzly.websockets.WebSocketServer
 

T

toArray(long) - Static method in class org.glassfish.grizzly.websockets.DataFrame
 
toString() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
toString() - Method in class org.glassfish.grizzly.websockets.SecKey
 
toString() - Method in class org.glassfish.grizzly.websockets.ServerHandshake

U

unframe(boolean, Buffer) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
unframe(DataFrame, byte[]) - Method in enum org.glassfish.grizzly.websockets.FrameType
 
unmaskOnRead - Variable in class org.glassfish.grizzly.websockets.WebSocketEngine.WebSocketHolder
 
unregister(WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
unregisterAll() - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
unwrap(byte[]) - Method in class org.glassfish.grizzly.websockets.ClosingFrame
 
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, HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 

V

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

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.
WebSocketEngine.WebSocketHolder(boolean, WebSocket) - Constructor for class org.glassfish.grizzly.websockets.WebSocketEngine.WebSocketHolder
 
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
 
WebSocketHandshake - Class in org.glassfish.grizzly.websockets
WebSocket handshake information.
WebSocketHandshake(boolean, String) - Constructor for class org.glassfish.grizzly.websockets.WebSocketHandshake
 
WebSocketHandshake(boolean, String, String, int, String) - Constructor for class org.glassfish.grizzly.websockets.WebSocketHandshake
 
WebSocketListener - Interface in org.glassfish.grizzly.websockets
 
WebSocketServer - Class in org.glassfish.grizzly.websockets
 
WebSocketServer(int) - Constructor for class org.glassfish.grizzly.websockets.WebSocketServer
 
WS_VERSION - Static variable in class org.glassfish.grizzly.websockets.WebSocketEngine
 

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

Copyright © 2011 Oracle Corpration. All Rights Reserved.