Skip navigation links
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.
activeContexts - Variable in class org.glassfish.grizzly.comet.CometEngine
The current active CometContext keyed by context path.
add(WebSocketListener) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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.
addAttribute(Object, Object) - Method in class org.glassfish.grizzly.comet.CometContext
Add an attribute.
addCometHandler(CometHandler<E>) - Method in class org.glassfish.grizzly.comet.CometContext
AFTER_RESPONSE_PROCESSING - Static variable in class org.glassfish.grizzly.comet.CometEngine
Deprecated.
AFTER_SERVLET_PROCESSING - Static variable in class org.glassfish.grizzly.comet.CometEngine
Deprecated.
ALREADY_REMOVED - Static variable in class org.glassfish.grizzly.comet.CometContext
 
application - Variable in class org.glassfish.grizzly.websockets.WebSocketHolder
 
attach(E) - Method in class org.glassfish.grizzly.comet.CometEvent
Attach an
attachment - Variable in class org.glassfish.grizzly.comet.CometEvent
Share an E amongst CometHandler
attachment() - Method in class org.glassfish.grizzly.comet.CometEvent
Return the attachment

B

BaseFrameType - Class in org.glassfish.grizzly.websockets
 
BaseFrameType() - Constructor for class org.glassfish.grizzly.websockets.BaseFrameType
 
BaseWebSocketFilter - 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.
BaseWebSocketFilter() - Constructor for class org.glassfish.grizzly.websockets.BaseWebSocketFilter
Constructs a new BaseWebSocketFilter with a default idle connection timeout of 15 minutes;
BaseWebSocketFilter(long) - Constructor for class org.glassfish.grizzly.websockets.BaseWebSocketFilter
Constructs a new BaseWebSocketFilter with a default idle connection timeout of 15 minutes;
BEFORE_REQUEST_PROCESSING - Static variable in class org.glassfish.grizzly.comet.CometEngine
Deprecated.
BinaryFrameType - Class in org.glassfish.grizzly.websockets.frametypes
 
BinaryFrameType() - Constructor for class org.glassfish.grizzly.websockets.frametypes.BinaryFrameType
 
broadcast(Iterable<? extends WebSocket>, String) - Method in interface org.glassfish.grizzly.websockets.Broadcaster
Broadcasts the provided text content to the specified recipients.
broadcast(Iterable<? extends WebSocket>, byte[]) - Method in interface org.glassfish.grizzly.websockets.Broadcaster
Broadcasts the provided binary content to the specified recipients.
broadcast(Iterable<? extends WebSocket>, String) - Method in class org.glassfish.grizzly.websockets.DummyBroadcaster
Broadcasts the provided text content to the specified recipients.
broadcast(Iterable<? extends WebSocket>, byte[]) - Method in class org.glassfish.grizzly.websockets.DummyBroadcaster
Broadcasts the provided binary content to the specified recipients.
broadcast(Iterable<? extends WebSocket>, String) - Method in class org.glassfish.grizzly.websockets.OptimizedBroadcaster
Broadcasts the provided text content to the specified recipients.
broadcast(Iterable<? extends WebSocket>, byte[]) - Method in class org.glassfish.grizzly.websockets.OptimizedBroadcaster
Broadcasts the provided binary content to the specified recipients.
broadcast(Iterable<? extends WebSocket>, String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
broadcast(Iterable<? extends WebSocket>, byte[]) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
broadcast(Iterable<? extends WebSocket>, String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Broadcasts the data to the remote end-point set.
broadcast(Iterable<? extends WebSocket>, byte[]) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Broadcasts the data to the remote end-point set.
Broadcaster - Interface in org.glassfish.grizzly.websockets
General Broadcaster API to send the same message to a set of clients.
broadcaster - Variable in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
broadcastFragment(Iterable<? extends WebSocket>, String, boolean) - Method in interface org.glassfish.grizzly.websockets.Broadcaster
Broadcasts the provided fragmented text content to the specified recipients.
broadcastFragment(Iterable<? extends WebSocket>, byte[], boolean) - Method in interface org.glassfish.grizzly.websockets.Broadcaster
Broadcasts the provided fragmented binary content to the specified recipients.
broadcastFragment(Iterable<? extends WebSocket>, String, boolean) - Method in class org.glassfish.grizzly.websockets.DummyBroadcaster
Broadcasts the provided fragmented text content to the specified recipients.
broadcastFragment(Iterable<? extends WebSocket>, byte[], boolean) - Method in class org.glassfish.grizzly.websockets.DummyBroadcaster
Broadcasts the provided fragmented binary content to the specified recipients.
broadcastFragment(Iterable<? extends WebSocket>, String, boolean) - Method in class org.glassfish.grizzly.websockets.OptimizedBroadcaster
 
broadcastFragment(Iterable<? extends WebSocket>, byte[], boolean) - Method in class org.glassfish.grizzly.websockets.OptimizedBroadcaster
 
broadcastFragment(Iterable<? extends WebSocket>, String, boolean) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
broadcastFragment(Iterable<? extends WebSocket>, byte[], boolean) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
broadcastFragment(Iterable<? extends WebSocket>, String, boolean) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Broadcasts the data fragment to the remote end-point set.
broadcastFragment(Iterable<? extends WebSocket>, byte[], boolean) - Method in interface org.glassfish.grizzly.websockets.WebSocket
Broadcasts the data fragment to the remote end-point set.
buffer - Variable in class org.glassfish.grizzly.websockets.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.Constants
 
close(int, String) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
close() - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
close(int) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
close(int, String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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
 
ClosingFrame() - Constructor for class org.glassfish.grizzly.websockets.ClosingFrame
 
ClosingFrame(int, String) - Constructor for class org.glassfish.grizzly.websockets.ClosingFrame
 
ClosingFrame(byte[]) - Constructor for class org.glassfish.grizzly.websockets.ClosingFrame
 
ClosingFrameType - Class in org.glassfish.grizzly.websockets.frametypes
 
ClosingFrameType() - Constructor for class org.glassfish.grizzly.websockets.frametypes.ClosingFrameType
 
CometAddOn - Class in org.glassfish.grizzly.comet
Comet AddOn for the HttpServer.
CometAddOn() - Constructor for class org.glassfish.grizzly.comet.CometAddOn
 
CometContext<E> - Class in org.glassfish.grizzly.comet
The main object used by CometHandler and Servlet to push information amongst suspended request/response.
CometContext(CometEngine, String) - Constructor for class org.glassfish.grizzly.comet.CometContext
Create a new instance
CometEngine - Class in org.glassfish.grizzly.comet
Main class allowing Comet support on top of Grizzly Asynchronous Request Processing mechanism.
CometEngine() - Constructor for class org.glassfish.grizzly.comet.CometEngine
Create a singleton and initialize all lists required.
CometEvent<E> - Class in org.glassfish.grizzly.comet
Simple event class used to pass information between CometHandler and the Comet implementation.
CometEvent() - Constructor for class org.glassfish.grizzly.comet.CometEvent
Create a new CometEvent
CometEvent(CometEvent.Type) - Constructor for class org.glassfish.grizzly.comet.CometEvent
 
CometEvent(CometEvent.Type, CometContext) - Constructor for class org.glassfish.grizzly.comet.CometEvent
 
CometEvent(CometEvent.Type, CometContext, E) - Constructor for class org.glassfish.grizzly.comet.CometEvent
 
CometEvent.Type - Enum in org.glassfish.grizzly.comet
 
CometHandler<E> - Interface in org.glassfish.grizzly.comet
This interface represents a suspended connection (or response).
completableClose(int, String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
completableClose(int, String) - Method in interface org.glassfish.grizzly.websockets.WebSocket
 
completed(DataFrame) - Method in class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
completedFrame(byte[], boolean) - Static method in class org.glassfish.grizzly.websockets.Utils
 
composeHeaders() - Method in class org.glassfish.grizzly.websockets.HandShake
 
composeHeaders() - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
 
connected - Variable in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
CONNECTION - Static variable in class org.glassfish.grizzly.websockets.Constants
 
connection - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
Constants - Class in org.glassfish.grizzly.websockets
 
Constants() - Constructor for class org.glassfish.grizzly.websockets.Constants
 
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.
createClientHandShake(URI) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
createClientHandShake(URI) - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler
 
createHandler(boolean) - Method in enum org.glassfish.grizzly.websockets.Version
 
createServerHandShake(HttpContent) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
createServerHandShake(HttpContent) - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler
 
createSocket(ProtocolHandler, WebSocketListener...) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
createSocket(ProtocolHandler, HttpRequestPacket, WebSocketListener...) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Factory method to create new WebSocket instances.
createWebSocketFilter() - Method in class org.glassfish.grizzly.websockets.WebSocketAddOn
 
ctx - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
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
 
DefaultCometHandler<E> - Class in org.glassfish.grizzly.comet
A basic default implementation of CometHandler to take care of tracking the Response and CometContext.
DefaultCometHandler() - Constructor for class org.glassfish.grizzly.comet.DefaultCometHandler
 
DefaultCometHandler(CometContext<E>, Response) - Constructor for class org.glassfish.grizzly.comet.DefaultCometHandler
 
DefaultConcurrentCometHandler<E> - Class in org.glassfish.grizzly.comet.concurrent
We queue events in each CometHandler to lower the probability that slow or massive IO for one CometHandler severely delays events to others.

only streaming mode can benefit from buffering messages like this.
DefaultConcurrentCometHandler(CometContext<E>, Response) - Constructor for class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
 
DefaultConcurrentCometHandler(int) - Constructor for class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
 
DefaultNotificationHandler - Class in org.glassfish.grizzly.comet
Default NotificationHandler that uses a thread pool dedicated to the CometEngine to execute the notification process.
DefaultNotificationHandler() - Constructor for class org.glassfish.grizzly.comet.DefaultNotificationHandler
 
DefaultWebSocket - Class in org.glassfish.grizzly.websockets
 
DefaultWebSocket(ProtocolHandler, HttpRequestPacket, WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.DefaultWebSocket
 
deregister(String) - Method in class org.glassfish.grizzly.comet.CometEngine
Deregister the CometHandler to the list of the CometContext.
DISABLE_CLIENT_DISCONNECTION_DETECTION - Static variable in class org.glassfish.grizzly.comet.CometEngine
Deprecated.
DISABLE_SUSPEND_TIMEOUT - Static variable in class org.glassfish.grizzly.comet.CometEngine
Deprecated.
doClose() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
doServerUpgrade(FilterChainContext, HttpContent) - Method in class org.glassfish.grizzly.websockets.WebSocketFilter
 
DummyBroadcaster - Class in org.glassfish.grizzly.websockets
The default Broadcaster, which iterates over set of clients and sends the same text of binary message separately to each client.
DummyBroadcaster() - Constructor for class org.glassfish.grizzly.websockets.DummyBroadcaster
 

E

EMPTY_BYTES - Static variable in class org.glassfish.grizzly.websockets.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
 
encode(Charset, String, OutputStream) - 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.
enqueueEvent(CometEvent) - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
Queues event if another thread is currently working on this handler.
equals(Object) - Method in class org.glassfish.grizzly.websockets.Extension
 
equals(Object) - Method in class org.glassfish.grizzly.websockets.Extension.Parameter
 
error() - Method in class org.glassfish.grizzly.websockets.StrictUtf8.Parser
If the previous parse operation detected an error, return the object describing that error.
eventInterrupt - Variable in class org.glassfish.grizzly.comet.CometContext
 
eventTerminate - Variable in class org.glassfish.grizzly.comet.CometContext
 
Extension - Class in org.glassfish.grizzly.websockets
Representation of a WebSocket extension and its associated parameters.
Extension(String) - Constructor for class org.glassfish.grizzly.websockets.Extension
Constructs a new Extension with the specified name.
Extension.Parameter - Class in org.glassfish.grizzly.websockets
Representation of extension parameters.

F

failed(Throwable) - Method in class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
frame(DataFrame) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
frame(DataFrame) - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler
 
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.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(Connection) - Static method in class org.glassfish.grizzly.websockets.WebSocketHolder
 
getApplication(HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
getAttribute(Object) - Method in class org.glassfish.grizzly.comet.CometContext
Retrieve an attribute.
getBroadcaster() - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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.ClosingFrame
 
getBytes() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
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.ClosingFrame
 
getCode() - Method in exception org.glassfish.grizzly.websockets.HandshakeException
Get the error code.
getCometContext(String) - Method in class org.glassfish.grizzly.comet.CometEngine
Return the CometContext associated with the topic.
getCometContext() - Method in class org.glassfish.grizzly.comet.CometEvent
Return the CometContext that fired this event.
getCometContext() - Method in interface org.glassfish.grizzly.comet.CometHandler
 
getCometContext() - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
 
getCometContext() - Method in class org.glassfish.grizzly.comet.DefaultCometHandler
 
getCometHandlers() - Method in class org.glassfish.grizzly.comet.CometContext
Return the current list of active CometHandler
getConnection() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
getContextPath() - Method in class org.glassfish.grizzly.comet.CometContext
Deprecated.
- use getTopic.
getEnabledExtensions() - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
 
getEnabledProtocols() - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
 
getEngine() - Static method in class org.glassfish.grizzly.comet.CometEngine
Return a singleton of this Class.
getEngine() - Static method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
getExpirationDelay() - Method in class org.glassfish.grizzly.comet.CometContext
Return the long delay, in millisecond, before a request is resumed.
getExtensions() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getFilterChainContext() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
getListeners() - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
getLocation() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getMappingData() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
getMask() - Method in class org.glassfish.grizzly.websockets.Masker
 
getName() - Method in class org.glassfish.grizzly.websockets.Extension
 
getName() - Method in class org.glassfish.grizzly.websockets.Extension.Parameter
 
getNotificationHandler() - Method in class org.glassfish.grizzly.comet.CometContext
Return the associated NotificationHandler
getOrigin() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getParameters() - Method in class org.glassfish.grizzly.websockets.Extension
 
getPort() - Method in class org.glassfish.grizzly.websockets.HandShake
 
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.HandShake
 
getResponse() - Method in interface org.glassfish.grizzly.comet.CometHandler
 
getResponse() - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
 
getResponse() - Method in class org.glassfish.grizzly.comet.DefaultCometHandler
 
getResult() - Method in class org.glassfish.grizzly.websockets.FrameCompletionHandler
 
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
 
getSession(boolean) - Method in class org.glassfish.grizzly.websockets.glassfish.GlassfishSupport
 
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
 
getTimeoutInSeconds() - Method in class org.glassfish.grizzly.websockets.WebSocketAddOn
 
getTopic() - Method in class org.glassfish.grizzly.comet.CometContext
Get the topic representing this instance with this instance.
getType() - Method in class org.glassfish.grizzly.comet.CometEvent
Return the type of this object.
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.
getValue() - Method in class org.glassfish.grizzly.websockets.Extension.Parameter
 
getVersion() - Method in class org.glassfish.grizzly.websockets.HandShake
 
getVersion() - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
 
getWebSocket() - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
getWebSocket(Connection) - Static method in class org.glassfish.grizzly.websockets.WebSocketHolder
 
getWebSockets() - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Returns a set of WebSockets, registered with the application.
GlassfishSupport - Class in org.glassfish.grizzly.websockets.glassfish
Glassfish support class.
GlassfishSupport() - Constructor for class org.glassfish.grizzly.websockets.glassfish.GlassfishSupport
 
GlassfishSupport(Object, Object, HttpServletRequest) - Constructor for class org.glassfish.grizzly.websockets.glassfish.GlassfishSupport
 

H

handleClose(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.BaseWebSocketFilter
Method handles Grizzly Connection close phase.
handleConnect(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.WebSocketClientFilter
Method handles Grizzly Connection connect phase.
handleHandshake(FilterChainContext, HttpContent) - Method in class org.glassfish.grizzly.websockets.BaseWebSocketFilter
Handle websocket handshake
handleHandshake(FilterChainContext, HttpContent) - Method in class org.glassfish.grizzly.websockets.WebSocketClientFilter
 
handleHandshake(FilterChainContext, HttpContent) - Method in class org.glassfish.grizzly.websockets.WebSocketFilter
 
handler - Variable in class org.glassfish.grizzly.websockets.WebSocketHolder
 
handleRead(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.BaseWebSocketFilter
Handle Grizzly Connection read phase.
handleWrite(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.BaseWebSocketFilter
Handle Grizzly Connection write phase.
HandShake - Class in org.glassfish.grizzly.websockets
 
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.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.
hashCode() - Method in class org.glassfish.grizzly.websockets.Extension
 
hashCode() - Method in class org.glassfish.grizzly.websockets.Extension.Parameter
 

I

inFragmentedType - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
initialize(CometHandler) - Method in class org.glassfish.grizzly.comet.CometContext
Initialize the newly added CometHandler.
initiate(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.HandShake
 
interrupt(CometHandler, boolean) - Method in class org.glassfish.grizzly.comet.CometContext
interrupt(CometHandler, boolean) - Method in class org.glassfish.grizzly.comet.CometEngine
Deprecated.
use the CometContext version
interrupt0(CometHandler, boolean) - Method in class org.glassfish.grizzly.comet.CometContext
Interrupt logic in its own method, so it can be executed either async or sync.
cometHandler.onInterrupt is performed async due to its functionality is unknown, hence not safe to run in the performance critical selector thread.
interrupt0(CometHandler, boolean) - Method in class org.glassfish.grizzly.comet.CometEngine
Deprecated.
use the CometContext version
intersection(List<Extension>, List<Extension>) - Method in class org.glassfish.grizzly.websockets.HandShake
 
INVALID_COMET_HANDLER - Static variable in class org.glassfish.grizzly.comet.CometContext
Generic error message
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.
invokeCometHandler(CometEvent, CometHandler) - Method in class org.glassfish.grizzly.comet.CometContext
Invoke a CometHandler using the CometEvent
isActive(CometHandler) - Method in class org.glassfish.grizzly.comet.CometContext
Return true if this CometHandler is still active, e.g.
isApplicationRequest(HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Deprecated.
URI mapping shouldn't be intrinsic to the application. WebSocketApplications should be registered using WebSocketEngine.register(String, String, WebSocketApplication) using standard Servlet url-pattern rules.
isCometEnabled() - Method in class org.glassfish.grizzly.comet.CometEngine
Return true if comet is enabled.
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.SimpleWebSocket
 
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.ProtocolHandler
 
isControlFrame(byte) - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler
 
isDataFrame(Object) - Static method in class org.glassfish.grizzly.websockets.DataFrame
 
isDetectClosedConnections() - Method in class org.glassfish.grizzly.comet.CometContext
Returns true if connection terminate detection is on.
isGlassfish - Variable in class org.glassfish.grizzly.websockets.WebSocketMappingData
 
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
 
isUserInRole(String) - Method in class org.glassfish.grizzly.websockets.glassfish.GlassfishSupport
 
isValid() - Method in class org.glassfish.grizzly.websockets.glassfish.GlassfishSupport
 
isWebSocketInProgress(Connection) - Static method in class org.glassfish.grizzly.websockets.WebSocketHolder
 

J

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

K

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

L

listeners - Variable in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
loadHandler(MimeHeaders) - Static method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
LOGGER - Static variable in class org.glassfish.grizzly.comet.CometContext
 
logger - Static variable in class org.glassfish.grizzly.comet.CometEngine
Main logger
logger() - Static method in class org.glassfish.grizzly.comet.CometEngine
Return the current logger.
logger - Static variable in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
 
lowSurrogate(int) - Static method in class org.glassfish.grizzly.websockets.StrictUtf8
 

M

mappingData - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
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.Constants
 
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.
messageQueue - Variable in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
todo replace with non array copying list for non resizing add situations, using internal index to keep track of state , not a linked list, it has too much overhead and eats memory.

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.
notificationHandler - Variable in class org.glassfish.grizzly.comet.CometContext
The default NotificationHandler.
NotificationHandler - Interface in org.glassfish.grizzly.comet
This class is invoked when the CometContext.notify is invoked.
notify(E) - Method in class org.glassfish.grizzly.comet.CometContext
Notify all CometHandler.
notify(E, CometHandler) - Method in class org.glassfish.grizzly.comet.CometContext
notify(E, CometEvent.Type, CometHandler) - Method in class org.glassfish.grizzly.comet.CometContext
Notify a single CometHandler.
notify(E, CometEvent.Type) - Method in class org.glassfish.grizzly.comet.CometContext
Notify all CometHandler.
notify(CometEvent, Iterator<CometHandler>) - Method in class org.glassfish.grizzly.comet.DefaultNotificationHandler
Notify all CometHandler.
notify(CometEvent, CometHandler) - Method in class org.glassfish.grizzly.comet.DefaultNotificationHandler
Notify the CometHandler.
notify(CometEvent, Iterator<CometHandler>) - Method in interface org.glassfish.grizzly.comet.NotificationHandler
Notify all CometHandler.
notify(CometEvent, CometHandler) - Method in interface org.glassfish.grizzly.comet.NotificationHandler
Notify a single CometHandler.
notify0(CometEvent, CometHandler) - Method in class org.glassfish.grizzly.comet.DefaultNotificationHandler
Notify a CometHandler.

O

onClose(DataFrame) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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.SimpleWebSocket
 
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.
onEvent(CometEvent) - Method in interface org.glassfish.grizzly.comet.CometHandler
Receive CometEvent notification.
onEvent(CometEvent) - Method in class org.glassfish.grizzly.comet.DefaultCometHandler
 
onExtensionNegotiation(List<Extension>) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Invoked during the handshake if the client has advertised extensions it may use and one or more extensions intersect with those returned by WebSocketApplication.getSupportedExtensions().
onFragment(boolean, byte[]) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
onFragment(boolean, String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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.
onHandshakeFailure(Connection, HandshakeException) - Method in class org.glassfish.grizzly.websockets.BaseWebSocketFilter
The method is called when WebSocket handshake fails for the Connection.
onInitialize(CometEvent) - Method in interface org.glassfish.grizzly.comet.CometHandler
Receive CometEvent notification when Grizzly is about to suspend the connection.
onInitialize(CometEvent) - Method in class org.glassfish.grizzly.comet.DefaultCometHandler
 
onInterrupt(CometEvent) - Method in interface org.glassfish.grizzly.comet.CometHandler
Receive CometEvent notification when the underlying tcp communication is resumed by Grizzly.
onInterrupt(CometEvent) - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
Receive CometEvent notification when the underlying tcp communication is resumed by Grizzly.
onInterrupt(CometEvent) - Method in class org.glassfish.grizzly.comet.DefaultCometHandler
 
onMessage(byte[]) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
onMessage(String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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.SimpleWebSocket
 
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.SimpleWebSocket
 
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.
onQueueFull(CometEvent) - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
Called in synchronized context when the comet handler's local event queue is full.
default impl resumes the comet handler
onTerminate(CometEvent) - Method in interface org.glassfish.grizzly.comet.CometHandler
Receive CometEvent notification when the response is resumed by a CometHandler or by the CometContext
onTerminate(CometEvent) - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
Receive CometEvent notification when the response is resumed by a CometHandler or by the CometContext
onTerminate(CometEvent) - Method in class org.glassfish.grizzly.comet.DefaultCometHandler
 
OptimizedBroadcaster - Class in org.glassfish.grizzly.websockets
The default Broadcaster optimized to send the same text to a set of clients.
OptimizedBroadcaster() - Constructor for class org.glassfish.grizzly.websockets.OptimizedBroadcaster
 
org.glassfish.grizzly.comet - package org.glassfish.grizzly.comet
 
org.glassfish.grizzly.comet.concurrent - package org.glassfish.grizzly.comet.concurrent
 
org.glassfish.grizzly.websockets - package org.glassfish.grizzly.websockets
 
org.glassfish.grizzly.websockets.frametypes - package org.glassfish.grizzly.websockets.frametypes
 
org.glassfish.grizzly.websockets.glassfish - package org.glassfish.grizzly.websockets.glassfish
 
org.glassfish.grizzly.websockets.rfc6455 - package org.glassfish.grizzly.websockets.rfc6455
 
ORIGIN_HEADER - Static variable in class org.glassfish.grizzly.websockets.Constants
 
outFragmentedType - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 

P

Parameter(String, String) - Constructor for class org.glassfish.grizzly.websockets.Extension.Parameter
Constructs a new parameter based on the provided values.
parse(Buffer) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
parse(Buffer) - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler
 
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.
parseExtensionsHeader(String) - Method in class org.glassfish.grizzly.websockets.HandShake
 
parseParameters(String, List<Extension.Parameter>) - Method in class org.glassfish.grizzly.websockets.HandShake
 
Parser() - Constructor for class org.glassfish.grizzly.websockets.StrictUtf8.Parser
 
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 - Class in org.glassfish.grizzly.websockets
 
ProtocolHandler(boolean) - Constructor for class org.glassfish.grizzly.websockets.ProtocolHandler
 
protocolHandler - Variable in class org.glassfish.grizzly.websockets.SimpleWebSocket
 

R

readMask() - Method in class org.glassfish.grizzly.websockets.Masker
 
recycle() - Method in class org.glassfish.grizzly.comet.CometContext
Recycle this object.
recycle() - Method in class org.glassfish.grizzly.websockets.ParseResult
Recycle the object.
register(String, int) - Method in class org.glassfish.grizzly.comet.CometEngine
Deprecated.
register(String) - Method in class org.glassfish.grizzly.comet.CometEngine
Register a context path with this CometEngine.
register(String, Class<? extends NotificationHandler>) - Method in class org.glassfish.grizzly.comet.CometEngine
Instantiate a new CometContext.
register(String, String, WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
Register a WebSocketApplication to a specific context path and url pattern.
register(WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
remainder - Variable in class org.glassfish.grizzly.websockets.ProtocolHandler
 
remove(WebSocketListener) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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.
removeAttribute(Object) - Method in class org.glassfish.grizzly.comet.CometContext
Remove an attribute.
removeCometHandler(CometHandler) - Method in class org.glassfish.grizzly.comet.CometContext
Remove a CometHandler.
removeCometHandler(CometHandler, boolean) - Method in class org.glassfish.grizzly.comet.CometContext
Remove a CometHandler.
REQUEST_LOCAL - Static variable in class org.glassfish.grizzly.comet.CometContext
 
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.Constants
 
RESPONSE_CODE_MESSAGE - Static variable in class org.glassfish.grizzly.websockets.Constants
 
RESPONSE_CODE_VALUE - Static variable in class org.glassfish.grizzly.websockets.Constants
 
resumeCometHandler(CometHandler) - Method in class org.glassfish.grizzly.comet.CometContext
Resume the Comet request and remove it from the active CometHandler list.
RFC6455Handler - Class in org.glassfish.grizzly.websockets.rfc6455
 
RFC6455Handler(boolean) - Constructor for class org.glassfish.grizzly.websockets.rfc6455.RFC6455Handler
 
RFC6455HandShake - Class in org.glassfish.grizzly.websockets.rfc6455
 
RFC6455HandShake(URI) - Constructor for class org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
 
RFC6455HandShake(HttpRequestPacket) - Constructor for class org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
 

S

SEC_WS_ACCEPT - Static variable in class org.glassfish.grizzly.websockets.Constants
 
SEC_WS_EXTENSIONS_HEADER - Static variable in class org.glassfish.grizzly.websockets.Constants
 
SEC_WS_KEY_HEADER - Static variable in class org.glassfish.grizzly.websockets.Constants
 
SEC_WS_ORIGIN_HEADER - Static variable in class org.glassfish.grizzly.websockets.Constants
 
SEC_WS_PROTOCOL_HEADER - Static variable in class org.glassfish.grizzly.websockets.Constants
 
SEC_WS_VERSION - Static variable in class org.glassfish.grizzly.websockets.Constants
 
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
 
SecKey(String) - Constructor for class org.glassfish.grizzly.websockets.SecKey
 
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(byte[]) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
send(String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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.SimpleWebSocket
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.SimpleWebSocket
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).
sendRaw(byte[]) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
SERVER_KEY_HASH - Static variable in class org.glassfish.grizzly.websockets.Constants
 
servletRequest - Variable in class org.glassfish.grizzly.websockets.DefaultWebSocket
 
set(Connection, ProtocolHandler, WebSocket) - Static method in class org.glassfish.grizzly.websockets.WebSocketHolder
 
setBroadcaster(Broadcaster) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
setBuffer(Buffer) - Method in class org.glassfish.grizzly.websockets.Masker
 
setClosed() - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
setCometContext(CometContext) - Method in class org.glassfish.grizzly.comet.CometEvent
Set the CometContext that fired this event.
setCometContext(CometContext<E>) - Method in interface org.glassfish.grizzly.comet.CometHandler
 
setCometContext(CometContext<E>) - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
 
setCometContext(CometContext<E>) - Method in class org.glassfish.grizzly.comet.DefaultCometHandler
 
setCometSupported(boolean) - Method in class org.glassfish.grizzly.comet.CometEngine
 
setConnection(Connection) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
setDetectClosedConnections(boolean) - Method in class org.glassfish.grizzly.comet.CometContext
Enable/disable the mechanism, which detects closed connections and notifies user's handlers via CometHandler.onInterrupt(org.glassfish.grizzly.comet.CometEvent) method.
setExpirationDelay(long) - Method in class org.glassfish.grizzly.comet.CometContext
Set the long delay before a request is resumed.
setExtensions(List<Extension>) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setFilterChainContext(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
setHeaders(HttpResponsePacket) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setHeaders(HttpResponsePacket) - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
 
setIdleTimeout(FilterChainContext) - Method in class org.glassfish.grizzly.websockets.BaseWebSocketFilter
 
setLast(boolean) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
setMappingData(WebSocketMappingData) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
setNotificationHandler(NotificationHandler) - Method in class org.glassfish.grizzly.comet.CometContext
Set the current NotificationHandler
setPayload(DataFrame, byte[]) - Method in class org.glassfish.grizzly.websockets.BaseFrameType
 
setPayload(byte[]) - Method in class org.glassfish.grizzly.websockets.ClosingFrame
 
setPayload(String) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
setPayload(byte[]) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
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
 
setResponse(Response) - Method in interface org.glassfish.grizzly.comet.CometHandler
 
setResponse(Response) - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
 
setResponse(Response) - Method in class org.glassfish.grizzly.comet.DefaultCometHandler
 
setSubProtocol(List<String>) - Method in class org.glassfish.grizzly.websockets.HandShake
 
setThreadPool(ExecutorService) - Method in class org.glassfish.grizzly.comet.DefaultNotificationHandler
Set the ExecutorService used for notifying the CometHandler.
setTimeoutInSeconds(long) - Method in class org.glassfish.grizzly.websockets.WebSocketAddOn
 
setType(CometEvent.Type) - Method in class org.glassfish.grizzly.comet.CometEvent
Set the type of this object.
setup(NetworkListener, FilterChainBuilder) - Method in class org.glassfish.grizzly.comet.CometAddOn
 
setup(NetworkListener, FilterChainBuilder) - Method in class org.glassfish.grizzly.websockets.WebSocketAddOn
setValue(String) - Method in class org.glassfish.grizzly.websockets.Extension.Parameter
Set the value of this parameter.
setWebSocket(WebSocket) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
SimpleWebSocket - Class in org.glassfish.grizzly.websockets
Generic WebSocket implementation.
SimpleWebSocket(ProtocolHandler, WebSocketListener...) - Constructor for class org.glassfish.grizzly.websockets.SimpleWebSocket
 
SimpleWebSocket.State - Enum in org.glassfish.grizzly.websockets
 
sockets - Variable in class org.glassfish.grizzly.websockets.WebSocketApplication
 
split(String) - Method in class org.glassfish.grizzly.websockets.HandShake
 
state - Variable in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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 class org.glassfish.grizzly.websockets.SimpleWebSocket
 
stream(boolean, byte[], int, int) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
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.
STRICT_UTF8_CHARSET - Static variable in class org.glassfish.grizzly.websockets.DataFrame
 
STRICT_UTF8_MAX_BYTES_PER_CHAR - Static variable in class org.glassfish.grizzly.websockets.DataFrame
 
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.

T

terminate() - Method in class org.glassfish.grizzly.comet.concurrent.DefaultConcurrentCometHandler
 
TextFrameType - Class in org.glassfish.grizzly.websockets.frametypes
 
TextFrameType() - Constructor for class org.glassfish.grizzly.websockets.frametypes.TextFrameType
 
threadPool - Variable in class org.glassfish.grizzly.comet.CometEngine
The ExecutorService used to execute
threadPool - Variable in class org.glassfish.grizzly.comet.DefaultNotificationHandler
The ExecutorService used to execute threaded notification.
toArray(long) - Static method in class org.glassfish.grizzly.websockets.Utils
 
toDataFrame(String) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
toDataFrame(byte[]) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
toDataFrame(String, boolean) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
toDataFrame(byte[], boolean) - Method in class org.glassfish.grizzly.websockets.ProtocolHandler
 
toLong(byte[], int, int) - Static method in class org.glassfish.grizzly.websockets.Utils
 
topic - Variable in class org.glassfish.grizzly.comet.CometContext
The context path associated with this instance.
toRawData(String) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
toRawData(byte[]) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
toRawData(String, boolean) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
toRawData(byte[], boolean) - Method in class org.glassfish.grizzly.websockets.SimpleWebSocket
 
toStream(OutputStream) - Method in class org.glassfish.grizzly.websockets.DataFrame
 
toString() - Method in class org.glassfish.grizzly.comet.CometContext
 
toString() - Method in class org.glassfish.grizzly.websockets.ClosingFrame
 
toString() - Method in class org.glassfish.grizzly.websockets.DataFrame
 
toString() - Method in class org.glassfish.grizzly.websockets.Extension.Parameter
 
toString() - Method in class org.glassfish.grizzly.websockets.Extension
 
toString() - Method in class org.glassfish.grizzly.websockets.SecKey
 
toString(byte[]) - Static method in class org.glassfish.grizzly.websockets.Utils
 
toString(byte[], int, int) - Static method in class org.glassfish.grizzly.websockets.Utils
 
toString() - Method in enum org.glassfish.grizzly.websockets.Version
 
type - Variable in class org.glassfish.grizzly.comet.CometEvent
This type of event.

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(String) - Method in class org.glassfish.grizzly.comet.CometEngine
Deprecated. 
unregister(WebSocketApplication) - Method in class org.glassfish.grizzly.websockets.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
 
updateUserPrincipal(Request) - Method in class org.glassfish.grizzly.websockets.glassfish.GlassfishSupport
 
UPGRADE - Static variable in class org.glassfish.grizzly.websockets.Constants
 
upgrade(HttpRequestPacket) - Method in class org.glassfish.grizzly.websockets.WebSocketApplication
Checks protocol specific information can and should be upgraded.
upgrade(FilterChainContext, HttpContent) - Method in class org.glassfish.grizzly.websockets.WebSocketEngine
 
upgrade(FilterChainContext, HttpContent, Mapper) - 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
 
Utils - Class in org.glassfish.grizzly.websockets
 
Utils() - Constructor for class org.glassfish.grizzly.websockets.Utils
 

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.SecKey
 
validateServerResponse(HttpResponsePacket) - Method in class org.glassfish.grizzly.websockets.HandShake
 
validateServerResponse(HttpResponsePacket) - Method in class org.glassfish.grizzly.websockets.rfc6455.RFC6455HandShake
 
valueOf(String) - Static method in enum org.glassfish.grizzly.comet.CometEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.grizzly.websockets.SimpleWebSocket.State
Returns the enum constant of this type with the specified name.
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.comet.CometEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.grizzly.websockets.SimpleWebSocket.State
Returns an array containing the constants of this enum type, in the order they are declared.
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 - Static variable in class org.glassfish.grizzly.websockets.Constants
 
WebSocket - Interface in org.glassfish.grizzly.websockets
General WebSocket unit interface.
webSocket - Variable in class org.glassfish.grizzly.websockets.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
 
WebSocketClientFilter - Class in org.glassfish.grizzly.websockets
 
WebSocketClientFilter() - Constructor for class org.glassfish.grizzly.websockets.WebSocketClientFilter
 
WebSocketEngine - Class in org.glassfish.grizzly.websockets
WebSockets engine implementation (singleton), which handles WebSocketApplications registration, responsible for client and server handshake validation.
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
 
WebSocketFilter() - Constructor for class org.glassfish.grizzly.websockets.WebSocketFilter
 
WebSocketFilter(long) - Constructor for class org.glassfish.grizzly.websockets.WebSocketFilter
 
WebSocketHolder - Class in org.glassfish.grizzly.websockets
WebSocketHolder object, which gets associated with the Grizzly Connection.
webSocketInProgress(Connection) - Static method in class org.glassfish.grizzly.websockets.BaseWebSocketFilter
 
WebSocketListener - Interface in org.glassfish.grizzly.websockets
Interface to allow notification of events occurring on specific WebSocket instances.
WebSocketMappingData - Class in org.glassfish.grizzly.websockets
Mapping information to be filled out during the WebSocketApplication discovery.
WebSocketMappingData(boolean) - Constructor for class org.glassfish.grizzly.websockets.WebSocketMappingData
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2023 Oracle Corporation. All Rights Reserved.