- DEBUG - Static variable in class com.pusher.java_websocket.WebSocketImpl
-
- DECODE - Static variable in class com.pusher.java_websocket.util.Base64
-
Specify decoding in first bit.
- decode(byte[]) - Static method in class com.pusher.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 com.pusher.java_websocket.util.Base64
-
Low-level access to decoding ASCII characters in
the form of a byte array.
- decode(String) - Static method in class com.pusher.java_websocket.util.Base64
-
Decodes data from Base64 notation, automatically
detecting gzip-compressed data and decompressing it.
- decode(String, int) - Static method in class com.pusher.java_websocket.util.Base64
-
Decodes data from Base64 notation, automatically
detecting gzip-compressed data and decompressing it.
- decode(ByteBuffer) - Method in class com.pusher.java_websocket.WebSocketImpl
-
- decodeFileToFile(String, String) - Static method in class com.pusher.java_websocket.util.Base64
-
Reads infile and decodes it to outfile.
- decodeFromFile(String) - Static method in class com.pusher.java_websocket.util.Base64
-
Convenience method for reading a base64-encoded
file and decoding it.
- DECODERS - Static variable in class com.pusher.java_websocket.server.WebSocketServer
-
- decodeToFile(String, String) - Static method in class com.pusher.java_websocket.util.Base64
-
Convenience method for decoding data to a file.
- decodeToObject(String) - Static method in class com.pusher.java_websocket.util.Base64
-
Attempts to decode Base64 data and deserialize a Java
Object within.
- decodeToObject(String, int, ClassLoader) - Static method in class com.pusher.java_websocket.util.Base64
-
Attempts to decode Base64 data and deserialize a Java
Object within.
- DEFAULT_PORT - Static variable in interface com.pusher.java_websocket.WebSocket
-
The default port of WebSockets, as defined in the spec.
- DEFAULT_WSS_PORT - Static variable in interface com.pusher.java_websocket.WebSocket
-
- defaultdraftlist - Static variable in class com.pusher.java_websocket.WebSocketImpl
-
- DefaultSSLWebSocketServerFactory - Class in com.pusher.java_websocket.server
-
- DefaultSSLWebSocketServerFactory(SSLContext) - Constructor for class com.pusher.java_websocket.server.DefaultSSLWebSocketServerFactory
-
- DefaultSSLWebSocketServerFactory(SSLContext, ExecutorService) - Constructor for class com.pusher.java_websocket.server.DefaultSSLWebSocketServerFactory
-
- DefaultWebSocketServerFactory - Class in com.pusher.java_websocket.server
-
- DefaultWebSocketServerFactory() - Constructor for class com.pusher.java_websocket.server.DefaultWebSocketServerFactory
-
- DO_BREAK_LINES - Static variable in class com.pusher.java_websocket.util.Base64
-
Do break lines when encoding.
- DONT_GUNZIP - Static variable in class com.pusher.java_websocket.util.Base64
-
Specify that gzipped data should not be automatically gunzipped.
- Draft - Class in com.pusher.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 com.pusher.java_websocket.drafts.Draft
-
- Draft.CloseHandshakeType - Enum in com.pusher.java_websocket.drafts
-
- Draft.HandshakeState - Enum in com.pusher.java_websocket.drafts
-
- Draft_10 - Class in com.pusher.java_websocket.drafts
-
- Draft_10() - Constructor for class com.pusher.java_websocket.drafts.Draft_10
-
- Draft_17 - Class in com.pusher.java_websocket.drafts
-
- Draft_17() - Constructor for class com.pusher.java_websocket.drafts.Draft_17
-
- Draft_75 - Class in com.pusher.java_websocket.drafts
-
- Draft_75() - Constructor for class com.pusher.java_websocket.drafts.Draft_75
-
- Draft_76 - Class in com.pusher.java_websocket.drafts
-
- Draft_76() - Constructor for class com.pusher.java_websocket.drafts.Draft_76
-
- emptyarray - Static variable in class com.pusher.java_websocket.framing.FramedataImpl1
-
- emptybuffer - Static variable in class com.pusher.java_websocket.SSLSocketChannel2
-
This object is used to feed the SSLEngine's wrap and unwrap methods during the handshake phase.
- ENCODE - Static variable in class com.pusher.java_websocket.util.Base64
-
Specify encoding in first bit.
- encode(ByteBuffer, ByteBuffer) - Static method in class com.pusher.java_websocket.util.Base64
-
Performs Base64 encoding on the raw ByteBuffer,
writing it to the encoded ByteBuffer.
- encode(ByteBuffer, CharBuffer) - Static method in class com.pusher.java_websocket.util.Base64
-
Performs Base64 encoding on the raw ByteBuffer,
writing it to the encoded CharBuffer.
- encodeBytes(byte[]) - Static method in class com.pusher.java_websocket.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int) - Static method in class com.pusher.java_websocket.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int) - Static method in class com.pusher.java_websocket.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytes(byte[], int, int, int) - Static method in class com.pusher.java_websocket.util.Base64
-
Encodes a byte array into Base64 notation.
- encodeBytesToBytes(byte[]) - Static method in class com.pusher.java_websocket.util.Base64
-
- encodeBytesToBytes(byte[], int, int, int) - Static method in class com.pusher.java_websocket.util.Base64
-
- encodeFileToFile(String, String) - Static method in class com.pusher.java_websocket.util.Base64
-
Reads infile and encodes it to outfile.
- encodeFromFile(String) - Static method in class com.pusher.java_websocket.util.Base64
-
Convenience method for reading a binary file
and base64-encoding it.
- encodeObject(Serializable) - Static method in class com.pusher.java_websocket.util.Base64
-
Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeObject(Serializable, int) - Static method in class com.pusher.java_websocket.util.Base64
-
Serializes an object and returns the Base64-encoded
version of that serialized object.
- encodeToFile(byte[], String) - Static method in class com.pusher.java_websocket.util.Base64
-
Convenience method for encoding data to a file.
- END_OF_FRAME - Static variable in class com.pusher.java_websocket.drafts.Draft_75
-
The byte representing the end of a WebSocket text frame.
- eot() - Method in class com.pusher.java_websocket.WebSocketImpl
-
- exec - Variable in class com.pusher.java_websocket.server.DefaultSSLWebSocketServerFactory
-
- exec - Variable in class com.pusher.java_websocket.SSLSocketChannel2
-
- EXTENSION - Static variable in interface com.pusher.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.
- getAddress() - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- getCloseCode() - Method in exception com.pusher.java_websocket.exceptions.InvalidDataException
-
- getCloseCode() - Method in interface com.pusher.java_websocket.framing.CloseFrame
-
- getCloseCode() - Method in class com.pusher.java_websocket.framing.CloseFrameBuilder
-
- getCloseHandshakeType() - Method in class com.pusher.java_websocket.drafts.Draft
-
- getCloseHandshakeType() - Method in class com.pusher.java_websocket.drafts.Draft_10
-
- getCloseHandshakeType() - Method in class com.pusher.java_websocket.drafts.Draft_75
-
- getCloseHandshakeType() - Method in class com.pusher.java_websocket.drafts.Draft_76
-
- getConnection() - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- getContent() - Method in interface com.pusher.java_websocket.handshake.Handshakedata
-
- getContent() - Method in class com.pusher.java_websocket.handshake.HandshakedataImpl1
-
- getDraft() - Method in class com.pusher.java_websocket.client.WebSocketClient
-
Returns the protocol version this channel uses.
For more infos see https://github.com/TooTallNate/Java-WebSocket/wiki/Drafts
- getDraft() - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- getDraft() - Method in interface com.pusher.java_websocket.WebSocket
-
- getDraft() - Method in class com.pusher.java_websocket.WebSocketImpl
-
- getFieldValue(String) - Method in interface com.pusher.java_websocket.handshake.Handshakedata
-
- getFieldValue(String) - Method in class com.pusher.java_websocket.handshake.HandshakedataImpl1
-
- getFlashPolicy(WebSocket) - Method in class com.pusher.java_websocket.WebSocketAdapter
-
Gets the XML string that should be returned if a client requests a Flash
security policy.
- getFlashPolicy(WebSocket) - Method in interface com.pusher.java_websocket.WebSocketListener
-
Gets the XML string that should be returned if a client requests a Flash
security policy.
- getFlashSecurityPolicy() - Method in class com.pusher.java_websocket.server.WebSocketServer
-
Gets the XML string that should be returned if a client requests a Flash
security policy.
- getHttpStatus() - Method in class com.pusher.java_websocket.handshake.HandshakeImpl1Server
-
- getHttpStatus() - Method in interface com.pusher.java_websocket.handshake.ServerHandshake
-
- getHttpStatusMessage() - Method in class com.pusher.java_websocket.handshake.HandshakeImpl1Server
-
- getHttpStatusMessage() - Method in interface com.pusher.java_websocket.handshake.ServerHandshake
-
- getLocalSocketAddress(WebSocket) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- getLocalSocketAddress() - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- getLocalSocketAddress(WebSocket) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- getLocalSocketAddress() - Method in interface com.pusher.java_websocket.WebSocket
-
- getLocalSocketAddress() - Method in class com.pusher.java_websocket.WebSocketImpl
-
- getLocalSocketAddress(WebSocket) - Method in interface com.pusher.java_websocket.WebSocketListener
-
- getMessage() - Method in interface com.pusher.java_websocket.framing.CloseFrame
-
- getMessage() - Method in class com.pusher.java_websocket.framing.CloseFrameBuilder
-
- getOpcode() - Method in interface com.pusher.java_websocket.framing.Framedata
-
- getOpcode() - Method in class com.pusher.java_websocket.framing.FramedataImpl1
-
- getPayloadData() - Method in class com.pusher.java_websocket.framing.CloseFrameBuilder
-
- getPayloadData() - Method in interface com.pusher.java_websocket.framing.Framedata
-
- getPayloadData() - Method in class com.pusher.java_websocket.framing.FramedataImpl1
-
- getPort() - Method in class com.pusher.java_websocket.server.WebSocketServer
-
Gets the port number that this server listens on.
- getPreferedSize() - Method in exception com.pusher.java_websocket.exceptions.IncompleteHandshakeException
-
- getReadyState() - Method in class com.pusher.java_websocket.client.WebSocketClient
-
This represents the state of the connection.
- getReadyState() - Method in interface com.pusher.java_websocket.WebSocket
-
Retrieve the WebSocket 'readyState'.
- getReadyState() - Method in class com.pusher.java_websocket.WebSocketImpl
-
- getRemoteSocketAddress(WebSocket) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- getRemoteSocketAddress() - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- getRemoteSocketAddress(WebSocket) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- getRemoteSocketAddress() - Method in interface com.pusher.java_websocket.WebSocket
-
- getRemoteSocketAddress() - Method in class com.pusher.java_websocket.WebSocketImpl
-
- getRemoteSocketAddress(WebSocket) - Method in interface com.pusher.java_websocket.WebSocketListener
-
- getResourceDescriptor() - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- getResourceDescriptor() - Method in interface com.pusher.java_websocket.handshake.ClientHandshake
-
returns the HTTP Request-URI as defined by http://tools.ietf.org/html/rfc2616#section-5.1.2
- getResourceDescriptor() - Method in class com.pusher.java_websocket.handshake.HandshakeImpl1Client
-
- getResourceDescriptor() - Method in interface com.pusher.java_websocket.WebSocket
-
Returns the HTTP Request-URI as defined by http://tools.ietf.org/html/rfc2616#section-5.1.2
If the opening handshake has not yet happened it will return null.
- getResourceDescriptor() - Method in class com.pusher.java_websocket.WebSocketImpl
-
- getRole() - Method in class com.pusher.java_websocket.drafts.Draft
-
- getTransfereMasked() - Method in interface com.pusher.java_websocket.framing.Framedata
-
- getTransfereMasked() - Method in class com.pusher.java_websocket.framing.FramedataImpl1
-
- getURI() - Method in class com.pusher.java_websocket.client.WebSocketClient
-
Returns the URI that this WebSocketClient is connected to.
- getWebSocketFactory() - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- GOING_AWAY - Static variable in interface com.pusher.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 com.pusher.java_websocket.util.Base64
-
Specify that data should be gzip-compressed in second bit.
- onClose(int, String, boolean) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onClose(WebSocket, int, String, boolean) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
Called after the websocket connection has been closed.
- onCloseInitiated(int, String) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onCloseInitiated(WebSocket, int, String) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onClosing(int, String, boolean) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onClosing(WebSocket, int, String, boolean) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onConnect(SelectionKey) - Method in class com.pusher.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.
- onError(Exception) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onError(WebSocket, Exception) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
Called when errors occurs.
- onFragment(Framedata) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onFragment(WebSocket, Framedata) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onMessage(String) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onMessage(ByteBuffer) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onMessage(WebSocket, String) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
Callback for string messages received from the remote host
- onMessage(WebSocket, ByteBuffer) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
Callback for binary messages received from the remote host
- onOpen(ServerHandshake) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onOpen(WebSocket, ClientHandshake) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
Called after an opening handshake has been performed and the given websocket is ready to be written on.
- onWebsocketClose(WebSocket, int, String, boolean) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
Calls subclass' implementation of onClose.
- onWebsocketClose(WebSocket, int, String, boolean) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onWebsocketClose(WebSocket, int, String, boolean) - Method in interface com.pusher.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 com.pusher.java_websocket.client.WebSocketClient
-
- onWebsocketCloseInitiated(WebSocket, int, String) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onWebsocketCloseInitiated(WebSocket, int, String) - Method in interface com.pusher.java_websocket.WebSocketListener
-
send when this peer sends a close handshake
- onWebsocketClosing(WebSocket, int, String, boolean) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onWebsocketClosing(WebSocket, int, String, boolean) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onWebsocketClosing(WebSocket, int, String, boolean) - Method in interface com.pusher.java_websocket.WebSocketListener
-
called as soon as no further frames are accepted
- onWebsocketError(WebSocket, Exception) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
Calls subclass' implementation of onIOError.
- onWebsocketError(WebSocket, Exception) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onWebsocketError(WebSocket, Exception) - Method in interface com.pusher.java_websocket.WebSocketListener
-
Called if an exception worth noting occurred.
- onWebsocketHandshakeReceivedAsClient(WebSocket, ClientHandshake, ServerHandshake) - Method in class com.pusher.java_websocket.WebSocketAdapter
-
- onWebsocketHandshakeReceivedAsClient(WebSocket, ClientHandshake, ServerHandshake) - Method in interface com.pusher.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 com.pusher.java_websocket.server.WebSocketServer
-
- onWebsocketHandshakeReceivedAsServer(WebSocket, Draft, ClientHandshake) - Method in class com.pusher.java_websocket.WebSocketAdapter
-
This default implementation does not do anything.
- onWebsocketHandshakeReceivedAsServer(WebSocket, Draft, ClientHandshake) - Method in interface com.pusher.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 com.pusher.java_websocket.WebSocketAdapter
-
This default implementation does not do anything which will cause the connections to always progress.
- onWebsocketHandshakeSentAsClient(WebSocket, ClientHandshake) - Method in interface com.pusher.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 com.pusher.java_websocket.client.WebSocketClient
-
Calls subclass' implementation of onMessage.
- onWebsocketMessage(WebSocket, ByteBuffer) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onWebsocketMessage(WebSocket, String) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onWebsocketMessage(WebSocket, ByteBuffer) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onWebsocketMessage(WebSocket, String) - Method in interface com.pusher.java_websocket.WebSocketListener
-
Called when an entire text frame has been received.
- onWebsocketMessage(WebSocket, ByteBuffer) - Method in interface com.pusher.java_websocket.WebSocketListener
-
Called when an entire binary frame has been received.
- onWebsocketMessageFragment(WebSocket, Framedata) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onWebsocketMessageFragment(WebSocket, Framedata) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
Deprecated.
- onWebsocketMessageFragment(WebSocket, Framedata) - Method in class com.pusher.java_websocket.WebSocketAdapter
-
This default implementation does not do anything.
- onWebsocketMessageFragment(WebSocket, Framedata) - Method in interface com.pusher.java_websocket.WebSocketListener
-
- onWebsocketOpen(WebSocket, Handshakedata) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
Calls subclass' implementation of onOpen.
- onWebsocketOpen(WebSocket, Handshakedata) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onWebsocketOpen(WebSocket, Handshakedata) - Method in interface com.pusher.java_websocket.WebSocketListener
-
Called after onHandshakeReceived returns true.
- onWebsocketPing(WebSocket, Framedata) - Method in class com.pusher.java_websocket.WebSocketAdapter
-
This default implementation will send a pong in response to the received ping.
- onWebsocketPing(WebSocket, Framedata) - Method in interface com.pusher.java_websocket.WebSocketListener
-
Called a ping frame has been received.
- onWebsocketPong(WebSocket, Framedata) - Method in class com.pusher.java_websocket.WebSocketAdapter
-
This default implementation does not do anything.
- onWebsocketPong(WebSocket, Framedata) - Method in interface com.pusher.java_websocket.WebSocketListener
-
Called when a pong frame is received.
- onWriteDemand(WebSocket) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- onWriteDemand(WebSocket) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- onWriteDemand(WebSocket) - Method in interface com.pusher.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 com.pusher.java_websocket.framing.FramedataImpl1
-
- ORDERED - Static variable in class com.pusher.java_websocket.util.Base64
-
- outCrypt - Variable in class com.pusher.java_websocket.SSLSocketChannel2
-
encrypted data outgoing
- OutputStream(OutputStream) - Constructor for class com.pusher.java_websocket.util.Base64.OutputStream
-
- OutputStream(OutputStream, int) - Constructor for class com.pusher.java_websocket.util.Base64.OutputStream
-
- outQueue - Variable in class com.pusher.java_websocket.WebSocketImpl
-
Queue of buffers that need to be sent to the client.
- selectionKey - Variable in class com.pusher.java_websocket.SSLSocketChannel2
-
used to set interestOP SelectionKey.OP_WRITE for the underlying channel
- send(String) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
Sends text to the connected websocket server.
- send(byte[]) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
Sends binary data to the connected webSocket server.
- send(ByteBuffer) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- send(String) - Method in interface com.pusher.java_websocket.WebSocket
-
Send Text data to the other end.
- send(ByteBuffer) - Method in interface com.pusher.java_websocket.WebSocket
-
Send Binary data (plain bytes) to the other end.
- send(byte[]) - Method in interface com.pusher.java_websocket.WebSocket
-
- send(String) - Method in class com.pusher.java_websocket.WebSocketImpl
-
Send Text data to the other end.
- send(ByteBuffer) - Method in class com.pusher.java_websocket.WebSocketImpl
-
Send Binary data (plain bytes) to the other end.
- send(byte[]) - Method in class com.pusher.java_websocket.WebSocketImpl
-
- sendFragmentedFrame(Framedata.Opcode, ByteBuffer, boolean) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- sendFragmentedFrame(Framedata.Opcode, ByteBuffer, boolean) - Method in interface com.pusher.java_websocket.WebSocket
-
Allows to send continuous/fragmented frames conveniently.
- sendFragmentedFrame(Framedata.Opcode, ByteBuffer, boolean) - Method in class com.pusher.java_websocket.WebSocketImpl
-
- sendFrame(Framedata) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- sendFrame(Framedata) - Method in interface com.pusher.java_websocket.WebSocket
-
- sendFrame(Framedata) - Method in class com.pusher.java_websocket.WebSocketImpl
-
- ServerHandshake - Interface in com.pusher.java_websocket.handshake
-
- ServerHandshakeBuilder - Interface in com.pusher.java_websocket.handshake
-
- setContent(byte[]) - Method in interface com.pusher.java_websocket.handshake.HandshakeBuilder
-
- setContent(byte[]) - Method in class com.pusher.java_websocket.handshake.HandshakedataImpl1
-
- setFin(boolean) - Method in interface com.pusher.java_websocket.framing.FrameBuilder
-
- setFin(boolean) - Method in class com.pusher.java_websocket.framing.FramedataImpl1
-
- setHttpStatus(short) - Method in class com.pusher.java_websocket.handshake.HandshakeImpl1Server
-
- setHttpStatus(short) - Method in interface com.pusher.java_websocket.handshake.ServerHandshakeBuilder
-
- setHttpStatusMessage(String) - Method in class com.pusher.java_websocket.handshake.HandshakeImpl1Server
-
- setHttpStatusMessage(String) - Method in interface com.pusher.java_websocket.handshake.ServerHandshakeBuilder
-
- setOptcode(Framedata.Opcode) - Method in interface com.pusher.java_websocket.framing.FrameBuilder
-
- setOptcode(Framedata.Opcode) - Method in class com.pusher.java_websocket.framing.FramedataImpl1
-
- setParseMode(WebSocket.Role) - Method in class com.pusher.java_websocket.drafts.Draft
-
- setPayload(ByteBuffer) - Method in class com.pusher.java_websocket.framing.CloseFrameBuilder
-
- setPayload(ByteBuffer) - Method in interface com.pusher.java_websocket.framing.FrameBuilder
-
- setPayload(ByteBuffer) - Method in class com.pusher.java_websocket.framing.FramedataImpl1
-
- setProxy(Proxy) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
- setResourceDescriptor(String) - Method in interface com.pusher.java_websocket.handshake.ClientHandshakeBuilder
-
- setResourceDescriptor(String) - Method in class com.pusher.java_websocket.handshake.HandshakeImpl1Client
-
- setSocket(Socket) - Method in class com.pusher.java_websocket.client.WebSocketClient
-
Accepts bound and unbound sockets.
This method must be called before connect.
- setTransferemasked(boolean) - Method in interface com.pusher.java_websocket.framing.FrameBuilder
-
- setTransferemasked(boolean) - Method in class com.pusher.java_websocket.framing.FramedataImpl1
-
- setWebSocketFactory(WebSocketServer.WebSocketServerFactory) - Method in class com.pusher.java_websocket.server.WebSocketServer
-
- socket() - Method in class com.pusher.java_websocket.SSLSocketChannel2
-
- socketChannel - Variable in class com.pusher.java_websocket.SSLSocketChannel2
-
the underlying channel
- SocketChannelIOHelper - Class in com.pusher.java_websocket
-
- SocketChannelIOHelper() - Constructor for class com.pusher.java_websocket.SocketChannelIOHelper
-
- sslcontext - Variable in class com.pusher.java_websocket.server.DefaultSSLWebSocketServerFactory
-
- sslEngine - Variable in class com.pusher.java_websocket.SSLSocketChannel2
-
- SSLSocketChannel2 - Class in com.pusher.java_websocket
-
Implements the relevant portions of the SocketChannel interface with the SSLEngine wrapper.
- SSLSocketChannel2(SocketChannel, SSLEngine, ExecutorService, SelectionKey) - Constructor for class com.pusher.java_websocket.SSLSocketChannel2
-
- start() - Method in class com.pusher.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 com.pusher.java_websocket.drafts.Draft_75
-
The byte representing the beginning of a WebSocket text frame.
- startHandshake(ClientHandshakeBuilder) - Method in class com.pusher.java_websocket.WebSocketImpl
-
- stop(int) - Method in class com.pusher.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 com.pusher.java_websocket.server.WebSocketServer
-
- stringAscii(byte[]) - Static method in class com.pusher.java_websocket.util.Charsetfunctions
-
- stringAscii(byte[], int, int) - Static method in class com.pusher.java_websocket.util.Charsetfunctions
-
- stringUtf8(byte[]) - Static method in class com.pusher.java_websocket.util.Charsetfunctions
-
- stringUtf8(ByteBuffer) - Static method in class com.pusher.java_websocket.util.Charsetfunctions
-
- suspendEncoding() - Method in class com.pusher.java_websocket.util.Base64.OutputStream
-
Suspends encoding of the stream.
- valueOf(String) - Static method in enum com.pusher.java_websocket.drafts.Draft.CloseHandshakeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.pusher.java_websocket.drafts.Draft.HandshakeState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.pusher.java_websocket.framing.Framedata.Opcode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.pusher.java_websocket.WebSocket.READYSTATE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.pusher.java_websocket.WebSocket.Role
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.pusher.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 com.pusher.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 com.pusher.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 com.pusher.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 com.pusher.java_websocket.WebSocket.Role
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- WebSocket - Interface in com.pusher.java_websocket
-
- WebSocket.READYSTATE - Enum in com.pusher.java_websocket
-
- WebSocket.Role - Enum in com.pusher.java_websocket
-
- WebSocketAdapter - Class in com.pusher.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 com.pusher.java_websocket.WebSocketAdapter
-
- WebSocketClient - Class in com.pusher.java_websocket.client
-
A subclass must implement at least onOpen, onClose, and onMessage to be
useful.
- WebSocketClient(URI) - Constructor for class com.pusher.java_websocket.client.WebSocketClient
-
This open a websocket connection as specified by rfc6455
- WebSocketClient(URI, Draft) - Constructor for class com.pusher.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 com.pusher.java_websocket.client.WebSocketClient
-
- WebSocketFactory - Interface in com.pusher.java_websocket
-
- WebSocketImpl - Class in com.pusher.java_websocket
-
Represents one end (client or server) of a single WebSocketImpl connection.
- WebSocketImpl(WebSocketListener, List<Draft>) - Constructor for class com.pusher.java_websocket.WebSocketImpl
-
crates a websocket with server role
- WebSocketImpl(WebSocketListener, Draft) - Constructor for class com.pusher.java_websocket.WebSocketImpl
-
crates a websocket with client role
- WebSocketImpl(WebSocketListener, Draft, Socket) - Constructor for class com.pusher.java_websocket.WebSocketImpl
-
Deprecated.
- WebSocketImpl(WebSocketListener, List<Draft>, Socket) - Constructor for class com.pusher.java_websocket.WebSocketImpl
-
Deprecated.
- WebSocketListener - Interface in com.pusher.java_websocket
-
Implemented by WebSocketClient and WebSocketServer.
- WebsocketNotConnectedException - Exception in com.pusher.java_websocket.exceptions
-
- WebsocketNotConnectedException() - Constructor for exception com.pusher.java_websocket.exceptions.WebsocketNotConnectedException
-
- WebSocketServer - Class in com.pusher.java_websocket.server
-
WebSocketServer is an abstract class that only takes care of the
HTTP handshake portion of WebSockets.
- WebSocketServer() - Constructor for class com.pusher.java_websocket.server.WebSocketServer
-
Creates a WebSocketServer that will attempt to
listen on port WebSocket.DEFAULT_PORT.
- WebSocketServer(InetSocketAddress) - Constructor for class com.pusher.java_websocket.server.WebSocketServer
-
Creates a WebSocketServer that will attempt to bind/listen on the given address.
- WebSocketServer(InetSocketAddress, int) - Constructor for class com.pusher.java_websocket.server.WebSocketServer
-
- WebSocketServer(InetSocketAddress, List<Draft>) - Constructor for class com.pusher.java_websocket.server.WebSocketServer
-
- WebSocketServer(InetSocketAddress, int, List<Draft>) - Constructor for class com.pusher.java_websocket.server.WebSocketServer
-
- WebSocketServer(InetSocketAddress, int, List<Draft>, Collection<WebSocket>) - Constructor for class com.pusher.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 com.pusher.java_websocket.server
-
- WebSocketServer.WebSocketWorker - Class in com.pusher.java_websocket.server
-
- WebSocketWorker() - Constructor for class com.pusher.java_websocket.server.WebSocketServer.WebSocketWorker
-
- workerThread - Variable in class com.pusher.java_websocket.WebSocketImpl
-
Helper variable meant to store the thread which ( exclusively ) triggers this objects decode method.
- wrapChannel(SocketChannel, SelectionKey) - Method in class com.pusher.java_websocket.server.DefaultSSLWebSocketServerFactory
-
- wrapChannel(SocketChannel, SelectionKey) - Method in class com.pusher.java_websocket.server.DefaultWebSocketServerFactory
-
- wrapChannel(SocketChannel, SelectionKey) - Method in interface com.pusher.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 com.pusher.java_websocket
-
- write(ByteBuffer) - Method in class com.pusher.java_websocket.AbstractWrappedByteChannel
-
- write(ByteBuffer) - Method in class com.pusher.java_websocket.client.AbstractClientProxyChannel
-
- write(ByteBuffer) - Method in class com.pusher.java_websocket.SSLSocketChannel2
-
- write(int) - Method in class com.pusher.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 com.pusher.java_websocket.util.Base64.OutputStream
-
- writeEngineResult - Variable in class com.pusher.java_websocket.SSLSocketChannel2
-
- writeMore() - Method in class com.pusher.java_websocket.AbstractWrappedByteChannel
-
- writeMore() - Method in class com.pusher.java_websocket.SSLSocketChannel2
-
- writeMore() - Method in interface com.pusher.java_websocket.WrappedByteChannel
-