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

A

AbstractFrame - Class in org.atmosphere.jboss.websockets.frame
 
AbstractFrame(FrameType) - Constructor for class org.atmosphere.jboss.websockets.frame.AbstractFrame
 
AbstractWebSocket - Class in org.atmosphere.jboss.websockets.oio.internal
 
AbstractWebSocket(InputStream, OutputStream, ClosingStrategy) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.AbstractWebSocket
 
Assert - Class in org.atmosphere.jboss.websockets.oio.internal.util
 

B

Base64 - Class in org.atmosphere.jboss.websockets.oio.internal.util
Provides Base64 encoding and decoding as defined by RFC 2045.
Base64() - Constructor for class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(boolean) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in the given URL-safe mode.
Base64(int) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(int, byte[]) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
Base64(int, byte[], boolean) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode.
BinaryFrame - Class in org.atmosphere.jboss.websockets.frame
Represents a binary WebSocket frame.

C

CloseFrame - Class in org.atmosphere.jboss.websockets.frame
A socket closing frame.
closeSocket() - Method in class org.atmosphere.jboss.websockets.oio.internal.AbstractWebSocket
 
closeSocket() - Method in interface org.atmosphere.jboss.websockets.oio.OioWebSocket
Terminates the connection with the client and closes the socket.
ClosingStrategy - Interface in org.atmosphere.jboss.websockets.oio
A closing strategy represents the strategy with which a socket should terminate its connection with the client, if a condition arises that requires termination of the socket.
closingStrategy - Variable in class org.atmosphere.jboss.websockets.oio.internal.AbstractWebSocket
 
copy(HttpRequestBridge, HttpResponseBridge) - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 

D

decode(Object) - Method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Decodes an Object using the base64 algorithm.
decode(String) - Method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Decodes a String containing containing characters in the Base64 alphabet.
decode(byte[]) - Method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Decodes a byte[] containing containing characters in the Base64 alphabet.
decodeBase64(String) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Decodes a Base64 String into octets
decodeBase64(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Decodes Base64 data into octets
decodeInteger(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Decodes a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
decodeKey(String) - Static method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Handshake
 
doClose() - Method in interface org.atmosphere.jboss.websockets.oio.ClosingStrategy
Close the socket.
doDelete(HttpServletRequest, HttpServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
doHead(HttpServletRequest, HttpServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
doOptions(HttpServletRequest, HttpServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
doPut(HttpServletRequest, HttpServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
doTrace(HttpServletRequest, HttpServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 

E

encode(Object) - Method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes an Object using the base64 algorithm.
encode(byte[]) - Method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
encodeBase64(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes binary data using the base64 algorithm but does not chunk the output.
encodeBase64(byte[], boolean) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
encodeBase64(byte[], boolean, boolean) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
encodeBase64(byte[], boolean, boolean, int) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
encodeBase64Chunked(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
encodeBase64String(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes binary data using the base64 algorithm into 76 character blocks separated by CRLF.
encodeBase64URLSafe(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
encodeBase64URLSafeString(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
encodeInteger(BigInteger) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes to a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
encodeToString(byte[]) - Method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Encodes a byte[] containing binary data, into a String containing characters in the Base64 alphabet.
establish(String, HttpRequestBridge, HttpResponseBridge, ClosingStrategy) - Static method in class org.atmosphere.jboss.websockets.oio.WebSocketConnectionManager
 
event(HttpEvent) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
Handle an event from the web container.

F

Frame - Interface in org.atmosphere.jboss.websockets
Represents a single web socket frame.
FrameType - Enum in org.atmosphere.jboss.websockets
 
from(byte[]) - Static method in class org.atmosphere.jboss.websockets.frame.BinaryFrame
 
from(String) - Static method in class org.atmosphere.jboss.websockets.frame.TextFrame
 
from(HttpRequestBridge, HttpResponseBridge, ClosingStrategy) - Static method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Socket
 
from(HttpRequestBridge, HttpResponseBridge, ClosingStrategy) - Static method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Socket
 
from(HttpRequestBridge, HttpResponseBridge, ClosingStrategy) - Static method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Socket
 

G

generateResponse(HttpRequestBridge, HttpResponseBridge) - Method in class org.atmosphere.jboss.websockets.oio.internal.Handshake
 
generateResponse(HttpRequestBridge, HttpResponseBridge) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Handshake
 
generateResponse(HttpRequestBridge, HttpResponseBridge) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Handshake
 
generateResponse(HttpRequestBridge, HttpResponseBridge) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Handshake
 
get() - Static method in class org.atmosphere.jboss.websockets.frame.CloseFrame
 
get() - Static method in class org.atmosphere.jboss.websockets.frame.PingFrame
 
get() - Static method in class org.atmosphere.jboss.websockets.frame.PongFrame
 
get(HttpRequestBridge) - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 
get(HttpResponseBridge) - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 
getByteArray() - Method in class org.atmosphere.jboss.websockets.frame.BinaryFrame
 
getCanonicalHeaderName() - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 
getHashAlgorithm() - Method in class org.atmosphere.jboss.websockets.oio.internal.Handshake
 
getHeader(String) - Method in interface org.atmosphere.jboss.websockets.oio.HttpRequestBridge
 
getHeader(String) - Method in interface org.atmosphere.jboss.websockets.oio.HttpResponseBridge
 
getHttpSession() - Method in interface org.atmosphere.jboss.as.websockets.WebSocket
Return the HTTP Session with which this WebSocket is associated.
getInputStream() - Method in interface org.atmosphere.jboss.websockets.oio.HttpRequestBridge
 
getLastModified(HttpServletRequest) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
getMagicNumber() - Method in class org.atmosphere.jboss.websockets.oio.internal.Handshake
 
getOutputStream() - Method in interface org.atmosphere.jboss.websockets.oio.HttpResponseBridge
 
getRandomBytes(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Hash
 
getRequestURI() - Method in interface org.atmosphere.jboss.websockets.oio.HttpRequestBridge
 
getServletRequest() - Method in interface org.atmosphere.jboss.as.websockets.WebSocket
Get an instance of the initial ServletRequest which was responsible for opening this WebSocket.
getSocketID() - Method in class org.atmosphere.jboss.websockets.oio.internal.AbstractWebSocket
 
getSocketID() - Method in interface org.atmosphere.jboss.websockets.oio.OioWebSocket
A unique ID associated with the socket, which can be used for session association.
getText() - Method in class org.atmosphere.jboss.websockets.frame.TextFrame
 
getType() - Method in class org.atmosphere.jboss.websockets.frame.AbstractFrame
 
getType() - Method in interface org.atmosphere.jboss.websockets.Frame
 
getVersion() - Method in class org.atmosphere.jboss.websockets.oio.internal.Handshake
 
getWebSocket(HttpRequestBridge, HttpResponseBridge, ClosingStrategy) - Method in class org.atmosphere.jboss.websockets.oio.internal.Handshake
 
getWebSocket(HttpRequestBridge, HttpResponseBridge, ClosingStrategy) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Handshake
 
getWebSocket(HttpRequestBridge, HttpResponseBridge, ClosingStrategy) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Handshake
 
getWebSocket(HttpRequestBridge, HttpResponseBridge, ClosingStrategy) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Handshake
 
getWebSocketLocation(HttpRequestBridge) - Method in class org.atmosphere.jboss.websockets.oio.internal.Handshake
 

H

Handshake - Class in org.atmosphere.jboss.websockets.oio.internal
 
Handshake(String, String, String) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.Handshake
 
Hash - Class in org.atmosphere.jboss.websockets.oio.internal.util
 
hashToHexString(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Hash
 
HttpRequestBridge - Interface in org.atmosphere.jboss.websockets.oio
This is an abstraction of an http request so that this code can be re-used in different HTTP Engines (i.e.
HttpResponseBridge - Interface in org.atmosphere.jboss.websockets.oio
This is an abstraction of an http response so that this code can be re-used in different HTTP Engines (i.e.
Hybi00Handshake - Class in org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00
 
Hybi00Handshake() - Constructor for class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Handshake
 
Hybi00Socket - Class in org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00
The Hybi-00 Framing Protocol implementation.
Hybi07Handshake - Class in org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07
The handshaking protocol implementation for Hybi-07.
Hybi07Handshake(String) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Handshake
 
Hybi07Handshake() - Constructor for class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Handshake
 
Hybi07Socket - Class in org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07
Implementation of the Hybi-07 Websocket Framing Protocol.
Hybi07Socket(InputStream, OutputStream, ClosingStrategy) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Socket
 
Hybi08Handshake - Class in org.atmosphere.jboss.websockets.oio.internal.protocol.ietf08
The handshaking protocol impelemtation for Hybi-07, which is identical to Hybi-08, and thus is just a thin subclass of Hybi07Handshake that sets a different version number.
Hybi08Handshake() - Constructor for class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf08.Hybi08Handshake
 
Hybi13Handshake - Class in org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13
The handshaking protocol implementation for Hybi-13.
Hybi13Handshake() - Constructor for class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Handshake
 
Hybi13Socket - Class in org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13
 
Hybi13Socket(InputStream, OutputStream, ClosingStrategy) - Constructor for class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Socket
 

I

inputStream - Variable in class org.atmosphere.jboss.websockets.oio.internal.AbstractWebSocket
 
isArrayByteBase64(byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
isBase64(byte) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Returns whether or not the octet is in the base 64 alphabet.
isIn(HttpRequestBridge) - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 
isIn(HttpResponseBridge) - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 
isUrlSafe() - Method in class org.atmosphere.jboss.websockets.oio.internal.util.Base64
Returns our current encode mode.

M

main(String[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Socket
 
matches(HttpRequestBridge) - Method in class org.atmosphere.jboss.websockets.oio.internal.Handshake
 
matches(HttpRequestBridge) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Handshake
 
matches(HttpRequestBridge) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Handshake
 
matches(HttpRequestBridge, String) - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 
matches(HttpResponseBridge, String) - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 

N

newUniqueHash() - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Hash
 
notNull(T, String) - Static method in class org.atmosphere.jboss.websockets.oio.internal.util.Assert
 

O

OioWebSocket - Interface in org.atmosphere.jboss.websockets.oio
A WebSocket that blocks when you readFrame or writeFrame.
onReceivedFrame(WebSocket) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
Called when a new text frame is received.
onSocketClosed(WebSocket) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
Called when the websocket is closed.
onSocketOpened(WebSocket) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
Called when a new websocket is opened.
org.atmosphere.jboss.as.websockets - package org.atmosphere.jboss.as.websockets
 
org.atmosphere.jboss.as.websockets.servlet - package org.atmosphere.jboss.as.websockets.servlet
 
org.atmosphere.jboss.websockets - package org.atmosphere.jboss.websockets
 
org.atmosphere.jboss.websockets.frame - package org.atmosphere.jboss.websockets.frame
 
org.atmosphere.jboss.websockets.oio - package org.atmosphere.jboss.websockets.oio
 
org.atmosphere.jboss.websockets.oio.internal - package org.atmosphere.jboss.websockets.oio.internal
 
org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00 - package org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00
 
org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07 - package org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07
 
org.atmosphere.jboss.websockets.oio.internal.protocol.ietf08 - package org.atmosphere.jboss.websockets.oio.internal.protocol.ietf08
 
org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13 - package org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13
 
org.atmosphere.jboss.websockets.oio.internal.util - package org.atmosphere.jboss.websockets.oio.internal.util
 
outputStream - Variable in class org.atmosphere.jboss.websockets.oio.internal.AbstractWebSocket
 

P

PingFrame - Class in org.atmosphere.jboss.websockets.frame
 
PongFrame - Class in org.atmosphere.jboss.websockets.frame
 

R

readFrame() - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Socket
 
readFrame() - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Socket
 
readFrame() - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Socket
 
readFrame() - Method in interface org.atmosphere.jboss.websockets.oio.OioWebSocket
Read a single frame from the socket.

S

sendUpgrade() - Method in interface org.atmosphere.jboss.websockets.oio.HttpResponseBridge
Send the switching protocol HTTP status and commit the response by flushing the buffer.
service(HttpServletRequest, HttpServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
service(ServletRequest, ServletResponse) - Method in class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
set(HttpResponseBridge, String) - Method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
 
setHeader(String, String) - Method in interface org.atmosphere.jboss.websockets.oio.HttpResponseBridge
 
solve(String, String, String, byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Handshake
 
solve(String, long, long, byte[]) - Static method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Handshake
 
solve(String) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Handshake
 
startUpgrade() - Method in interface org.atmosphere.jboss.websockets.oio.HttpResponseBridge
Start the connection upgrade process.

T

TextFrame - Class in org.atmosphere.jboss.websockets.frame
 

V

valueOf(String) - Static method in enum org.atmosphere.jboss.websockets.FrameType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.atmosphere.jboss.websockets.FrameType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.atmosphere.jboss.websockets.oio.internal.WebSocketHeaders
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebSocket - Interface in org.atmosphere.jboss.as.websockets
Represents a handle to a single WebSocket connection.
WebSocketConnectionManager - Class in org.atmosphere.jboss.websockets.oio
 
WebSocketConnectionManager() - Constructor for class org.atmosphere.jboss.websockets.oio.WebSocketConnectionManager
 
WebSocketHeaders - Enum in org.atmosphere.jboss.websockets.oio.internal
 
webSocketId - Variable in class org.atmosphere.jboss.websockets.oio.internal.AbstractWebSocket
 
WebSocketServlet - Class in org.atmosphere.jboss.as.websockets.servlet
A very, very early and experimental spike to get websockets working in JBoss AS.
WebSocketServlet(String) - Constructor for class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
Set the protocol name to be returned in the Sec-WebSocket-Protocol header attribute during negotiation.
WebSocketServlet() - Constructor for class org.atmosphere.jboss.as.websockets.servlet.WebSocketServlet
 
writeFrame(Frame) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Socket
 
writeFrame(Frame) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Socket
 
writeFrame(Frame) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Socket
 
writeFrame(Frame) - Method in interface org.atmosphere.jboss.websockets.oio.OioWebSocket
Write a frame to the socket.
writeTextFrame(String) - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf00.Hybi00Socket
 

_

_readBinaryFrame() - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf07.Hybi07Socket
 
_readBinaryFrame() - Method in class org.atmosphere.jboss.websockets.oio.internal.protocol.ietf13.Hybi13Socket
 

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

Copyright © 2013. All Rights Reserved.