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

A

abort() - Method in class net.tootallnate.websocket.WebSocket
 
abort(String) - Method in class net.tootallnate.websocket.WebSocket
 
acceptHandshakeAsClient(Handshakedata, Handshakedata) - Method in class net.tootallnate.websocket.Draft
 
acceptHandshakeAsClient(Handshakedata, Handshakedata) - Method in class net.tootallnate.websocket.drafts.Draft_10
 
acceptHandshakeAsClient(Handshakedata, Handshakedata) - Method in class net.tootallnate.websocket.drafts.Draft_75
 
acceptHandshakeAsClient(Handshakedata, Handshakedata) - Method in class net.tootallnate.websocket.drafts.Draft_76
 
acceptHandshakeAsServer(Handshakedata) - Method in class net.tootallnate.websocket.Draft
 
acceptHandshakeAsServer(Handshakedata) - Method in class net.tootallnate.websocket.drafts.Draft_10
 
acceptHandshakeAsServer(Handshakedata) - Method in class net.tootallnate.websocket.drafts.Draft_17
 
acceptHandshakeAsServer(Handshakedata) - Method in class net.tootallnate.websocket.drafts.Draft_75
 
acceptHandshakeAsServer(Handshakedata) - Method in class net.tootallnate.websocket.drafts.Draft_76
 
append(Framedata) - Method in interface net.tootallnate.websocket.Framedata
 
append(Framedata) - Method in class net.tootallnate.websocket.FramedataImpl1
 
asciiBytes(String) - Static method in class net.tootallnate.websocket.Charsetfunctions
 

B

Base64 - Class in net.tootallnate.websocket
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in net.tootallnate.websocket
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.InputStream(InputStream) - Constructor for class net.tootallnate.websocket.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class net.tootallnate.websocket.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in net.tootallnate.websocket
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream(OutputStream) - Constructor for class net.tootallnate.websocket.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class net.tootallnate.websocket.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
basicAccept(Handshakedata) - Method in class net.tootallnate.websocket.Draft
 

C

Charsetfunctions - Class in net.tootallnate.websocket
 
Charsetfunctions() - Constructor for class net.tootallnate.websocket.Charsetfunctions
 
checkAlloc(int) - Method in class net.tootallnate.websocket.Draft
 
close() - Method in class net.tootallnate.websocket.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close() - Method in class net.tootallnate.websocket.WebSocket
Closes the underlying SocketChannel, and calls the listener's onClose event handler.
close() - Method in class net.tootallnate.websocket.WebSocketClient
Calls close on the underlying SocketChannel, which in turn closes the socket connection, and ends the client socket thread.
connect() - Method in class net.tootallnate.websocket.WebSocketClient
Starts a background thread that attempts and maintains a WebSocket connection to the URI specified in the constructor or via setURI.
connections() - Method in class net.tootallnate.websocket.WebSocketServer
Returns a WebSocket[] of currently connected clients.
CR - Static variable in class net.tootallnate.websocket.drafts.Draft_75
The byte representing CR, or Carriage Return, or \r
createBinaryFrame(Framedata) - Method in class net.tootallnate.websocket.Draft
 
createBinaryFrame(Framedata) - Method in class net.tootallnate.websocket.drafts.Draft_10
 
createBinaryFrame(Framedata) - Method in class net.tootallnate.websocket.drafts.Draft_75
 
createChallenge(String, String, byte[]) - Static method in class net.tootallnate.websocket.drafts.Draft_76
 
createFrames(byte[], boolean) - Method in class net.tootallnate.websocket.Draft
 
createFrames(String, boolean) - Method in class net.tootallnate.websocket.Draft
 
createFrames(byte[], boolean) - Method in class net.tootallnate.websocket.drafts.Draft_10
 
createFrames(String, boolean) - Method in class net.tootallnate.websocket.drafts.Draft_10
 
createFrames(byte[], boolean) - Method in class net.tootallnate.websocket.drafts.Draft_75
 
createFrames(String, boolean) - Method in class net.tootallnate.websocket.drafts.Draft_75
 
createHandshake(Handshakedata, WebSocket.Role) - Method in class net.tootallnate.websocket.Draft
 
createHandshake(Handshakedata, WebSocket.Role, boolean) - Method in class net.tootallnate.websocket.Draft
 

D

DEBUG - Static variable in class net.tootallnate.websocket.WebSocket
 
DECODE - Static variable in class net.tootallnate.websocket.Base64
Specify decoding in first bit.
decode(byte[]) - Static method in class net.tootallnate.websocket.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class net.tootallnate.websocket.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class net.tootallnate.websocket.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class net.tootallnate.websocket.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decodeFileToFile(String, String) - Static method in class net.tootallnate.websocket.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class net.tootallnate.websocket.Base64
Convenience method for reading a base64-encoded file and decoding it.
decodeToFile(String, String) - Static method in class net.tootallnate.websocket.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class net.tootallnate.websocket.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int, ClassLoader) - Static method in class net.tootallnate.websocket.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DEFAULT_PORT - Static variable in class net.tootallnate.websocket.WebSocket
The default port of WebSockets, as defined in the spec.
DO_BREAK_LINES - Static variable in class net.tootallnate.websocket.Base64
Do break lines when encoding.
DONT_GUNZIP - Static variable in class net.tootallnate.websocket.Base64
Specify that gzipped data should not be automatically gunzipped.
Draft - Class in net.tootallnate.websocket
 
Draft() - Constructor for class net.tootallnate.websocket.Draft
 
Draft.HandshakeState - Enum in net.tootallnate.websocket
 
Draft_10 - Class in net.tootallnate.websocket.drafts
 
Draft_10() - Constructor for class net.tootallnate.websocket.drafts.Draft_10
 
Draft_17 - Class in net.tootallnate.websocket.drafts
 
Draft_17() - Constructor for class net.tootallnate.websocket.drafts.Draft_17
 
Draft_75 - Class in net.tootallnate.websocket.drafts
 
Draft_75() - Constructor for class net.tootallnate.websocket.drafts.Draft_75
 
Draft_76 - Class in net.tootallnate.websocket.drafts
 
Draft_76() - Constructor for class net.tootallnate.websocket.drafts.Draft_76
 

E

ENCODE - Static variable in class net.tootallnate.websocket.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - Static method in class net.tootallnate.websocket.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class net.tootallnate.websocket.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
encodeBytes(byte[]) - Static method in class net.tootallnate.websocket.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class net.tootallnate.websocket.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class net.tootallnate.websocket.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class net.tootallnate.websocket.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class net.tootallnate.websocket.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - Static method in class net.tootallnate.websocket.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeFileToFile(String, String) - Static method in class net.tootallnate.websocket.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class net.tootallnate.websocket.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class net.tootallnate.websocket.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class net.tootallnate.websocket.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class net.tootallnate.websocket.Base64
Convenience method for encoding data to a file.
END_OF_FRAME - Static variable in class net.tootallnate.websocket.drafts.Draft_75
The byte representing the end of a WebSocket text frame.

F

flushBase64() - Method in class net.tootallnate.websocket.Base64.OutputStream
Method added by PHIL.
FrameBuilder - Interface in net.tootallnate.websocket
 
Framedata - Interface in net.tootallnate.websocket
 
Framedata.Opcode - Enum in net.tootallnate.websocket
 
FramedataImpl1 - Class in net.tootallnate.websocket
 
FramedataImpl1() - Constructor for class net.tootallnate.websocket.FramedataImpl1
 
FramedataImpl1(Framedata.Opcode) - Constructor for class net.tootallnate.websocket.FramedataImpl1
 
FramedataImpl1(Framedata) - Constructor for class net.tootallnate.websocket.FramedataImpl1
 

G

getAddress() - Method in class net.tootallnate.websocket.WebSocketServer
 
getContent() - Method in interface net.tootallnate.websocket.Handshakedata
 
getContent() - Method in class net.tootallnate.websocket.HandshakedataImpl1
 
getDraft() - Method in class net.tootallnate.websocket.WebSocketClient
 
getDraft() - Method in class net.tootallnate.websocket.WebSocketServer
 
getFieldValue(String) - Method in interface net.tootallnate.websocket.Handshakedata
 
getFieldValue(String) - Method in class net.tootallnate.websocket.HandshakedataImpl1
 
getFlashPolicy(WebSocket) - Method in class net.tootallnate.websocket.WebSocketAdapter
Gets the XML string that should be returned if a client requests a Flash security policy.
getFlashSecurityPolicy() - Method in class net.tootallnate.websocket.WebSocketServer
Gets the XML string that should be returned if a client requests a Flash security policy.
getHttpStatusMessage() - Method in interface net.tootallnate.websocket.Handshakedata
 
getHttpStatusMessage() - Method in class net.tootallnate.websocket.HandshakedataImpl1
 
getLocalSocketAddress() - Method in class net.tootallnate.websocket.WebSocket
 
getOpcode() - Method in interface net.tootallnate.websocket.Framedata
 
getOpcode() - Method in class net.tootallnate.websocket.FramedataImpl1
 
getPayloadData() - Method in interface net.tootallnate.websocket.Framedata
 
getPayloadData() - Method in class net.tootallnate.websocket.FramedataImpl1
 
getPort() - Method in class net.tootallnate.websocket.WebSocketServer
Gets the port number that this server listens on.
getRemoteSocketAddress() - Method in class net.tootallnate.websocket.WebSocket
 
getResourceDescriptor() - Method in interface net.tootallnate.websocket.Handshakedata
 
getResourceDescriptor() - Method in class net.tootallnate.websocket.HandshakedataImpl1
 
getTransfereMasked() - Method in interface net.tootallnate.websocket.Framedata
 
getTransfereMasked() - Method in class net.tootallnate.websocket.FramedataImpl1
 
getURI() - Method in class net.tootallnate.websocket.WebSocketClient
Gets the URI that this WebSocketClient is connected to.
GZIP - Static variable in class net.tootallnate.websocket.Base64
Specify that data should be gzip-compressed in second bit.

H

handleRead() - Method in class net.tootallnate.websocket.WebSocket
Should be called when a Selector has a key that is writable for this WebSocket's SocketChannel connection.
handleWrite() - Method in class net.tootallnate.websocket.WebSocket
 
HandshakeBuilder - Interface in net.tootallnate.websocket
 
Handshakedata - Interface in net.tootallnate.websocket
 
HandshakedataImpl1 - Class in net.tootallnate.websocket
 
HandshakedataImpl1() - Constructor for class net.tootallnate.websocket.HandshakedataImpl1
 
HandshakedataImpl1(Handshakedata) - Constructor for class net.tootallnate.websocket.HandshakedataImpl1
 
hasFieldValue(String) - Method in interface net.tootallnate.websocket.Handshakedata
 
hasFieldValue(String) - Method in class net.tootallnate.websocket.HandshakedataImpl1
 

I

IncompleteHandshakeException - Exception in net.tootallnate.websocket.exeptions
 
IncompleteHandshakeException() - Constructor for exception net.tootallnate.websocket.exeptions.IncompleteHandshakeException
 
IncompleteHandshakeException(String, Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.IncompleteHandshakeException
 
IncompleteHandshakeException(String) - Constructor for exception net.tootallnate.websocket.exeptions.IncompleteHandshakeException
 
IncompleteHandshakeException(Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.IncompleteHandshakeException
 
InvalidDataException - Exception in net.tootallnate.websocket.exeptions
 
InvalidDataException() - Constructor for exception net.tootallnate.websocket.exeptions.InvalidDataException
 
InvalidDataException(String) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidDataException
 
InvalidDataException(Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidDataException
 
InvalidDataException(String, Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidDataException
 
InvalidFrameException - Exception in net.tootallnate.websocket.exeptions
 
InvalidFrameException() - Constructor for exception net.tootallnate.websocket.exeptions.InvalidFrameException
 
InvalidFrameException(String) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidFrameException
 
InvalidFrameException(Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidFrameException
 
InvalidFrameException(String, Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidFrameException
 
InvalidHandshakeException - Exception in net.tootallnate.websocket.exeptions
 
InvalidHandshakeException() - Constructor for exception net.tootallnate.websocket.exeptions.InvalidHandshakeException
 
InvalidHandshakeException(String, Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidHandshakeException
 
InvalidHandshakeException(String) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidHandshakeException
 
InvalidHandshakeException(Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.InvalidHandshakeException
 
isFin() - Method in interface net.tootallnate.websocket.Framedata
 
isFin() - Method in class net.tootallnate.websocket.FramedataImpl1
 
isFlashEdgeCase(ByteBuffer) - Method in class net.tootallnate.websocket.WebSocket
 
iterateHttpFields() - Method in interface net.tootallnate.websocket.Handshakedata
 
iterateHttpFields() - Method in class net.tootallnate.websocket.HandshakedataImpl1
 

K

known_drafts - Variable in class net.tootallnate.websocket.WebSocket
 

L

LF - Static variable in class net.tootallnate.websocket.drafts.Draft_75
The byte representing LF, or Line Feed, or \n
LimitExedeedException - Exception in net.tootallnate.websocket.exeptions
 
LimitExedeedException() - Constructor for exception net.tootallnate.websocket.exeptions.LimitExedeedException
 
LimitExedeedException(String) - Constructor for exception net.tootallnate.websocket.exeptions.LimitExedeedException
 
LimitExedeedException(Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.LimitExedeedException
 
LimitExedeedException(String, Throwable) - Constructor for exception net.tootallnate.websocket.exeptions.LimitExedeedException
 

N

net.tootallnate.websocket - package net.tootallnate.websocket
 
net.tootallnate.websocket.drafts - package net.tootallnate.websocket.drafts
 
net.tootallnate.websocket.exeptions - package net.tootallnate.websocket.exeptions
 
NO_OPTIONS - Static variable in class net.tootallnate.websocket.Base64
No options specified.

O

onClientClose(WebSocket) - Method in class net.tootallnate.websocket.WebSocketServer
 
onClientMessage(WebSocket, String) - Method in class net.tootallnate.websocket.WebSocketServer
 
onClientOpen(WebSocket) - Method in class net.tootallnate.websocket.WebSocketServer
 
onClose(WebSocket) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onClose(WebSocket) - Method in class net.tootallnate.websocket.WebSocketClient
Calls subclass' implementation of onClose.
onClose() - Method in class net.tootallnate.websocket.WebSocketClient
 
onClose(WebSocket) - Method in class net.tootallnate.websocket.WebSocketServer
 
onError(WebSocket, Exception) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onError(WebSocket, IOException) - Method in class net.tootallnate.websocket.WebSocketClient
Calls subclass' implementation of onIOError.
onError(Exception) - Method in class net.tootallnate.websocket.WebSocketClient
 
onError(WebSocket, Exception) - Method in class net.tootallnate.websocket.WebSocketServer
 
onHandshakeRecievedAsClient(WebSocket, Handshakedata, Handshakedata) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onHandshakeRecievedAsServer(WebSocket, Draft, Handshakedata) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onMessage(WebSocket, String) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onMessage(WebSocket, byte[]) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onMessage(WebSocket, String) - Method in class net.tootallnate.websocket.WebSocketClient
Calls subclass' implementation of onMessage.
onMessage(String) - Method in class net.tootallnate.websocket.WebSocketClient
 
onMessage(WebSocket, String) - Method in class net.tootallnate.websocket.WebSocketServer
 
onOpen(WebSocket) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onOpen(WebSocket) - Method in class net.tootallnate.websocket.WebSocketClient
Calls subclass' implementation of onOpen.
onOpen() - Method in class net.tootallnate.websocket.WebSocketClient
 
onOpen(WebSocket) - Method in class net.tootallnate.websocket.WebSocketServer
 
onPing(WebSocket, Framedata) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onPong(WebSocket, Framedata) - Method in class net.tootallnate.websocket.WebSocketAdapter
 
onWriteDemand(WebSocket) - Method in class net.tootallnate.websocket.WebSocketClient
 
onWriteDemand(WebSocket) - Method in class net.tootallnate.websocket.WebSocketServer
 
ORDERED - Static variable in class net.tootallnate.websocket.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.

P

postProcessHandshakeRequestAsClient(HandshakeBuilder) - Method in class net.tootallnate.websocket.Draft
 
postProcessHandshakeRequestAsClient(HandshakeBuilder) - Method in class net.tootallnate.websocket.drafts.Draft_10
 
postProcessHandshakeRequestAsClient(HandshakeBuilder) - Method in class net.tootallnate.websocket.drafts.Draft_17
 
postProcessHandshakeRequestAsClient(HandshakeBuilder) - Method in class net.tootallnate.websocket.drafts.Draft_75
 
postProcessHandshakeRequestAsClient(HandshakeBuilder) - Method in class net.tootallnate.websocket.drafts.Draft_76
 
postProcessHandshakeResponseAsServer(Handshakedata, HandshakeBuilder) - Method in class net.tootallnate.websocket.Draft
 
postProcessHandshakeResponseAsServer(Handshakedata, HandshakeBuilder) - Method in class net.tootallnate.websocket.drafts.Draft_10
 
postProcessHandshakeResponseAsServer(Handshakedata, HandshakeBuilder) - Method in class net.tootallnate.websocket.drafts.Draft_75
 
postProcessHandshakeResponseAsServer(Handshakedata, HandshakeBuilder) - Method in class net.tootallnate.websocket.drafts.Draft_76
 
put(String, String) - Method in interface net.tootallnate.websocket.HandshakeBuilder
 
put(String, String) - Method in class net.tootallnate.websocket.HandshakedataImpl1
 

R

read() - Method in class net.tootallnate.websocket.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class net.tootallnate.websocket.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
readLine(ByteBuffer) - Static method in class net.tootallnate.websocket.Draft
 
readStringLine(ByteBuffer) - Static method in class net.tootallnate.websocket.Draft
 
readVersion(Handshakedata) - Static method in class net.tootallnate.websocket.drafts.Draft_10
 
reset() - Method in class net.tootallnate.websocket.Draft
 
reset() - Method in class net.tootallnate.websocket.drafts.Draft_10
 
reset() - Method in class net.tootallnate.websocket.drafts.Draft_75
 
resumeEncoding() - Method in class net.tootallnate.websocket.Base64.OutputStream
Resumes encoding of the stream.
role - Variable in class net.tootallnate.websocket.Draft
 
run() - Method in class net.tootallnate.websocket.WebSocketClient
 
run() - Method in class net.tootallnate.websocket.WebSocketServer
 

S

send(String) - Method in class net.tootallnate.websocket.WebSocket
 
send(byte[]) - Method in class net.tootallnate.websocket.WebSocket
 
send(String) - Method in class net.tootallnate.websocket.WebSocketClient
Sends text to the connected WebSocket server.
sendFrame(Framedata) - Method in class net.tootallnate.websocket.WebSocket
 
sendToAll(String) - Method in class net.tootallnate.websocket.WebSocketServer
Sends text to all currently connected WebSocket clients.
sendToAllExcept(WebSocket, String) - Method in class net.tootallnate.websocket.WebSocketServer
Sends text to all currently connected WebSocket clients, except for the specified connection.
sendToAllExcept(Set<WebSocket>, String) - Method in class net.tootallnate.websocket.WebSocketServer
Sends text to all currently connected WebSocket clients, except for those found in the Set connections.
setAddress(InetSocketAddress) - Method in class net.tootallnate.websocket.WebSocketServer
Sets the port that this WebSocketServer should listen on.
setContent(byte[]) - Method in interface net.tootallnate.websocket.HandshakeBuilder
 
setContent(byte[]) - Method in class net.tootallnate.websocket.HandshakedataImpl1
 
setFin(boolean) - Method in interface net.tootallnate.websocket.FrameBuilder
 
setFin(boolean) - Method in class net.tootallnate.websocket.FramedataImpl1
 
setHttpStatusMessage(String) - Method in interface net.tootallnate.websocket.HandshakeBuilder
 
setHttpStatusMessage(String) - Method in class net.tootallnate.websocket.HandshakedataImpl1
 
setOptcode(Framedata.Opcode) - Method in interface net.tootallnate.websocket.FrameBuilder
 
setOptcode(Framedata.Opcode) - Method in class net.tootallnate.websocket.FramedataImpl1
 
setParseMode(WebSocket.Role) - Method in class net.tootallnate.websocket.Draft
 
setPayload(byte[]) - Method in interface net.tootallnate.websocket.FrameBuilder
 
setPayload(byte[]) - Method in class net.tootallnate.websocket.FramedataImpl1
 
setResourceDescriptor(String) - Method in interface net.tootallnate.websocket.HandshakeBuilder
 
setResourceDescriptor(String) - Method in class net.tootallnate.websocket.HandshakedataImpl1
 
setTransferemasked(boolean) - Method in interface net.tootallnate.websocket.FrameBuilder
 
setTransferemasked(boolean) - Method in class net.tootallnate.websocket.FramedataImpl1
 
start() - Method in class net.tootallnate.websocket.WebSocketServer
Starts the server thread that binds to the currently set port number and listeners for WebSocket connection requests.
START_OF_FRAME - Static variable in class net.tootallnate.websocket.drafts.Draft_75
The byte representing the beginning of a WebSocket text frame.
startHandshake(HandshakeBuilder) - Method in class net.tootallnate.websocket.WebSocket
 
stingAscii(byte[]) - Static method in class net.tootallnate.websocket.Charsetfunctions
 
stingAscii(byte[], int, int) - Static method in class net.tootallnate.websocket.Charsetfunctions
 
stingUtf8(byte[]) - Static method in class net.tootallnate.websocket.Charsetfunctions
 
stop() - Method in class net.tootallnate.websocket.WebSocketServer
Closes all connected clients sockets, then closes the underlying ServerSocketChannel, effectively killing the server socket thread and freeing the port the server was bound to.
suspendEncoding() - Method in class net.tootallnate.websocket.Base64.OutputStream
Suspends encoding of the stream.

T

toString() - Method in class net.tootallnate.websocket.FramedataImpl1
 
toString() - Method in class net.tootallnate.websocket.WebSocket
 
translateFrame(ByteBuffer) - Method in class net.tootallnate.websocket.Draft
 
translateFrame(ByteBuffer) - Method in class net.tootallnate.websocket.drafts.Draft_10
 
translateFrame(ByteBuffer) - Method in class net.tootallnate.websocket.drafts.Draft_75
 
translateHandshake(ByteBuffer) - Method in class net.tootallnate.websocket.Draft
 
translateHandshake(ByteBuffer) - Method in class net.tootallnate.websocket.drafts.Draft_76
 
translateHandshakeHttp(ByteBuffer) - Static method in class net.tootallnate.websocket.Draft
 
translateSingleFrame(ByteBuffer) - Method in class net.tootallnate.websocket.drafts.Draft_10
 

U

URL_SAFE - Static variable in class net.tootallnate.websocket.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
utf8Bytes(String) - Static method in class net.tootallnate.websocket.Charsetfunctions
 

V

valueOf(String) - Static method in enum net.tootallnate.websocket.Draft.HandshakeState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tootallnate.websocket.Framedata.Opcode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.tootallnate.websocket.WebSocket.Role
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.tootallnate.websocket.Draft.HandshakeState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tootallnate.websocket.Framedata.Opcode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.tootallnate.websocket.WebSocket.Role
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebSocket - Class in net.tootallnate.websocket
Represents one end (client or server) of a single WebSocket connection.
WebSocket(WebSocketListener, Draft, SocketChannel) - Constructor for class net.tootallnate.websocket.WebSocket
Used in WebSocketServer and WebSocketClient.
WebSocket(WebSocketListener, List<Draft>, SocketChannel) - Constructor for class net.tootallnate.websocket.WebSocket
 
WebSocket.Role - Enum in net.tootallnate.websocket
 
WebSocketAdapter - Class in net.tootallnate.websocket
 
WebSocketAdapter() - Constructor for class net.tootallnate.websocket.WebSocketAdapter
 
WebSocketClient - Class in net.tootallnate.websocket
The WebSocketClient is an abstract class that expects a valid "ws://" URI to connect to.
WebSocketClient(URI) - Constructor for class net.tootallnate.websocket.WebSocketClient
 
WebSocketClient(URI, Draft) - Constructor for class net.tootallnate.websocket.WebSocketClient
Constructs a WebSocketClient instance and sets it to the connect to the specified URI.
WebSocketServer - Class in net.tootallnate.websocket
WebSocketServer is an abstract class that only takes care of the HTTP handshake portion of WebSockets.
WebSocketServer() - Constructor for class net.tootallnate.websocket.WebSocketServer
Nullary constructor.
WebSocketServer(InetSocketAddress) - Constructor for class net.tootallnate.websocket.WebSocketServer
Creates a WebSocketServer that will attempt to listen on port port.
WebSocketServer(InetSocketAddress, Draft) - Constructor for class net.tootallnate.websocket.WebSocketServer
Creates a WebSocketServer that will attempt to listen on port port, and comply with Draft version draft.
write(int) - Method in class net.tootallnate.websocket.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class net.tootallnate.websocket.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.

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