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

A

accept(NetworkHandler) - Method in enum com.sun.grizzly.websockets.FrameType
 
add(WebSocketListener) - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
add(WebSocketListener) - Method in interface com.sun.grizzly.websockets.WebSocket
 
add(WebSocket) - Method in class com.sun.grizzly.websockets.WebSocketApplication
 

B

BaseServerWebSocket - Class in com.sun.grizzly.websockets
 
BaseServerWebSocket(WebSocketListener...) - Constructor for class com.sun.grizzly.websockets.BaseServerWebSocket
 
BaseWebSocket - Class in com.sun.grizzly.websockets
 
BaseWebSocket(WebSocketListener...) - Constructor for class com.sun.grizzly.websockets.BaseWebSocket
 

C

CLIENT_WS_ORIGIN_HEADER - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
ClientHandShake - Class in com.sun.grizzly.websockets
 
ClientHandShake(boolean, String, String, String, String) - Constructor for class com.sun.grizzly.websockets.ClientHandShake
 
ClientHandShake(Request, boolean, ByteChunk) - Constructor for class com.sun.grizzly.websockets.ClientHandShake
 
ClientNetworkHandler - Class in com.sun.grizzly.websockets
 
ClientNetworkHandler(ClientWebSocket) - Constructor for class com.sun.grizzly.websockets.ClientNetworkHandler
 
ClientWebSocket - Class in com.sun.grizzly.websockets
 
ClientWebSocket(String, WebSocketListener...) - Constructor for class com.sun.grizzly.websockets.ClientWebSocket
 
ClientWebSocket(String, long, WebSocketListener...) - Constructor for class com.sun.grizzly.websockets.ClientWebSocket
 
close() - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
close() - Method in interface com.sun.grizzly.websockets.WebSocket
 
com.sun.grizzly.websockets - package com.sun.grizzly.websockets
 
connect() - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
constrainApplications - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
create(String) - Static method in class com.sun.grizzly.websockets.SecKey
Create a SecKey object basing on String representation, which includes spaces and chars.
createNetworkHandler() - Method in class com.sun.grizzly.websockets.ClientWebSocket
 
createNetworkHandler(Selector) - Method in class com.sun.grizzly.websockets.NioClientWebSocket
 
createSocket(WebSocketListener...) - Method in class com.sun.grizzly.websockets.WebSocketApplication
 

D

DataFrame - Class in com.sun.grizzly.websockets
 
DataFrame(FrameType) - Constructor for class com.sun.grizzly.websockets.DataFrame
 
DataFrame(String) - Constructor for class com.sun.grizzly.websockets.DataFrame
 
DEFAULT_TIMEOUT - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
doConnect(boolean) - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
doFilter(AsyncExecutor) - Method in class com.sun.grizzly.websockets.WebSocketAsyncFilter
 
doWrite(ByteChunk, Response) - Method in class com.sun.grizzly.websockets.WebSocketOutputFilter
 

E

enableRead() - Method in class com.sun.grizzly.websockets.WebSocketSelectionKeyAttachment
 
end() - Method in class com.sun.grizzly.websockets.WebSocketOutputFilter
 
execute(Runnable) - Method in class com.sun.grizzly.websockets.ClientWebSocket
 
execute(Runnable) - Method in class com.sun.grizzly.websockets.NioClientWebSocket
 

F

frame() - Method in class com.sun.grizzly.websockets.DataFrame
 
frame(FrameType) - Method in class com.sun.grizzly.websockets.DataFrame
 
frame(byte[]) - Method in enum com.sun.grizzly.websockets.FrameType
 
FrameType - Enum in com.sun.grizzly.websockets
 

G

generateSecKey() - Static method in class com.sun.grizzly.websockets.SecKey
Generates random security key.
generateServerKey(SecKey, SecKey, byte[]) - Static method in class com.sun.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 com.sun.grizzly.websockets.ClientNetworkHandler
 
get() - Method in interface com.sun.grizzly.websockets.NetworkHandler
 
get() - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
get() - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
get() - Method in class com.sun.grizzly.websockets.WebSocketConnectTask
 
getAddress() - Method in class com.sun.grizzly.websockets.ClientWebSocket
 
getAddress() - Method in class com.sun.grizzly.websockets.NioClientWebSocket
 
getApplication(Request) - Method in class com.sun.grizzly.websockets.WebSocketEngine
 
getAttachment() - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
getBinaryPayload() - Method in class com.sun.grizzly.websockets.DataFrame
 
getBytes() - Method in class com.sun.grizzly.websockets.ClientHandShake
 
getCode() - Method in exception com.sun.grizzly.websockets.HandshakeException
Get the error code.
getEncodingName() - Method in class com.sun.grizzly.websockets.WebSocketOutputFilter
 
getEngine() - Static method in class com.sun.grizzly.websockets.WebSocketEngine
 
getHandler() - Method in class com.sun.grizzly.websockets.WebSocketSelectionKeyAttachment
 
getKey() - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
getKey() - Method in class com.sun.grizzly.websockets.ServerHandShake
 
getKey1() - Method in class com.sun.grizzly.websockets.ClientHandShake
 
getKey2() - Method in class com.sun.grizzly.websockets.ClientHandShake
 
getKey3() - Method in class com.sun.grizzly.websockets.ClientHandShake
 
getListeners() - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
getLocation() - Method in class com.sun.grizzly.websockets.HandShake
 
getNetworkHandler() - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
getOrigin() - Method in class com.sun.grizzly.websockets.HandShake
Origin (bytes 4F 72 69 67 69 6E; always the fourth name-value pair)

The value gives the scheme, hostname, and port (if it's not the default port for the given scheme) of the page that asked the client to open the Web Socket.

getPort() - Method in class com.sun.grizzly.websockets.HandShake
 
getRequest() - Method in class com.sun.grizzly.websockets.BaseServerWebSocket
 
getRequest() - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
getResourcePath() - Method in class com.sun.grizzly.websockets.HandShake
 
getResponse() - Method in class com.sun.grizzly.websockets.BaseServerWebSocket
 
getResponse() - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
getSecKey() - Method in class com.sun.grizzly.websockets.SecKey
Gets security key string representation, which includes chars and spaces.
getSecKeyValue() - Method in class com.sun.grizzly.websockets.SecKey
Gets original security key value (already divided by number of spaces).
getSelectionKey() - Method in class com.sun.grizzly.websockets.WebSocketSelectionKeyAttachment
 
getServerHostName() - Method in class com.sun.grizzly.websockets.HandShake
 
getSSLSocketFactory() - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
getSubProtocol() - Method in class com.sun.grizzly.websockets.HandShake
WebSocket-Protocol (bytes 57 65 62 53 6F 63 6B 65 74 2D 50 72 6F 74 6F 63 6F 6C; optional, if present, will be the fifth name-value pair) The value gives the name of a subprotocol that the client is intending to select.
getTextPayload() - Method in class com.sun.grizzly.websockets.DataFrame
 
getType() - Method in class com.sun.grizzly.websockets.DataFrame
 
getWebSocket() - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
getWebSocket() - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
getWebSocket() - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
getWebSockets() - Method in class com.sun.grizzly.websockets.WebSocketApplication
Returns a set of WebSockets, registered with the application.

H

handleSelectedKey(SelectionKey) - Method in class com.sun.grizzly.websockets.WebSocketSelectionKeyAttachment
 
handshake() - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
HandShake - Class in com.sun.grizzly.websockets
 
HandShake(boolean, String) - Constructor for class com.sun.grizzly.websockets.HandShake
 
HandShake(boolean, String, String, String, String) - Constructor for class com.sun.grizzly.websockets.HandShake
 
handshake(boolean) - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
HandshakeException - Exception in com.sun.grizzly.websockets
Exception, which describes the error, occurred during the WebSocket handshake phase.
HandshakeException(String) - Constructor for exception com.sun.grizzly.websockets.HandshakeException
Construct a HandshakeException.
HandshakeException(int, String) - Constructor for exception com.sun.grizzly.websockets.HandshakeException
Construct a HandshakeException.

I

init() - Static method in class com.sun.grizzly.websockets.SecKey
 
INITIAL_BUFFER_SIZE - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
InvalidSecurityKeyException - Exception in com.sun.grizzly.websockets
 
InvalidSecurityKeyException(String) - Constructor for exception com.sun.grizzly.websockets.InvalidSecurityKeyException
 
isApplicationRequest(Request) - Method in class com.sun.grizzly.websockets.WebSocketApplication
Checks application specific criteria to determine if this application can process the Request as a WebSocket connection.
isConnected() - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
isConnected() - Method in interface com.sun.grizzly.websockets.WebSocket
 
isSecure() - Method in class com.sun.grizzly.websockets.HandShake
 
isWebSocketEnabled() - Static method in class com.sun.grizzly.websockets.WebSocketEngine
Return true is Comet is enabled, e.g.

L

locallyClosed(SelectionKey) - Method in class com.sun.grizzly.websockets.WebSocketCloseHandler
 
logger - Static variable in class com.sun.grizzly.websockets.BaseWebSocket
 

N

NetworkHandler - Interface in com.sun.grizzly.websockets
 
NioClientNetworkHandler - Class in com.sun.grizzly.websockets
 
NioClientNetworkHandler(Selector, NioClientWebSocket) - Constructor for class com.sun.grizzly.websockets.NioClientNetworkHandler
 
NioClientWebSocket - Class in com.sun.grizzly.websockets
 
NioClientWebSocket(String, WebSocketListener...) - Constructor for class com.sun.grizzly.websockets.NioClientWebSocket
 
NioClientWebSocket(String, long, WebSocketListener...) - Constructor for class com.sun.grizzly.websockets.NioClientWebSocket
 

O

onClose() - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
onClose() - Method in interface com.sun.grizzly.websockets.WebSocket
 
onClose(WebSocket) - Method in class com.sun.grizzly.websockets.WebSocketAdapter
 
onClose(WebSocket) - Method in class com.sun.grizzly.websockets.WebSocketApplication
 
onClose(WebSocket) - Method in interface com.sun.grizzly.websockets.WebSocketListener
 
onConnect() - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
onConnect() - Method in interface com.sun.grizzly.websockets.WebSocket
 
onConnect(WebSocket) - Method in class com.sun.grizzly.websockets.WebSocketAdapter
 
onConnect(WebSocket) - Method in class com.sun.grizzly.websockets.WebSocketApplication
 
onConnect(WebSocket) - Method in interface com.sun.grizzly.websockets.WebSocketListener
 
onMessage(DataFrame) - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
onMessage(DataFrame) - Method in interface com.sun.grizzly.websockets.WebSocket
 
onMessage(WebSocket, DataFrame) - Method in class com.sun.grizzly.websockets.WebSocketAdapter
 
onMessage(WebSocket, DataFrame) - Method in interface com.sun.grizzly.websockets.WebSocketListener
 

P

peek(byte...) - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
peek(byte...) - Method in interface com.sun.grizzly.websockets.NetworkHandler
 
peek(byte...) - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
peek(byte...) - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
process(SelectionKey) - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 

R

read(NetworkHandler) - Static method in class com.sun.grizzly.websockets.DataFrame
 
readFrame() - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
readFrame() - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
readFrame() - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
recycle() - Method in class com.sun.grizzly.websockets.WebSocketOutputFilter
 
register(String, WebSocketApplication) - Method in class com.sun.grizzly.websockets.WebSocketEngine
Deprecated. 
register(WebSocketApplication) - Method in class com.sun.grizzly.websockets.WebSocketEngine
 
remotlyClosed(SelectionKey) - Method in class com.sun.grizzly.websockets.WebSocketCloseHandler
 
remove(WebSocketListener) - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
remove(WebSocketListener) - Method in interface com.sun.grizzly.websockets.WebSocket
 
remove(WebSocket) - Method in class com.sun.grizzly.websockets.WebSocketApplication
 
respond(WebSocket) - Method in class com.sun.grizzly.websockets.DataFrame
 
respond(WebSocket, DataFrame) - Method in enum com.sun.grizzly.websockets.FrameType
 
respond(Response) - Method in class com.sun.grizzly.websockets.ServerHandShake
 
run() - Method in class com.sun.grizzly.websockets.WebSocketSelectionKeyAttachment
 

S

SEC_WS_KEY1_HEADER - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
SEC_WS_KEY2_HEADER - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
SEC_WS_PROTOCOL_HEADER - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
SecKey - Class in com.sun.grizzly.websockets
Class represents WebSocket's security key, used during the handshake phase.
selectTimeout - Variable in class com.sun.grizzly.websockets.NioClientWebSocket
 
send(String) - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
send(DataFrame) - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
send(DataFrame) - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
send(DataFrame) - Method in interface com.sun.grizzly.websockets.NetworkHandler
 
send(DataFrame) - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
send(DataFrame) - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
send(String) - Method in interface com.sun.grizzly.websockets.WebSocket
Write the data to the socket.
send(DataFrame) - Method in interface com.sun.grizzly.websockets.WebSocket
 
SERVER_SEC_WS_LOCATION_HEADER - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
SERVER_SEC_WS_ORIGIN_HEADER - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
ServerHandShake - Class in com.sun.grizzly.websockets
 
ServerHandShake(boolean, String, String, String, String, String, SecKey, SecKey, byte[]) - Constructor for class com.sun.grizzly.websockets.ServerHandShake
 
ServerNetworkHandler - Class in com.sun.grizzly.websockets
 
ServerNetworkHandler(Request, Response) - Constructor for class com.sun.grizzly.websockets.ServerNetworkHandler
 
ServerNetworkHandler(ProcessorTask, AsyncProcessorTask, Request, Response) - Constructor for class com.sun.grizzly.websockets.ServerNetworkHandler
 
setBuffer(OutputBuffer) - Method in class com.sun.grizzly.websockets.WebSocketOutputFilter
 
setBytes(byte[]) - Method in class com.sun.grizzly.websockets.DataFrame
 
setChannel(SocketChannel) - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
setLocation(String) - Method in class com.sun.grizzly.websockets.HandShake
 
setNetworkHandler(NetworkHandler) - Method in class com.sun.grizzly.websockets.BaseWebSocket
 
setOrigin(String) - Method in class com.sun.grizzly.websockets.HandShake
 
setPort(String) - Method in class com.sun.grizzly.websockets.HandShake
 
setResourcePath(String) - Method in class com.sun.grizzly.websockets.HandShake
 
setResponse(Response) - Method in class com.sun.grizzly.websockets.WebSocketOutputFilter
 
setSecure(boolean) - Method in class com.sun.grizzly.websockets.HandShake
 
setServerHostName(String) - Method in class com.sun.grizzly.websockets.HandShake
 
setSubProtocol(String) - Method in class com.sun.grizzly.websockets.HandShake
 
setTextPayload(String) - Method in class com.sun.grizzly.websockets.DataFrame
 
setType(FrameType) - Method in class com.sun.grizzly.websockets.DataFrame
 
setWebSocket(WebSocket) - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
setWebSocket(WebSocket) - Method in interface com.sun.grizzly.websockets.NetworkHandler
 
setWebSocket(WebSocket) - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
setWebSocket(BaseWebSocket) - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
setWebSocket(WebSocket) - Method in class com.sun.grizzly.websockets.ServerNetworkHandler
 
setWebSocketEnabled(boolean) - Static method in class com.sun.grizzly.websockets.WebSocketEngine
 
shutdown() - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
shutdown() - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 
State - Enum in com.sun.grizzly.websockets
 

T

timedOut(SelectionKey) - Method in class com.sun.grizzly.websockets.WebSocketSelectionKeyAttachment
 
toString() - Method in class com.sun.grizzly.websockets.DataFrame
 
toString() - Method in class com.sun.grizzly.websockets.SecKey
 

U

unframe(NetworkHandler) - Method in enum com.sun.grizzly.websockets.FrameType
 
unregister(WebSocketApplication) - Method in class com.sun.grizzly.websockets.WebSocketEngine
 
upgrade(Request) - Method in class com.sun.grizzly.websockets.WebSocketApplication
Checks protocol specific information and queries #isApplicationRequest(Request) to see if the Request should be upgraded.
upgrade(AsyncExecutor) - Method in class com.sun.grizzly.websockets.WebSocketEngine
 

V

validateSecKey(String) - Static method in class com.sun.grizzly.websockets.SecKey
Validate security key, represented as string value (which includes chars and spaces).
validateServerResponse(byte[]) - Method in class com.sun.grizzly.websockets.ClientHandShake
 
valueOf(String) - Static method in enum com.sun.grizzly.websockets.FrameType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.sun.grizzly.websockets.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sun.grizzly.websockets.FrameType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum com.sun.grizzly.websockets.State
Returns an array containing the constants of this enum type, in the order they're declared.

W

WebSocket - Interface in com.sun.grizzly.websockets
 
WEBSOCKET - Static variable in class com.sun.grizzly.websockets.WebSocketEngine
 
WebSocketAdapter - Class in com.sun.grizzly.websockets
 
WebSocketAdapter() - Constructor for class com.sun.grizzly.websockets.WebSocketAdapter
 
WebSocketApplication - Class in com.sun.grizzly.websockets
 
WebSocketApplication() - Constructor for class com.sun.grizzly.websockets.WebSocketApplication
 
WebSocketAsyncFilter - Class in com.sun.grizzly.websockets
 
WebSocketAsyncFilter() - Constructor for class com.sun.grizzly.websockets.WebSocketAsyncFilter
 
WebSocketCloseHandler - Class in com.sun.grizzly.websockets
 
WebSocketCloseHandler() - Constructor for class com.sun.grizzly.websockets.WebSocketCloseHandler
 
WebSocketConnectTask - Class in com.sun.grizzly.websockets
 
WebSocketConnectTask(NioClientWebSocket) - Constructor for class com.sun.grizzly.websockets.WebSocketConnectTask
 
WebSocketEngine - Class in com.sun.grizzly.websockets
 
WebSocketListener - Interface in com.sun.grizzly.websockets
 
WebSocketOutputFilter - Class in com.sun.grizzly.websockets
 
WebSocketOutputFilter() - Constructor for class com.sun.grizzly.websockets.WebSocketOutputFilter
 
WebSocketSelectionKeyAttachment - Class in com.sun.grizzly.websockets
 
WebSocketSelectionKeyAttachment(ServerNetworkHandler, ProcessorTask, AsyncProcessorTask) - Constructor for class com.sun.grizzly.websockets.WebSocketSelectionKeyAttachment
 
write(byte[]) - Method in class com.sun.grizzly.websockets.ClientNetworkHandler
 
write(byte[]) - Method in class com.sun.grizzly.websockets.NioClientNetworkHandler
 

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

Copyright © 2011 Oracle Corpration. All Rights Reserved.