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

A

ABNORMAL_CLOSE - Static variable in interface org.java_websocket.framing.CloseFrame
1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
AbstractClientProxyChannel - Class in org.java_websocket.client
 
AbstractClientProxyChannel(ByteChannel) - Constructor for class org.java_websocket.client.AbstractClientProxyChannel
 
AbstractWrappedByteChannel - Class in org.java_websocket
 
AbstractWrappedByteChannel(ByteChannel) - Constructor for class org.java_websocket.AbstractWrappedByteChannel
 
AbstractWrappedByteChannel(WrappedByteChannel) - Constructor for class org.java_websocket.AbstractWrappedByteChannel
 
acceptHandshakeAsClient(ClientHandshake, ServerHandshake) - Method in class org.java_websocket.drafts.Draft
 
acceptHandshakeAsClient(ClientHandshake, ServerHandshake) - Method in class org.java_websocket.drafts.Draft_10
 
acceptHandshakeAsClient(ClientHandshake, ServerHandshake) - Method in class org.java_websocket.drafts.Draft_75
 
acceptHandshakeAsClient(ClientHandshake, ServerHandshake) - Method in class org.java_websocket.drafts.Draft_76
 
acceptHandshakeAsServer(ClientHandshake) - Method in class org.java_websocket.drafts.Draft
 
acceptHandshakeAsServer(ClientHandshake) - Method in class org.java_websocket.drafts.Draft_10
 
acceptHandshakeAsServer(ClientHandshake) - Method in class org.java_websocket.drafts.Draft_17
 
acceptHandshakeAsServer(ClientHandshake) - Method in class org.java_websocket.drafts.Draft_75
 
acceptHandshakeAsServer(ClientHandshake) - Method in class org.java_websocket.drafts.Draft_76
 
addConnection(WebSocket) - Method in class org.java_websocket.server.WebSocketServer
 
allocateBuffers(WebSocket) - Method in class org.java_websocket.server.WebSocketServer
 
append(Framedata) - Method in interface org.java_websocket.framing.Framedata
 
append(Framedata) - Method in class org.java_websocket.framing.FramedataImpl1
 
asciiBytes(String) - Static method in class org.java_websocket.util.Charsetfunctions
 
AuthorizationFailureException - Exception in com.pusher.client
Used to indicate an authorization failure.
AuthorizationFailureException() - Constructor for exception com.pusher.client.AuthorizationFailureException
 
AuthorizationFailureException(String) - Constructor for exception com.pusher.client.AuthorizationFailureException
 
AuthorizationFailureException(Exception) - Constructor for exception com.pusher.client.AuthorizationFailureException
 
AuthorizationFailureException(String, Exception) - Constructor for exception com.pusher.client.AuthorizationFailureException
 
authorize(String, String) - Method in interface com.pusher.client.Authorizer
Called when a channel is to be authenticated.
authorize(String, String) - Method in class com.pusher.client.util.HttpAuthorizer
 
Authorizer - Interface in com.pusher.client
Subscriptions to Private and presence channels need to be authorized.

B

Base64 - Class in org.java_websocket.util
Encodes and decodes to and from Base64 notation.
Base64.InputStream - Class in org.java_websocket.util
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 org.java_websocket.util.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
Base64.InputStream(InputStream, int) - Constructor for class org.java_websocket.util.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
Base64.OutputStream - Class in org.java_websocket.util
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 org.java_websocket.util.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
Base64.OutputStream(OutputStream, int) - Constructor for class org.java_websocket.util.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
basicAccept(Handshakedata) - Method in class org.java_websocket.drafts.Draft
 
batch(WebSocketImpl, ByteChannel) - Static method in class org.java_websocket.SocketChannelIOHelper
Returns whether the whole outQueue has been flushed
bind(String, SubscriptionEventListener) - Method in interface com.pusher.client.channel.Channel
Binds a SubscriptionEventListener to an event.
bind(String, SubscriptionEventListener) - Method in class com.pusher.client.channel.impl.ChannelImpl
 
bind(String, SubscriptionEventListener) - Method in class com.pusher.client.channel.impl.PresenceChannelImpl
 
bind(String, SubscriptionEventListener) - Method in class com.pusher.client.channel.impl.PrivateChannelImpl
 
bind(ConnectionState, ConnectionEventListener) - Method in interface com.pusher.client.connection.Connection
Bind to connection events.
bind(ConnectionState, ConnectionEventListener) - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
BUGGYCLOSE - Static variable in interface org.java_websocket.framing.CloseFrame
 
buildHandShake() - Method in class org.java_websocket.client.AbstractClientProxyChannel
 
buildHandShake() - Method in class org.java_websocket.client.WebSocketClient.DefaultClientProxyChannel
 

C

Channel - Interface in com.pusher.client.channel
An object that represents a Pusher channel.
channel - Variable in class org.java_websocket.WebSocketImpl
the possibly wrapped channel object whose selection is controlled by WebSocketImpl.key
ChannelEventListener - Interface in com.pusher.client.channel
Client applications should implement this interface if they want to be notified when events are received on a public or private channel.
ChannelImpl - Class in com.pusher.client.channel.impl
 
ChannelImpl(String) - Constructor for class com.pusher.client.channel.impl.ChannelImpl
 
ChannelManager - Class in com.pusher.client.channel.impl
 
ChannelManager() - Constructor for class com.pusher.client.channel.impl.ChannelManager
 
ChannelState - Enum in com.pusher.client.channel
Used to identify the state of the channel e.g.
Charsetfunctions - Class in org.java_websocket.util
 
Charsetfunctions() - Constructor for class org.java_websocket.util.Charsetfunctions
 
checkAlloc(int) - Method in class org.java_websocket.drafts.Draft
 
ClientHandshake - Interface in org.java_websocket.handshake
 
ClientHandshakeBuilder - Interface in org.java_websocket.handshake
 
close() - Method in class org.java_websocket.AbstractWrappedByteChannel
 
close() - Method in class org.java_websocket.client.WebSocketClient
 
close() - Method in class org.java_websocket.SSLSocketChannel2
 
close() - Method in class org.java_websocket.util.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
close(int, String) - Method in interface org.java_websocket.WebSocket
sends the closing handshake.
close(int) - Method in interface org.java_websocket.WebSocket
 
close() - Method in interface org.java_websocket.WebSocket
Convenience function which behaves like close(CloseFrame.NORMAL)
close(int, String) - Method in class org.java_websocket.WebSocketImpl
 
close(int) - Method in class org.java_websocket.WebSocketImpl
 
close(InvalidDataException) - Method in class org.java_websocket.WebSocketImpl
 
close() - Method in class org.java_websocket.WebSocketImpl
 
closeBlocking() - Method in class org.java_websocket.client.WebSocketClient
 
closeConnection(int, String) - Method in interface org.java_websocket.WebSocket
This will close the connection immediately without a proper close handshake.
closeConnection(int, String, boolean) - Method in class org.java_websocket.WebSocketImpl
 
closeConnection(int, boolean) - Method in class org.java_websocket.WebSocketImpl
 
closeConnection() - Method in class org.java_websocket.WebSocketImpl
 
closeConnection(int, String) - Method in class org.java_websocket.WebSocketImpl
 
CloseFrame - Interface in org.java_websocket.framing
 
CloseFrameBuilder - Class in org.java_websocket.framing
 
CloseFrameBuilder() - Constructor for class org.java_websocket.framing.CloseFrameBuilder
 
CloseFrameBuilder(int) - Constructor for class org.java_websocket.framing.CloseFrameBuilder
 
CloseFrameBuilder(int, String) - Constructor for class org.java_websocket.framing.CloseFrameBuilder
 
codingErrorAction - Static variable in class org.java_websocket.util.Charsetfunctions
 
com.pusher.client - package com.pusher.client
Classes for connecting to Pusher, configuring the Pusher instance and authenticating subscriptions.
com.pusher.client.channel - package com.pusher.client.channel
Classes related to channels, which are subscriptions to data within Pusher, and channel event listener interfaces.
com.pusher.client.channel.impl - package com.pusher.client.channel.impl
 
com.pusher.client.connection - package com.pusher.client.connection
Classes related to the Pusher connection, connection state and monitoring connection state changes.
com.pusher.client.connection.impl - package com.pusher.client.connection.impl
 
com.pusher.client.connection.websocket - package com.pusher.client.connection.websocket
 
com.pusher.client.example - package com.pusher.client.example
Examples that can be executed as part of testing from the built .jar.
com.pusher.client.util - package com.pusher.client.util
Contains helper classes.
compareTo(InternalChannel) - Method in class com.pusher.client.channel.impl.ChannelImpl
 
configureBlocking(boolean) - Method in class org.java_websocket.SSLSocketChannel2
 
connect() - Method in interface com.pusher.client.connection.Connection
No need to call this via the API.
connect() - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
connect() - Method in class com.pusher.client.Pusher
Connects to Pusher.
connect(ConnectionEventListener, ConnectionState...) - Method in class com.pusher.client.Pusher
Binds a ConnectionEventListener to the specified events and then connects to Pusher.
connect() - Method in class org.java_websocket.client.WebSocketClient
Starts a background thread that attempts and maintains a WebSocket connection to the URI specified in the constructor or via setURI.
connect(SocketAddress) - Method in class org.java_websocket.SSLSocketChannel2
 
connectBlocking() - Method in class org.java_websocket.client.WebSocketClient
Same as connect but blocks until the websocket connected or failed to do so.
Returns whether it succeeded or not.
Connection - Interface in com.pusher.client.connection
Represents a connection to Pusher.
ConnectionEventListener - Interface in com.pusher.client.connection
Client applications should implement this interface if they wish to receive notifications when the state of a Connection changes or an error is thrown.
connections() - Method in class org.java_websocket.server.WebSocketServer
Returns a WebSocket[] of currently connected clients.
ConnectionState - Enum in com.pusher.client.connection
Represents connection states e.g.
ConnectionStateChange - Class in com.pusher.client.connection
Represents a change in connection state.
ConnectionStateChange(ConnectionState, ConnectionState) - Constructor for class com.pusher.client.connection.ConnectionStateChange
Used within the library to create a connection state change.
consumeDelegatedTasks() - Method in class org.java_websocket.SSLSocketChannel2
 
copyInstance() - Method in class org.java_websocket.drafts.Draft
Drafts must only be by one websocket at all.
copyInstance() - Method in class org.java_websocket.drafts.Draft_10
 
copyInstance() - Method in class org.java_websocket.drafts.Draft_17
 
copyInstance() - Method in class org.java_websocket.drafts.Draft_75
 
copyInstance() - Method in class org.java_websocket.drafts.Draft_76
 
CR - Static variable in class org.java_websocket.drafts.Draft_75
The byte representing CR, or Carriage Return, or \r
createBinaryFrame(Framedata) - Method in class org.java_websocket.drafts.Draft
 
createBinaryFrame(Framedata) - Method in class org.java_websocket.drafts.Draft_10
 
createBinaryFrame(Framedata) - Method in class org.java_websocket.drafts.Draft_75
 
createBinaryFrame(Framedata) - Method in class org.java_websocket.drafts.Draft_76
 
createBuffer() - Method in class org.java_websocket.drafts.Draft_75
 
createBuffer() - Method in class org.java_websocket.server.WebSocketServer
 
createBuffers(SSLSession) - Method in class org.java_websocket.SSLSocketChannel2
 
createChallenge(String, String, byte[]) - Static method in class org.java_websocket.drafts.Draft_76
 
createFrames(ByteBuffer, boolean) - Method in class org.java_websocket.drafts.Draft
 
createFrames(String, boolean) - Method in class org.java_websocket.drafts.Draft
 
createFrames(ByteBuffer, boolean) - Method in class org.java_websocket.drafts.Draft_10
 
createFrames(String, boolean) - Method in class org.java_websocket.drafts.Draft_10
 
createFrames(ByteBuffer, boolean) - Method in class org.java_websocket.drafts.Draft_75
 
createFrames(String, boolean) - Method in class org.java_websocket.drafts.Draft_75
 
createHandshake(Handshakedata, WebSocket.Role) - Method in class org.java_websocket.drafts.Draft
 
createHandshake(Handshakedata, WebSocket.Role, boolean) - Method in class org.java_websocket.drafts.Draft
 
createProxyChannel(ByteChannel) - Method in class org.java_websocket.client.WebSocketClient
 
createWebSocket(WebSocketAdapter, Draft, Socket) - Method in class org.java_websocket.client.DefaultSSLWebSocketClientFactory
 
createWebSocket(WebSocketAdapter, List<Draft>, Socket) - Method in class org.java_websocket.client.DefaultSSLWebSocketClientFactory
 
createWebSocket(WebSocketAdapter, Draft, Socket) - Method in class org.java_websocket.client.DefaultWebSocketClientFactory
 
createWebSocket(WebSocketAdapter, List<Draft>, Socket) - Method in class org.java_websocket.client.DefaultWebSocketClientFactory
 
createWebSocket(WebSocketAdapter, Draft, Socket) - Method in class org.java_websocket.server.DefaultSSLWebSocketServerFactory
 
createWebSocket(WebSocketAdapter, List<Draft>, Socket) - Method in class org.java_websocket.server.DefaultSSLWebSocketServerFactory
 
createWebSocket(WebSocketAdapter, Draft, Socket) - Method in class org.java_websocket.server.DefaultWebSocketServerFactory
 
createWebSocket(WebSocketAdapter, List<Draft>, Socket) - Method in class org.java_websocket.server.DefaultWebSocketServerFactory
 
createWebSocket(WebSocketAdapter, Draft, Socket) - Method in interface org.java_websocket.server.WebSocketServer.WebSocketServerFactory
 
createWebSocket(WebSocketAdapter, List<Draft>, Socket) - Method in interface org.java_websocket.server.WebSocketServer.WebSocketServerFactory
 
createWebSocket(WebSocketAdapter, Draft, Socket) - Method in interface org.java_websocket.WebSocketFactory
 
createWebSocket(WebSocketAdapter, List<Draft>, Socket) - Method in interface org.java_websocket.WebSocketFactory
 
currentFrame - Variable in class org.java_websocket.drafts.Draft_75
 

D

DEBUG - Static variable in class org.java_websocket.WebSocketImpl
 
DECODE - Static variable in class org.java_websocket.util.Base64
Specify decoding in first bit.
decode(byte[]) - Static method in class org.java_websocket.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class org.java_websocket.util.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class org.java_websocket.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class org.java_websocket.util.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(ByteBuffer) - Method in class org.java_websocket.WebSocketImpl
 
decodeFileToFile(String, String) - Static method in class org.java_websocket.util.Base64
Reads infile and decodes it to outfile.
decodeFromFile(String) - Static method in class org.java_websocket.util.Base64
Convenience method for reading a base64-encoded file and decoding it.
DECODERS - Static variable in class org.java_websocket.server.WebSocketServer
 
decodeToFile(String, String) - Static method in class org.java_websocket.util.Base64
Convenience method for decoding data to a file.
decodeToObject(String) - Static method in class org.java_websocket.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int, ClassLoader) - Static method in class org.java_websocket.util.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
DEFAULT_PORT - Static variable in interface org.java_websocket.WebSocket
The default port of WebSockets, as defined in the spec.
DEFAULT_WSS_PORT - Static variable in interface org.java_websocket.WebSocket
 
defaultdraftlist - Static variable in class org.java_websocket.WebSocketImpl
 
DefaultSSLWebSocketClientFactory - Class in org.java_websocket.client
 
DefaultSSLWebSocketClientFactory(SSLContext) - Constructor for class org.java_websocket.client.DefaultSSLWebSocketClientFactory
 
DefaultSSLWebSocketClientFactory(SSLContext, ExecutorService) - Constructor for class org.java_websocket.client.DefaultSSLWebSocketClientFactory
 
DefaultSSLWebSocketServerFactory - Class in org.java_websocket.server
 
DefaultSSLWebSocketServerFactory(SSLContext) - Constructor for class org.java_websocket.server.DefaultSSLWebSocketServerFactory
 
DefaultSSLWebSocketServerFactory(SSLContext, ExecutorService) - Constructor for class org.java_websocket.server.DefaultSSLWebSocketServerFactory
 
DefaultWebSocketClientFactory - Class in org.java_websocket.client
 
DefaultWebSocketClientFactory(WebSocketClient) - Constructor for class org.java_websocket.client.DefaultWebSocketClientFactory
 
DefaultWebSocketServerFactory - Class in org.java_websocket.server
 
DefaultWebSocketServerFactory() - Constructor for class org.java_websocket.server.DefaultWebSocketServerFactory
 
disconnect() - Method in interface com.pusher.client.connection.impl.InternalConnection
 
disconnect() - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
disconnect() - Method in class com.pusher.client.Pusher
Disconnect from Pusher.
DO_BREAK_LINES - Static variable in class org.java_websocket.util.Base64
Do break lines when encoding.
DONT_GUNZIP - Static variable in class org.java_websocket.util.Base64
Specify that gzipped data should not be automatically gunzipped.
Draft - Class in org.java_websocket.drafts
Base class for everything of a websocket specification which is not common such as the way the handshake is read or frames are transfered.
Draft() - Constructor for class org.java_websocket.drafts.Draft
 
Draft.CloseHandshakeType - Enum in org.java_websocket.drafts
 
Draft.HandshakeState - Enum in org.java_websocket.drafts
 
Draft_10 - Class in org.java_websocket.drafts
 
Draft_10() - Constructor for class org.java_websocket.drafts.Draft_10
 
Draft_17 - Class in org.java_websocket.drafts
 
Draft_17() - Constructor for class org.java_websocket.drafts.Draft_17
 
Draft_75 - Class in org.java_websocket.drafts
 
Draft_75() - Constructor for class org.java_websocket.drafts.Draft_75
 
Draft_76 - Class in org.java_websocket.drafts
 
Draft_76() - Constructor for class org.java_websocket.drafts.Draft_76
 

E

emptyarray - Static variable in class org.java_websocket.framing.FramedataImpl1
 
emptybuffer - Static variable in class org.java_websocket.SSLSocketChannel2
 
ENCODE - Static variable in class org.java_websocket.util.Base64
Specify encoding in first bit.
encode(ByteBuffer, ByteBuffer) - Static method in class org.java_websocket.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class org.java_websocket.util.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
encodeBytes(byte[]) - Static method in class org.java_websocket.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class org.java_websocket.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class org.java_websocket.util.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class org.java_websocket.util.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class org.java_websocket.util.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 org.java_websocket.util.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 org.java_websocket.util.Base64
Reads infile and encodes it to outfile.
encodeFromFile(String) - Static method in class org.java_websocket.util.Base64
Convenience method for reading a binary file and base64-encoding it.
encodeObject(Serializable) - Static method in class org.java_websocket.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class org.java_websocket.util.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeToFile(byte[], String) - Static method in class org.java_websocket.util.Base64
Convenience method for encoding data to a file.
END_OF_FRAME - Static variable in class org.java_websocket.drafts.Draft_75
The byte representing the end of a WebSocket text frame.
engineResult - Variable in class org.java_websocket.SSLSocketChannel2
 
eot() - Method in class org.java_websocket.WebSocketImpl
 
equals(Object) - Method in class com.pusher.client.channel.User
 
equals(Object) - Method in class com.pusher.client.connection.ConnectionStateChange
 
eventNameToListenerMap - Variable in class com.pusher.client.channel.impl.ChannelImpl
 
ExampleApp - Class in com.pusher.client.example
 
ExampleApp(String[]) - Constructor for class com.pusher.client.example.ExampleApp
 
exec - Variable in class org.java_websocket.client.DefaultSSLWebSocketClientFactory
 
exec - Variable in class org.java_websocket.server.DefaultSSLWebSocketServerFactory
 
exec - Variable in class org.java_websocket.SSLSocketChannel2
 
EXTENSION - Static variable in interface org.java_websocket.framing.CloseFrame
1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.

F

Factory - Class in com.pusher.client.util
This is a lightweight way of doing dependency injection and enabling classes to be unit tested in isolation.
Factory() - Constructor for class com.pusher.client.util.Factory
 
fin - Variable in class org.java_websocket.framing.FramedataImpl1
 
finishConnect() - Method in class org.java_websocket.SSLSocketChannel2
 
FLASH_POLICY_REQUEST - Static variable in class org.java_websocket.drafts.Draft
 
FLASHPOLICY - Static variable in interface org.java_websocket.framing.CloseFrame
 
flushAndClose(int, String, boolean) - Method in class org.java_websocket.WebSocketImpl
 
flushBase64() - Method in class org.java_websocket.util.Base64.OutputStream
Method added by PHIL.
FrameBuilder - Interface in org.java_websocket.framing
 
Framedata - Interface in org.java_websocket.framing
 
Framedata.Opcode - Enum in org.java_websocket.framing
 
FramedataImpl1 - Class in org.java_websocket.framing
 
FramedataImpl1() - Constructor for class org.java_websocket.framing.FramedataImpl1
 
FramedataImpl1(Framedata.Opcode) - Constructor for class org.java_websocket.framing.FramedataImpl1
 
FramedataImpl1(Framedata) - Constructor for class org.java_websocket.framing.FramedataImpl1
Helper constructor which helps to create "echo" frames.

G

getAddress() - Method in class org.java_websocket.server.WebSocketServer
 
getAuthorizer() - Method in class com.pusher.client.PusherOptions
Gets the authorizer to be used when authenticating private and presence channels.
getAuthResponse() - Method in class com.pusher.client.channel.impl.PrivateChannelImpl
Protected access because this is also used by PresenceChannelImpl.
getChannelManager() - Static method in class com.pusher.client.util.Factory
 
getCloseCode() - Method in exception org.java_websocket.exceptions.InvalidDataException
 
getCloseCode() - Method in interface org.java_websocket.framing.CloseFrame
 
getCloseCode() - Method in class org.java_websocket.framing.CloseFrameBuilder
 
getCloseHandshakeType() - Method in class org.java_websocket.drafts.Draft
 
getCloseHandshakeType() - Method in class org.java_websocket.drafts.Draft_10
 
getCloseHandshakeType() - Method in class org.java_websocket.drafts.Draft_75
 
getCloseHandshakeType() - Method in class org.java_websocket.drafts.Draft_76
 
getConnection() - Method in class com.pusher.client.Pusher
Gets the underlying Connection object that is being used by this instance of Pusher.
getConnection(String, boolean) - Static method in class com.pusher.client.util.Factory
 
getConnection() - Method in class org.java_websocket.client.WebSocketClient
 
getContent() - Method in interface org.java_websocket.handshake.Handshakedata
 
getContent() - Method in class org.java_websocket.handshake.HandshakedataImpl1
 
getCurrentState() - Method in class com.pusher.client.connection.ConnectionStateChange
The current connection state.
getDisallowedNameExpressions() - Method in class com.pusher.client.channel.impl.ChannelImpl
 
getDisallowedNameExpressions() - Method in class com.pusher.client.channel.impl.PresenceChannelImpl
 
getDisallowedNameExpressions() - Method in class com.pusher.client.channel.impl.PrivateChannelImpl
 
getDraft() - Method in class org.java_websocket.client.WebSocketClient
Returns the protocol version this channel uses.
getDraft() - Method in class org.java_websocket.server.WebSocketServer
 
getDraft() - Method in interface org.java_websocket.WebSocket
 
getDraft() - Method in class org.java_websocket.WebSocketImpl
 
getEventListener() - Method in class com.pusher.client.channel.impl.ChannelImpl
 
getEventListener() - Method in interface com.pusher.client.channel.impl.InternalChannel
 
getEventQueue() - Static method in class com.pusher.client.util.Factory
 
getFieldValue(String) - Method in interface org.java_websocket.handshake.Handshakedata
 
getFieldValue(String) - Method in class org.java_websocket.handshake.HandshakedataImpl1
 
getFlashPolicy(WebSocket) - Method in class org.java_websocket.WebSocketAdapter
Gets the XML string that should be returned if a client requests a Flash security policy.
getFlashPolicy(WebSocket) - Method in interface org.java_websocket.WebSocketListener
Gets the XML string that should be returned if a client requests a Flash security policy.
getFlashSecurityPolicy() - Method in class org.java_websocket.server.WebSocketServer
Gets the XML string that should be returned if a client requests a Flash security policy.
getHttpStatus() - Method in class org.java_websocket.handshake.HandshakeImpl1Server
 
getHttpStatus() - Method in interface org.java_websocket.handshake.ServerHandshake
 
getHttpStatusMessage() - Method in class org.java_websocket.handshake.HandshakeImpl1Server
 
getHttpStatusMessage() - Method in interface org.java_websocket.handshake.ServerHandshake
 
getId() - Method in class com.pusher.client.channel.User
A unique identifier for the user within a Pusher application.
getInfo() - Method in class com.pusher.client.channel.User
Custom additional information about a user.
getLocalSocketAddress(WebSocket) - Method in class org.java_websocket.client.WebSocketClient
 
getLocalSocketAddress(WebSocket) - Method in class org.java_websocket.server.WebSocketServer
 
getLocalSocketAddress() - Method in interface org.java_websocket.WebSocket
 
getLocalSocketAddress() - Method in class org.java_websocket.WebSocketImpl
 
getLocalSocketAddress(WebSocket) - Method in interface org.java_websocket.WebSocketListener
 
getMe() - Method in class com.pusher.client.channel.impl.PresenceChannelImpl
 
getMe() - Method in interface com.pusher.client.channel.PresenceChannel
Gets the user that represents the currently connected client.
getMessage() - Method in interface org.java_websocket.framing.CloseFrame
 
getMessage() - Method in class org.java_websocket.framing.CloseFrameBuilder
 
getName() - Method in interface com.pusher.client.channel.Channel
Gets the name of the Pusher channel that this object represents.
getName() - Method in class com.pusher.client.channel.impl.ChannelImpl
 
getOpcode() - Method in interface org.java_websocket.framing.Framedata
 
getOpcode() - Method in class org.java_websocket.framing.FramedataImpl1
 
getPayloadData() - Method in class org.java_websocket.framing.CloseFrameBuilder
 
getPayloadData() - Method in interface org.java_websocket.framing.Framedata
 
getPayloadData() - Method in class org.java_websocket.framing.FramedataImpl1
 
getPort() - Method in class org.java_websocket.server.WebSocketServer
Gets the port number that this server listens on.
getPreferedSize() - Method in exception org.java_websocket.exceptions.IncompleteHandshakeException
 
getPreviousState() - Method in class com.pusher.client.connection.ConnectionStateChange
The previous connections state.
getReadyState() - Method in class org.java_websocket.client.WebSocketClient
This represents the state of the connection.
getReadyState() - Method in interface org.java_websocket.WebSocket
Retrieve the WebSocket 'readyState'.
getReadyState() - Method in class org.java_websocket.WebSocketImpl
 
getRemoteSocketAddress(WebSocket) - Method in class org.java_websocket.client.WebSocketClient
 
getRemoteSocketAddress(WebSocket) - Method in class org.java_websocket.server.WebSocketServer
 
getRemoteSocketAddress() - Method in interface org.java_websocket.WebSocket
 
getRemoteSocketAddress() - Method in class org.java_websocket.WebSocketImpl
 
getRemoteSocketAddress(WebSocket) - Method in interface org.java_websocket.WebSocketListener
 
getResourceDescriptor() - Method in interface org.java_websocket.handshake.ClientHandshake
 
getResourceDescriptor() - Method in class org.java_websocket.handshake.HandshakeImpl1Client
 
getSocketId() - Method in interface com.pusher.client.connection.Connection
Gets a unique connection ID.
getSocketId() - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
getState() - Method in interface com.pusher.client.connection.Connection
Gets the current connection state.
getState() - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
getTransfereMasked() - Method in interface org.java_websocket.framing.Framedata
 
getTransfereMasked() - Method in class org.java_websocket.framing.FramedataImpl1
 
getURI() - Method in class org.java_websocket.client.WebSocketClient
Gets the URI that this WebSocketClient is connected to.
getUsers() - Method in class com.pusher.client.channel.impl.PresenceChannelImpl
 
getUsers() - Method in interface com.pusher.client.channel.PresenceChannel
Gets a set of users currently subscribed to the channel.
getWebSocketFactory() - Method in class org.java_websocket.client.WebSocketClient
 
getWebSocketFactory() - Method in class org.java_websocket.server.WebSocketServer
 
GOING_AWAY - Static variable in interface org.java_websocket.framing.CloseFrame
1001 indicates that an endpoint is "going away", such as a server going down, or a browser having navigated away from a page.
GZIP - Static variable in class org.java_websocket.util.Base64
Specify that data should be gzip-compressed in second bit.

H

HandshakeBuilder - Interface in org.java_websocket.handshake
 
Handshakedata - Interface in org.java_websocket.handshake
 
HandshakedataImpl1 - Class in org.java_websocket.handshake
 
HandshakedataImpl1() - Constructor for class org.java_websocket.handshake.HandshakedataImpl1
 
HandshakeImpl1Client - Class in org.java_websocket.handshake
 
HandshakeImpl1Client() - Constructor for class org.java_websocket.handshake.HandshakeImpl1Client
 
HandshakeImpl1Server - Class in org.java_websocket.handshake
 
HandshakeImpl1Server() - Constructor for class org.java_websocket.handshake.HandshakeImpl1Server
 
hasBufferedData() - Method in interface org.java_websocket.WebSocket
 
hasBufferedData() - Method in class org.java_websocket.WebSocketImpl
 
hasFieldValue(String) - Method in interface org.java_websocket.handshake.Handshakedata
 
hasFieldValue(String) - Method in class org.java_websocket.handshake.HandshakedataImpl1
 
hashCode() - Method in class com.pusher.client.channel.User
 
hashCode() - Method in class com.pusher.client.connection.ConnectionStateChange
 
hashCode() - Method in class org.java_websocket.WebSocketImpl
 
HttpAuthorizer - Class in com.pusher.client.util
Used to authenticate a private or presence channel subscription.
HttpAuthorizer(String) - Constructor for class com.pusher.client.util.HttpAuthorizer
Creates a new authorizer.

I

IncompleteHandshakeException - Exception in org.java_websocket.exceptions
 
IncompleteHandshakeException(int) - Constructor for exception org.java_websocket.exceptions.IncompleteHandshakeException
 
IncompleteHandshakeException() - Constructor for exception org.java_websocket.exceptions.IncompleteHandshakeException
 
increaseBuffer(ByteBuffer) - Method in class org.java_websocket.drafts.Draft_75
 
inCrypt - Variable in class org.java_websocket.SSLSocketChannel2
encrypted data incoming
inData - Variable in class org.java_websocket.SSLSocketChannel2
raw payload incomming
INITIAL_FAMESIZE - Static variable in class org.java_websocket.drafts.Draft
 
inQueue - Variable in class org.java_websocket.WebSocketImpl
Queue of buffers that need to be processed
InternalChannel - Interface in com.pusher.client.channel.impl
 
InternalConnection - Interface in com.pusher.client.connection.impl
 
InvalidDataException - Exception in org.java_websocket.exceptions
 
InvalidDataException(int) - Constructor for exception org.java_websocket.exceptions.InvalidDataException
 
InvalidDataException(int, String) - Constructor for exception org.java_websocket.exceptions.InvalidDataException
 
InvalidDataException(int, Throwable) - Constructor for exception org.java_websocket.exceptions.InvalidDataException
 
InvalidDataException(int, String, Throwable) - Constructor for exception org.java_websocket.exceptions.InvalidDataException
 
InvalidFrameException - Exception in org.java_websocket.exceptions
 
InvalidFrameException() - Constructor for exception org.java_websocket.exceptions.InvalidFrameException
 
InvalidFrameException(String) - Constructor for exception org.java_websocket.exceptions.InvalidFrameException
 
InvalidFrameException(Throwable) - Constructor for exception org.java_websocket.exceptions.InvalidFrameException
 
InvalidFrameException(String, Throwable) - Constructor for exception org.java_websocket.exceptions.InvalidFrameException
 
InvalidHandshakeException - Exception in org.java_websocket.exceptions
 
InvalidHandshakeException() - Constructor for exception org.java_websocket.exceptions.InvalidHandshakeException
 
InvalidHandshakeException(String, Throwable) - Constructor for exception org.java_websocket.exceptions.InvalidHandshakeException
 
InvalidHandshakeException(String) - Constructor for exception org.java_websocket.exceptions.InvalidHandshakeException
 
InvalidHandshakeException(Throwable) - Constructor for exception org.java_websocket.exceptions.InvalidHandshakeException
 
isBlocking() - Method in class org.java_websocket.AbstractWrappedByteChannel
 
isBlocking() - Method in class org.java_websocket.SSLSocketChannel2
 
isBlocking() - Method in interface org.java_websocket.WrappedByteChannel
 
isClosed() - Method in interface org.java_websocket.WebSocket
Returns whether the close handshake has been completed and the socket is closed.
isClosed() - Method in class org.java_websocket.WebSocketImpl
 
isClosing() - Method in interface org.java_websocket.WebSocket
 
isClosing() - Method in class org.java_websocket.WebSocketImpl
 
isConnected() - Method in class org.java_websocket.SSLSocketChannel2
 
isConnecting() - Method in interface org.java_websocket.WebSocket
 
isConnecting() - Method in class org.java_websocket.WebSocketImpl
 
isEncrypted() - Method in class com.pusher.client.PusherOptions
Gets whether an encrypted (SSL) connection should be used when connecting to Pusher.
isFin() - Method in interface org.java_websocket.framing.Framedata
 
isFin() - Method in class org.java_websocket.framing.FramedataImpl1
 
isFlushAndClose() - Method in interface org.java_websocket.WebSocket
Returns true when no further frames may be submitted
This happens before the socket connection is closed.
isFlushAndClose() - Method in class org.java_websocket.WebSocketImpl
 
isInboundDone() - Method in class org.java_websocket.SSLSocketChannel2
 
isNeedRead() - Method in class org.java_websocket.AbstractWrappedByteChannel
 
isNeedRead() - Method in class org.java_websocket.SSLSocketChannel2
 
isNeedRead() - Method in interface org.java_websocket.WrappedByteChannel
returns whether readMore should be called to fetch data which has been decoded but not yet been returned.
isNeedWrite() - Method in class org.java_websocket.AbstractWrappedByteChannel
 
isNeedWrite() - Method in class org.java_websocket.SSLSocketChannel2
 
isNeedWrite() - Method in interface org.java_websocket.WrappedByteChannel
 
isOpen() - Method in class org.java_websocket.AbstractWrappedByteChannel
 
isOpen() - Method in class org.java_websocket.SSLSocketChannel2
 
isOpen() - Method in interface org.java_websocket.WebSocket
 
isOpen() - Method in class org.java_websocket.WebSocketImpl
 
iterateHttpFields() - Method in interface org.java_websocket.handshake.Handshakedata
 
iterateHttpFields() - Method in class org.java_websocket.handshake.HandshakedataImpl1
 

K

key - Variable in class org.java_websocket.WebSocketImpl
 

L

LF - Static variable in class org.java_websocket.drafts.Draft_75
The byte representing LF, or Line Feed, or \n
LimitExedeedException - Exception in org.java_websocket.exceptions
 
LimitExedeedException() - Constructor for exception org.java_websocket.exceptions.LimitExedeedException
 
LimitExedeedException(String) - Constructor for exception org.java_websocket.exceptions.LimitExedeedException
 

M

main(String[]) - Static method in class com.pusher.client.example.ExampleApp
 
main(String[]) - Static method in class com.pusher.client.example.PresenceChannelExampleApp
 
main(String[]) - Static method in class com.pusher.client.example.PrivateChannelExampleApp
 
main(String[]) - Static method in class org.java_websocket.util.Charsetfunctions
 
MAX_FAME_SIZE - Static variable in class org.java_websocket.drafts.Draft
 

N

name - Variable in class com.pusher.client.channel.impl.ChannelImpl
 
NEVER_CONNECTED - Static variable in interface org.java_websocket.framing.CloseFrame
The connection had never been established
newPresenceChannel(InternalConnection, String, Authorizer) - Static method in class com.pusher.client.util.Factory
 
newPrivateChannel(InternalConnection, String, Authorizer) - Static method in class com.pusher.client.util.Factory
 
newPublicChannel(String) - Static method in class com.pusher.client.util.Factory
 
newURL(String) - Static method in class com.pusher.client.util.Factory
 
newWebSocketClientWrapper(URI, WebSocketListener) - Static method in class com.pusher.client.util.Factory
 
NO_OPTIONS - Static variable in class org.java_websocket.util.Base64
No options specified.
NO_UTF8 - Static variable in interface org.java_websocket.framing.CloseFrame
1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message).
NOCODE - Static variable in interface org.java_websocket.framing.CloseFrame
1005 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
NORMAL - Static variable in interface org.java_websocket.framing.CloseFrame
indicates a normal closure, meaning whatever purpose the connection was established for has been fulfilled.
NotSendableException - Exception in org.java_websocket.exceptions
 
NotSendableException() - Constructor for exception org.java_websocket.exceptions.NotSendableException
 
NotSendableException(String) - Constructor for exception org.java_websocket.exceptions.NotSendableException
 
NotSendableException(Throwable) - Constructor for exception org.java_websocket.exceptions.NotSendableException
 
NotSendableException(String, Throwable) - Constructor for exception org.java_websocket.exceptions.NotSendableException
 

O

onAuthenticationFailure(String, Exception) - Method in interface com.pusher.client.channel.PrivateChannelEventListener
Called when an attempt to authenticate a private channel fails.
onAuthenticationFailure(String, Exception) - Method in class com.pusher.client.example.PresenceChannelExampleApp
 
onAuthenticationFailure(String, Exception) - Method in class com.pusher.client.example.PrivateChannelExampleApp
 
onClose(int, String, boolean) - Method in class com.pusher.client.connection.websocket.WebSocketClientWrapper
 
onClose(int, String, boolean) - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
onClose(int, String, boolean) - Method in interface com.pusher.client.connection.websocket.WebSocketListener
 
onClose(int, String, boolean) - Method in class org.java_websocket.client.WebSocketClient
 
onClose(WebSocket, int, String, boolean) - Method in class org.java_websocket.server.WebSocketServer
Called after the websocket connection has been closed.
onCloseInitiated(int, String) - Method in class org.java_websocket.client.WebSocketClient
 
onCloseInitiated(WebSocket, int, String) - Method in class org.java_websocket.server.WebSocketServer
 
onClosing(int, String, boolean) - Method in class org.java_websocket.client.WebSocketClient
 
onClosing(WebSocket, int, String, boolean) - Method in class org.java_websocket.server.WebSocketServer
 
onConnect(SelectionKey) - Method in class org.java_websocket.server.WebSocketServer
Returns whether a new connection shall be accepted or not.
Therefore method is well suited to implement some kind of connection limitation.
onConnectionStateChange(ConnectionStateChange) - Method in class com.pusher.client.channel.impl.ChannelManager
 
onConnectionStateChange(ConnectionStateChange) - Method in interface com.pusher.client.connection.ConnectionEventListener
Callback that is fired whenever the ConnectionState of the Connection changes.
onConnectionStateChange(ConnectionStateChange) - Method in class com.pusher.client.example.ExampleApp
 
onConnectionStateChange(ConnectionStateChange) - Method in class com.pusher.client.example.PresenceChannelExampleApp
 
onConnectionStateChange(ConnectionStateChange) - Method in class com.pusher.client.example.PrivateChannelExampleApp
 
onError(String, String, Exception) - Method in class com.pusher.client.channel.impl.ChannelManager
 
onError(String, String, Exception) - Method in interface com.pusher.client.connection.ConnectionEventListener
Callback that indicates either: An error message has been received from Pusher, or An error has occurred in the client library.
onError(Exception) - Method in class com.pusher.client.connection.websocket.WebSocketClientWrapper
 
onError(Exception) - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
onError(Exception) - Method in interface com.pusher.client.connection.websocket.WebSocketListener
 
onError(String, String, Exception) - Method in class com.pusher.client.example.ExampleApp
 
onError(String, String, Exception) - Method in class com.pusher.client.example.PresenceChannelExampleApp
 
onError(String, String, Exception) - Method in class com.pusher.client.example.PrivateChannelExampleApp
 
onError(Exception) - Method in class org.java_websocket.client.WebSocketClient
 
onError(WebSocket, Exception) - Method in class org.java_websocket.server.WebSocketServer
Called when errors occurs.
onEvent(String, String, String) - Method in interface com.pusher.client.channel.SubscriptionEventListener
Callback that is fired whenever an event that this SubscriptionEventListener has been bound to is received.
onEvent(String, String, String) - Method in class com.pusher.client.example.ExampleApp
 
onEvent(String, String, String) - Method in class com.pusher.client.example.PresenceChannelExampleApp
 
onEvent(String, String, String) - Method in class com.pusher.client.example.PrivateChannelExampleApp
 
onMessage(String, String) - Method in class com.pusher.client.channel.impl.ChannelImpl
 
onMessage(String, String) - Method in class com.pusher.client.channel.impl.ChannelManager
 
onMessage(String, String) - Method in interface com.pusher.client.channel.impl.InternalChannel
 
onMessage(String, String) - Method in class com.pusher.client.channel.impl.PresenceChannelImpl
 
onMessage(String) - Method in class com.pusher.client.connection.websocket.WebSocketClientWrapper
 
onMessage(String) - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
onMessage(String) - Method in interface com.pusher.client.connection.websocket.WebSocketListener
 
onMessage(String) - Method in class org.java_websocket.client.WebSocketClient
 
onMessage(ByteBuffer) - Method in class org.java_websocket.client.WebSocketClient
 
onMessage(WebSocket, String) - Method in class org.java_websocket.server.WebSocketServer
Callback for string messages received from the remote host
onMessage(WebSocket, ByteBuffer) - Method in class org.java_websocket.server.WebSocketServer
Callback for binary messages received from the remote host
onOpen(ServerHandshake) - Method in class com.pusher.client.connection.websocket.WebSocketClientWrapper
 
onOpen(ServerHandshake) - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
onOpen(ServerHandshake) - Method in interface com.pusher.client.connection.websocket.WebSocketListener
 
onOpen(ServerHandshake) - Method in class org.java_websocket.client.WebSocketClient
 
onOpen(WebSocket, ClientHandshake) - Method in class org.java_websocket.server.WebSocketServer
Called after an opening handshake has been performed and the given websocket is ready to be written on.
onSubscriptionSucceeded(String) - Method in interface com.pusher.client.channel.ChannelEventListener
Callback that is fired when a subscription success acknowledgement message is received from Pusher after subscribing to the channel.
onSubscriptionSucceeded(String) - Method in class com.pusher.client.example.ExampleApp
 
onSubscriptionSucceeded(String) - Method in class com.pusher.client.example.PresenceChannelExampleApp
 
onSubscriptionSucceeded(String) - Method in class com.pusher.client.example.PrivateChannelExampleApp
 
onUsersInformationReceived(String, Set<User>) - Method in interface com.pusher.client.channel.PresenceChannelEventListener
Called when the subscription has succeeded and an initial list of subscribed users has been received from Pusher.
onUsersInformationReceived(String, Set<User>) - Method in class com.pusher.client.example.PresenceChannelExampleApp
 
onWebsocketClose(WebSocket, int, String, boolean) - Method in class org.java_websocket.client.WebSocketClient
Calls subclass' implementation of onClose.
onWebsocketClose(WebSocket, int, String, boolean) - Method in class org.java_websocket.server.WebSocketServer
 
onWebsocketClose(WebSocket, int, String, boolean) - Method in interface org.java_websocket.WebSocketListener
Called after WebSocket#close is explicity called, or when the other end of the WebSocket connection is closed.
onWebsocketCloseInitiated(WebSocket, int, String) - Method in class org.java_websocket.client.WebSocketClient
 
onWebsocketCloseInitiated(WebSocket, int, String) - Method in class org.java_websocket.server.WebSocketServer
 
onWebsocketCloseInitiated(WebSocket, int, String) - Method in interface org.java_websocket.WebSocketListener
send when this peer sends a close handshake
onWebsocketClosing(WebSocket, int, String, boolean) - Method in class org.java_websocket.client.WebSocketClient
 
onWebsocketClosing(WebSocket, int, String, boolean) - Method in class org.java_websocket.server.WebSocketServer
 
onWebsocketClosing(WebSocket, int, String, boolean) - Method in interface org.java_websocket.WebSocketListener
called as soon as no further frames are accepted
onWebsocketError(WebSocket, Exception) - Method in class org.java_websocket.client.WebSocketClient
Calls subclass' implementation of onIOError.
onWebsocketError(WebSocket, Exception) - Method in class org.java_websocket.server.WebSocketServer
 
onWebsocketError(WebSocket, Exception) - Method in interface org.java_websocket.WebSocketListener
Called if an exception worth noting occurred.
onWebsocketHandshakeReceivedAsClient(WebSocket, ClientHandshake, ServerHandshake) - Method in class org.java_websocket.WebSocketAdapter
 
onWebsocketHandshakeReceivedAsClient(WebSocket, ClientHandshake, ServerHandshake) - Method in interface org.java_websocket.WebSocketListener
Called on the client side when the socket connection is first established, and the WebSocketImpl handshake response has been received.
onWebsocketHandshakeReceivedAsServer(WebSocket, Draft, ClientHandshake) - Method in class org.java_websocket.WebSocketAdapter
This default implementation does not do anything.
onWebsocketHandshakeReceivedAsServer(WebSocket, Draft, ClientHandshake) - Method in interface org.java_websocket.WebSocketListener
Called on the server side when the socket connection is first established, and the WebSocket handshake has been received.
onWebsocketHandshakeSentAsClient(WebSocket, ClientHandshake) - Method in class org.java_websocket.WebSocketAdapter
This default implementation does not do anything which will cause the connections to always progress.
onWebsocketHandshakeSentAsClient(WebSocket, ClientHandshake) - Method in interface org.java_websocket.WebSocketListener
Called on the client side when the socket connection is first established, and the WebSocketImpl handshake has just been sent.
onWebsocketMessage(WebSocket, String) - Method in class org.java_websocket.client.WebSocketClient
Calls subclass' implementation of onMessage.
onWebsocketMessage(WebSocket, ByteBuffer) - Method in class org.java_websocket.client.WebSocketClient
 
onWebsocketMessage(WebSocket, String) - Method in class org.java_websocket.server.WebSocketServer
 
onWebsocketMessage(WebSocket, ByteBuffer) - Method in class org.java_websocket.server.WebSocketServer
 
onWebsocketMessage(WebSocket, String) - Method in interface org.java_websocket.WebSocketListener
Called when an entire text frame has been received.
onWebsocketMessage(WebSocket, ByteBuffer) - Method in interface org.java_websocket.WebSocketListener
Called when an entire binary frame has been received.
onWebsocketMessageFragment(WebSocket, Framedata) - Method in class org.java_websocket.WebSocketAdapter
This default implementation does not do anything.
onWebsocketMessageFragment(WebSocket, Framedata) - Method in interface org.java_websocket.WebSocketListener
 
onWebsocketOpen(WebSocket, Handshakedata) - Method in class org.java_websocket.client.WebSocketClient
Calls subclass' implementation of onOpen.
onWebsocketOpen(WebSocket, Handshakedata) - Method in class org.java_websocket.server.WebSocketServer
 
onWebsocketOpen(WebSocket, Handshakedata) - Method in interface org.java_websocket.WebSocketListener
Called after onHandshakeReceived returns true.
onWebsocketPing(WebSocket, Framedata) - Method in class org.java_websocket.WebSocketAdapter
This default implementation will send a pong in response to the received ping.
onWebsocketPing(WebSocket, Framedata) - Method in interface org.java_websocket.WebSocketListener
Called a ping frame has been received.
onWebsocketPong(WebSocket, Framedata) - Method in class org.java_websocket.WebSocketAdapter
This default implementation does not do anything.
onWebsocketPong(WebSocket, Framedata) - Method in interface org.java_websocket.WebSocketListener
Called when a pong frame is received.
onWriteDemand(WebSocket) - Method in class org.java_websocket.client.WebSocketClient
 
onWriteDemand(WebSocket) - Method in class org.java_websocket.server.WebSocketServer
 
onWriteDemand(WebSocket) - Method in interface org.java_websocket.WebSocketListener
This method is used to inform the selector thread that there is data queued to be written to the socket.
optcode - Variable in class org.java_websocket.framing.FramedataImpl1
 
ORDERED - Static variable in class org.java_websocket.util.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
org.java_websocket - package org.java_websocket
 
org.java_websocket.client - package org.java_websocket.client
 
org.java_websocket.drafts - package org.java_websocket.drafts
 
org.java_websocket.exceptions - package org.java_websocket.exceptions
 
org.java_websocket.framing - package org.java_websocket.framing
 
org.java_websocket.handshake - package org.java_websocket.handshake
 
org.java_websocket.server - package org.java_websocket.server
 
org.java_websocket.util - package org.java_websocket.util
 
outCrypt - Variable in class org.java_websocket.SSLSocketChannel2
encrypted data outgoing
outQueue - Variable in class org.java_websocket.WebSocketImpl
Queue of buffers that need to be sent to the client.

P

POLICY_VALIDATION - Static variable in interface org.java_websocket.framing.CloseFrame
1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
postProcessHandshakeRequestAsClient(ClientHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft
 
postProcessHandshakeRequestAsClient(ClientHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft_10
 
postProcessHandshakeRequestAsClient(ClientHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft_17
 
postProcessHandshakeRequestAsClient(ClientHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft_75
 
postProcessHandshakeRequestAsClient(ClientHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft_76
 
postProcessHandshakeResponseAsServer(ClientHandshake, ServerHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft
 
postProcessHandshakeResponseAsServer(ClientHandshake, ServerHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft_10
 
postProcessHandshakeResponseAsServer(ClientHandshake, ServerHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft_75
 
postProcessHandshakeResponseAsServer(ClientHandshake, ServerHandshakeBuilder) - Method in class org.java_websocket.drafts.Draft_76
 
PresenceChannel - Interface in com.pusher.client.channel
An object that represents a Pusher presence channel.
PresenceChannelEventListener - Interface in com.pusher.client.channel
Used to listen for presence specific events as well as those defined by the PrivateChannelEventListener and parent interfaces.
PresenceChannelExampleApp - Class in com.pusher.client.example
 
PresenceChannelExampleApp(String[]) - Constructor for class com.pusher.client.example.PresenceChannelExampleApp
 
PresenceChannelImpl - Class in com.pusher.client.channel.impl
 
PresenceChannelImpl(InternalConnection, String, Authorizer) - Constructor for class com.pusher.client.channel.impl.PresenceChannelImpl
 
PrivateChannel - Interface in com.pusher.client.channel
Represents a subscription to a private channel.
PrivateChannelEventListener - Interface in com.pusher.client.channel
Interface to listen to private channel events.
PrivateChannelExampleApp - Class in com.pusher.client.example
 
PrivateChannelExampleApp(String[]) - Constructor for class com.pusher.client.example.PrivateChannelExampleApp
 
PrivateChannelImpl - Class in com.pusher.client.channel.impl
 
PrivateChannelImpl(InternalConnection, String, Authorizer) - Constructor for class com.pusher.client.channel.impl.PrivateChannelImpl
 
PROTOCOL_ERROR - Static variable in interface org.java_websocket.framing.CloseFrame
1002 indicates that an endpoint is terminating the connection due to a protocol error.
proxyHandshake - Variable in class org.java_websocket.client.AbstractClientProxyChannel
 
Pusher - Class in com.pusher.client
This class is the main entry point for accessing Pusher.
Pusher(String) - Constructor for class com.pusher.client.Pusher
Creates a new instance of Pusher.
Pusher(String, PusherOptions) - Constructor for class com.pusher.client.Pusher
Creates a new instance of Pusher.
PusherOptions - Class in com.pusher.client
Options to be used with a Pusher instance.
PusherOptions() - Constructor for class com.pusher.client.PusherOptions
 
put(String, String) - Method in interface org.java_websocket.handshake.HandshakeBuilder
 
put(String, String) - Method in class org.java_websocket.handshake.HandshakedataImpl1
 
put(WebSocketImpl) - Method in class org.java_websocket.server.WebSocketServer.WebSocketWorker
 

R

RCVBUF - Static variable in class org.java_websocket.WebSocketImpl
 
read(ByteBuffer) - Method in class org.java_websocket.AbstractWrappedByteChannel
 
read(ByteBuffer, WebSocketImpl, ByteChannel) - Static method in class org.java_websocket.SocketChannelIOHelper
 
read(ByteBuffer) - Method in class org.java_websocket.SSLSocketChannel2
Blocks when in blocking mode until at least one byte has been decoded.
When not in blocking mode 0 may be returned.
read() - Method in class org.java_websocket.util.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 org.java_websocket.util.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
readingState - Variable in class org.java_websocket.drafts.Draft_75
 
readLine(ByteBuffer) - Static method in class org.java_websocket.drafts.Draft
 
readMore(ByteBuffer) - Method in class org.java_websocket.AbstractWrappedByteChannel
 
readMore(ByteBuffer, WebSocketImpl, WrappedByteChannel) - Static method in class org.java_websocket.SocketChannelIOHelper
 
readMore(ByteBuffer) - Method in class org.java_websocket.SSLSocketChannel2
 
readMore(ByteBuffer) - Method in interface org.java_websocket.WrappedByteChannel
This function does not read data from the underlying channel at all.
readStringLine(ByteBuffer) - Static method in class org.java_websocket.drafts.Draft
 
readVersion(Handshakedata) - Static method in class org.java_websocket.drafts.Draft_10
 
readyframes - Variable in class org.java_websocket.drafts.Draft_75
 
REFUSE - Static variable in interface org.java_websocket.framing.CloseFrame
1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g.
releaseBuffers(WebSocket) - Method in class org.java_websocket.server.WebSocketServer
 
removeConnection(WebSocket) - Method in class org.java_websocket.server.WebSocketServer
This method performs remove operations on the connection and therefore also gives control over whether the operation shall be synchronized
reset() - Method in class org.java_websocket.drafts.Draft
 
reset() - Method in class org.java_websocket.drafts.Draft_10
 
reset() - Method in class org.java_websocket.drafts.Draft_75
 
resumeEncoding() - Method in class org.java_websocket.util.Base64.OutputStream
Resumes encoding of the stream.
role - Variable in class org.java_websocket.drafts.Draft
In some cases the handshake will be parsed different depending on whether
run() - Method in class org.java_websocket.client.WebSocketClient
 
run() - Method in class org.java_websocket.server.WebSocketServer
 
run() - Method in class org.java_websocket.server.WebSocketServer.WebSocketWorker
 

S

selectionKey - Variable in class org.java_websocket.SSLSocketChannel2
used to set interestOP SelectionKey.OP_WRITE for the underlying channel
send(String) - Method in class org.java_websocket.client.WebSocketClient
Sends text to the connected WebSocket server.
send(byte[]) - Method in class org.java_websocket.client.WebSocketClient
Sends data to the connected WebSocket server.
send(String) - Method in interface org.java_websocket.WebSocket
Send Text data to the other end.
send(ByteBuffer) - Method in interface org.java_websocket.WebSocket
Send Binary data (plain bytes) to the other end.
send(byte[]) - Method in interface org.java_websocket.WebSocket
 
send(String) - Method in class org.java_websocket.WebSocketImpl
Send Text data to the other end.
send(ByteBuffer) - Method in class org.java_websocket.WebSocketImpl
Send Binary data (plain bytes) to the other end.
send(byte[]) - Method in class org.java_websocket.WebSocketImpl
 
sendFrame(Framedata) - Method in interface org.java_websocket.WebSocket
 
sendFrame(Framedata) - Method in class org.java_websocket.WebSocketImpl
 
sendMessage(String) - Method in interface com.pusher.client.connection.impl.InternalConnection
 
sendMessage(String) - Method in class com.pusher.client.connection.websocket.WebSocketConnection
InternalConnection implementation detail
ServerHandshake - Interface in org.java_websocket.handshake
 
ServerHandshakeBuilder - Interface in org.java_websocket.handshake
 
setAuthorizer(Authorizer) - Method in class com.pusher.client.PusherOptions
Sets the authorizer to be used when authenticating private and presence channels.
setConnection(InternalConnection) - Method in class com.pusher.client.channel.impl.ChannelManager
 
setContent(byte[]) - Method in interface org.java_websocket.handshake.HandshakeBuilder
 
setContent(byte[]) - Method in class org.java_websocket.handshake.HandshakedataImpl1
 
setEncrypted(boolean) - Method in class com.pusher.client.PusherOptions
Sets an encrypted (SSL) connection should be used when connecting to Pusher.
setEventListener(ChannelEventListener) - Method in class com.pusher.client.channel.impl.ChannelImpl
 
setEventListener(ChannelEventListener) - Method in interface com.pusher.client.channel.impl.InternalChannel
 
setFin(boolean) - Method in interface org.java_websocket.framing.FrameBuilder
 
setFin(boolean) - Method in class org.java_websocket.framing.FramedataImpl1
 
setHeaders(HashMap<String, String>) - Method in class com.pusher.client.util.HttpAuthorizer
Set additional headers to be sent as part of the request.
setHttpStatus(short) - Method in class org.java_websocket.handshake.HandshakeImpl1Server
 
setHttpStatus(short) - Method in interface org.java_websocket.handshake.ServerHandshakeBuilder
 
setHttpStatusMessage(String) - Method in class org.java_websocket.handshake.HandshakeImpl1Server
 
setHttpStatusMessage(String) - Method in interface org.java_websocket.handshake.ServerHandshakeBuilder
 
setOptcode(Framedata.Opcode) - Method in interface org.java_websocket.framing.FrameBuilder
 
setOptcode(Framedata.Opcode) - Method in class org.java_websocket.framing.FramedataImpl1
 
setParseMode(WebSocket.Role) - Method in class org.java_websocket.drafts.Draft
 
setPayload(ByteBuffer) - Method in class org.java_websocket.framing.CloseFrameBuilder
 
setPayload(ByteBuffer) - Method in interface org.java_websocket.framing.FrameBuilder
 
setPayload(ByteBuffer) - Method in class org.java_websocket.framing.FramedataImpl1
 
setProxy(InetSocketAddress) - Method in class org.java_websocket.client.WebSocketClient
 
setResourceDescriptor(String) - Method in interface org.java_websocket.handshake.ClientHandshakeBuilder
 
setResourceDescriptor(String) - Method in class org.java_websocket.handshake.HandshakeImpl1Client
 
setTransferemasked(boolean) - Method in interface org.java_websocket.framing.FrameBuilder
 
setTransferemasked(boolean) - Method in class org.java_websocket.framing.FramedataImpl1
 
setWebSocketFactory(WebSocketClient.WebSocketClientFactory) - Method in class org.java_websocket.client.WebSocketClient
 
setWebSocketFactory(WebSocketServer.WebSocketServerFactory) - Method in class org.java_websocket.server.WebSocketServer
 
socket() - Method in class org.java_websocket.SSLSocketChannel2
 
socketChannel - Variable in class org.java_websocket.SSLSocketChannel2
the underlying channel
SocketChannelIOHelper - Class in org.java_websocket
 
SocketChannelIOHelper() - Constructor for class org.java_websocket.SocketChannelIOHelper
 
sslcontext - Variable in class org.java_websocket.client.DefaultSSLWebSocketClientFactory
 
sslcontext - Variable in class org.java_websocket.server.DefaultSSLWebSocketServerFactory
 
sslEngine - Variable in class org.java_websocket.SSLSocketChannel2
 
SSLSocketChannel2 - Class in org.java_websocket
Implements the relevant portions of the SocketChannel interface with the SSLEngine wrapper.
SSLSocketChannel2(SocketChannel, SSLEngine, ExecutorService, SelectionKey) - Constructor for class org.java_websocket.SSLSocketChannel2
 
start() - Method in class org.java_websocket.server.WebSocketServer
Starts the server selectorthread that binds to the currently set port number and listeners for WebSocket connection requests.
START_OF_FRAME - Static variable in class org.java_websocket.drafts.Draft_75
The byte representing the beginning of a WebSocket text frame.
startHandshake(ClientHandshakeBuilder) - Method in class org.java_websocket.WebSocketImpl
 
state - Variable in class com.pusher.client.channel.impl.ChannelImpl
 
stop(int) - Method in class org.java_websocket.server.WebSocketServer
Closes all connected clients sockets, then closes the underlying ServerSocketChannel, effectively killing the server socket selectorthread, freeing the port the server was bound to and stops all internal workerthreads.
stop() - Method in class org.java_websocket.server.WebSocketServer
 
stringAscii(byte[]) - Static method in class org.java_websocket.util.Charsetfunctions
 
stringAscii(byte[], int, int) - Static method in class org.java_websocket.util.Charsetfunctions
 
stringUtf8(byte[]) - Static method in class org.java_websocket.util.Charsetfunctions
 
stringUtf8(ByteBuffer) - Static method in class org.java_websocket.util.Charsetfunctions
 
subscribe(String) - Method in class com.pusher.client.Pusher
Subscribes to a public Channel.
subscribe(String, ChannelEventListener, String...) - Method in class com.pusher.client.Pusher
Binds a ChannelEventListener to the specified events and then subscribes to a public Channel.
subscribePresence(String) - Method in class com.pusher.client.Pusher
Subscribes to a PresenceChannel which requires authentication.
subscribePresence(String, PresenceChannelEventListener, String...) - Method in class com.pusher.client.Pusher
Subscribes to a PresenceChannel which requires authentication.
subscribePrivate(String) - Method in class com.pusher.client.Pusher
Subscribes to a PrivateChannel which requires authentication.
subscribePrivate(String, PrivateChannelEventListener, String...) - Method in class com.pusher.client.Pusher
Subscribes to a PrivateChannel which requires authentication.
subscribeTo(InternalChannel, ChannelEventListener, String...) - Method in class com.pusher.client.channel.impl.ChannelManager
 
SUBSCRIPTION_SUCCESS_EVENT - Static variable in class com.pusher.client.channel.impl.ChannelImpl
 
SubscriptionEventListener - Interface in com.pusher.client.channel
Client applications should implement this interface if they want to be notified when events are received on a public or private channel.
suspendEncoding() - Method in class org.java_websocket.util.Base64.OutputStream
Suspends encoding of the stream.

T

tasks - Variable in class org.java_websocket.SSLSocketChannel2
 
TLS_ERROR - Static variable in interface org.java_websocket.framing.CloseFrame
1015 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
TOOBIG - Static variable in interface org.java_websocket.framing.CloseFrame
1009 indicates that an endpoint is terminating the connection because it has received a message which is too big for it to process.
toString() - Method in class com.pusher.client.channel.impl.ChannelImpl
 
toString() - Method in class com.pusher.client.channel.impl.PresenceChannelImpl
 
toString() - Method in class com.pusher.client.channel.impl.PrivateChannelImpl
 
toString() - Method in class com.pusher.client.channel.User
 
toString() - Method in class org.java_websocket.framing.CloseFrameBuilder
 
toString() - Method in class org.java_websocket.framing.FramedataImpl1
 
toString() - Method in class org.java_websocket.WebSocketImpl
 
toSubscribeMessage() - Method in class com.pusher.client.channel.impl.ChannelImpl
 
toSubscribeMessage() - Method in interface com.pusher.client.channel.impl.InternalChannel
 
toSubscribeMessage() - Method in class com.pusher.client.channel.impl.PresenceChannelImpl
 
toSubscribeMessage() - Method in class com.pusher.client.channel.impl.PrivateChannelImpl
 
toUnsubscribeMessage() - Method in class com.pusher.client.channel.impl.ChannelImpl
 
toUnsubscribeMessage() - Method in interface com.pusher.client.channel.impl.InternalChannel
 
transferemasked - Variable in class org.java_websocket.framing.FramedataImpl1
 
translateFrame(ByteBuffer) - Method in class org.java_websocket.drafts.Draft
 
translateFrame(ByteBuffer) - Method in class org.java_websocket.drafts.Draft_10
 
translateFrame(ByteBuffer) - Method in class org.java_websocket.drafts.Draft_75
 
translateFrame(ByteBuffer) - Method in class org.java_websocket.drafts.Draft_76
 
translateHandshake(ByteBuffer) - Method in class org.java_websocket.drafts.Draft
 
translateHandshake(ByteBuffer) - Method in class org.java_websocket.drafts.Draft_76
 
translateHandshakeHttp(ByteBuffer, WebSocket.Role) - Static method in class org.java_websocket.drafts.Draft
 
translateRegularFrame(ByteBuffer) - Method in class org.java_websocket.drafts.Draft_75
 
translateSingleFrame(ByteBuffer) - Method in class org.java_websocket.drafts.Draft_10
 
trigger(String, String) - Method in class com.pusher.client.channel.impl.PrivateChannelImpl
 
trigger(String, String) - Method in interface com.pusher.client.channel.PrivateChannel
Once subscribed it is possible to trigger client events on a private channel as long as client events have been activated for the a Pusher application.

U

unbind(String, SubscriptionEventListener) - Method in interface com.pusher.client.channel.Channel
Unbinds a previously bound SubscriptionEventListener from an event.
unbind(String, SubscriptionEventListener) - Method in class com.pusher.client.channel.impl.ChannelImpl
 
unbind(ConnectionState, ConnectionEventListener) - Method in interface com.pusher.client.connection.Connection
Unbind from connection state changes.
unbind(ConnectionState, ConnectionEventListener) - Method in class com.pusher.client.connection.websocket.WebSocketConnection
 
UNEXPECTED_CONDITION - Static variable in interface org.java_websocket.framing.CloseFrame
1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
unsubscribe(String) - Method in class com.pusher.client.Pusher
Unsubscribes from a channel using via the name of the channel.
unsubscribeFrom(String) - Method in class com.pusher.client.channel.impl.ChannelManager
 
updateState(ChannelState) - Method in class com.pusher.client.channel.impl.ChannelImpl
 
updateState(ChannelState) - Method in interface com.pusher.client.channel.impl.InternalChannel
 
uri - Variable in class org.java_websocket.client.WebSocketClient
The URI this channel is supposed to connect to.
URL_SAFE - Static variable in class org.java_websocket.util.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.
User - Class in com.pusher.client.channel
Represents a user that is subscribed to a PresenceChannel.
User(String, String) - Constructor for class com.pusher.client.channel.User
Create a new user.
userSubscribed(String, User) - Method in interface com.pusher.client.channel.PresenceChannelEventListener
Called when a new user subscribes to the channel.
userSubscribed(String, User) - Method in class com.pusher.client.example.PresenceChannelExampleApp
 
userUnsubscribed(String, User) - Method in interface com.pusher.client.channel.PresenceChannelEventListener
Called when an existing user unsubscribes from the channel.
userUnsubscribed(String, User) - Method in class com.pusher.client.example.PresenceChannelExampleApp
 
utf8Bytes(String) - Static method in class org.java_websocket.util.Charsetfunctions
 

V

valueOf(String) - Static method in enum com.pusher.client.channel.ChannelState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.pusher.client.connection.ConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.java_websocket.drafts.Draft.CloseHandshakeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.java_websocket.drafts.Draft.HandshakeState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.java_websocket.framing.Framedata.Opcode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.java_websocket.WebSocket.READYSTATE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.java_websocket.WebSocket.Role
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.pusher.client.channel.ChannelState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.pusher.client.connection.ConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.java_websocket.drafts.Draft.CloseHandshakeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.java_websocket.drafts.Draft.HandshakeState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.java_websocket.framing.Framedata.Opcode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.java_websocket.WebSocket.READYSTATE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.java_websocket.WebSocket.Role
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebSocket - Interface in org.java_websocket
 
WebSocket.READYSTATE - Enum in org.java_websocket
 
WebSocket.Role - Enum in org.java_websocket
 
WebSocketAdapter - Class in org.java_websocket
This class default implements all methods of the WebSocketListener that can be overridden optionally when advances functionalities is needed.
WebSocketAdapter() - Constructor for class org.java_websocket.WebSocketAdapter
 
WebSocketClient - Class in org.java_websocket.client
The WebSocketClient is an abstract class that expects a valid "ws://" URI to connect to.
WebSocketClient(URI) - Constructor for class org.java_websocket.client.WebSocketClient
 
WebSocketClient(URI, Draft) - Constructor for class org.java_websocket.client.WebSocketClient
Constructs a WebSocketClient instance and sets it to the connect to the specified URI.
WebSocketClient(URI, Draft, Map<String, String>, int) - Constructor for class org.java_websocket.client.WebSocketClient
 
WebSocketClient.DefaultClientProxyChannel - Class in org.java_websocket.client
 
WebSocketClient.DefaultClientProxyChannel(ByteChannel) - Constructor for class org.java_websocket.client.WebSocketClient.DefaultClientProxyChannel
 
WebSocketClient.WebSocketClientFactory - Interface in org.java_websocket.client
 
WebSocketClientWrapper - Class in com.pusher.client.connection.websocket
A thin wrapper around the WebSocketClient class from the Java-WebSocket library.
WebSocketClientWrapper(URI, WebSocketListener) - Constructor for class com.pusher.client.connection.websocket.WebSocketClientWrapper
 
WebSocketConnection - Class in com.pusher.client.connection.websocket
 
WebSocketConnection(String, boolean) - Constructor for class com.pusher.client.connection.websocket.WebSocketConnection
 
WebSocketFactory - Interface in org.java_websocket
 
WebSocketImpl - Class in org.java_websocket
Represents one end (client or server) of a single WebSocketImpl connection.
WebSocketImpl(WebSocketListener, List<Draft>) - Constructor for class org.java_websocket.WebSocketImpl
crates a websocket with server role
WebSocketImpl(WebSocketListener, Draft) - Constructor for class org.java_websocket.WebSocketImpl
crates a websocket with client role
WebSocketImpl(WebSocketListener, Draft, Socket) - Constructor for class org.java_websocket.WebSocketImpl
Deprecated. 
WebSocketImpl(WebSocketListener, List<Draft>, Socket) - Constructor for class org.java_websocket.WebSocketImpl
Deprecated. 
WebSocketListener - Interface in com.pusher.client.connection.websocket
 
WebSocketListener - Interface in org.java_websocket
Implemented by WebSocketClient and WebSocketServer.
WebsocketNotConnectedException - Exception in org.java_websocket.exceptions
 
WebsocketNotConnectedException() - Constructor for exception org.java_websocket.exceptions.WebsocketNotConnectedException
 
WebSocketServer - Class in org.java_websocket.server
WebSocketServer is an abstract class that only takes care of the HTTP handshake portion of WebSockets.
WebSocketServer() - Constructor for class org.java_websocket.server.WebSocketServer
Creates a WebSocketServer that will attempt to listen on port WebSocket.DEFAULT_PORT.
WebSocketServer(InetSocketAddress) - Constructor for class org.java_websocket.server.WebSocketServer
Creates a WebSocketServer that will attempt to bind/listen on the given address.
WebSocketServer(InetSocketAddress, int) - Constructor for class org.java_websocket.server.WebSocketServer
 
WebSocketServer(InetSocketAddress, List<Draft>) - Constructor for class org.java_websocket.server.WebSocketServer
 
WebSocketServer(InetSocketAddress, int, List<Draft>) - Constructor for class org.java_websocket.server.WebSocketServer
 
WebSocketServer(InetSocketAddress, int, List<Draft>, Collection<WebSocket>) - Constructor for class org.java_websocket.server.WebSocketServer
Creates a WebSocketServer that will attempt to bind/listen on the given address, and comply with Draft version draft.
WebSocketServer.WebSocketServerFactory - Interface in org.java_websocket.server
 
WebSocketServer.WebSocketWorker - Class in org.java_websocket.server
 
WebSocketServer.WebSocketWorker() - Constructor for class org.java_websocket.server.WebSocketServer.WebSocketWorker
 
workerThread - Variable in class org.java_websocket.WebSocketImpl
Helper variable meant to store the thread which ( exclusively ) triggers this objects decode method.
wrapChannel(SocketChannel, SelectionKey, String, int) - Method in class org.java_websocket.client.DefaultSSLWebSocketClientFactory
 
wrapChannel(SocketChannel, SelectionKey, String, int) - Method in class org.java_websocket.client.DefaultWebSocketClientFactory
 
wrapChannel(SocketChannel, SelectionKey, String, int) - Method in interface org.java_websocket.client.WebSocketClient.WebSocketClientFactory
 
wrapChannel(SocketChannel, SelectionKey) - Method in class org.java_websocket.server.DefaultSSLWebSocketServerFactory
 
wrapChannel(SocketChannel, SelectionKey) - Method in class org.java_websocket.server.DefaultWebSocketServerFactory
 
wrapChannel(SocketChannel, SelectionKey) - Method in interface org.java_websocket.server.WebSocketServer.WebSocketServerFactory
Allows to wrap the Socketchannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer.
WrappedByteChannel - Interface in org.java_websocket
 
write(ByteBuffer) - Method in class org.java_websocket.AbstractWrappedByteChannel
 
write(ByteBuffer) - Method in class org.java_websocket.client.AbstractClientProxyChannel
 
write(ByteBuffer) - Method in class org.java_websocket.SSLSocketChannel2
 
write(int) - Method in class org.java_websocket.util.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
write(byte[], int, int) - Method in class org.java_websocket.util.Base64.OutputStream
Calls write(int) repeatedly until len bytes are written.
writeBlocking(WebSocketImpl, ByteChannel) - Static method in class org.java_websocket.SocketChannelIOHelper
 
writeMore() - Method in class org.java_websocket.AbstractWrappedByteChannel
 
writeMore() - Method in class org.java_websocket.SSLSocketChannel2
 
writeMore() - Method in interface org.java_websocket.WrappedByteChannel
 

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

Copyright © 2013 Pusher. All Rights Reserved.