Package | Description |
---|---|
org.java_websocket.drafts |
This package encapsulates all implementations in relation with the WebSocket drafts.
|
org.java_websocket.protocols |
This package encapsulates all interfaces and implementations in relation with the WebSocket Sec-WebSocket-Protocol.
|
Modifier and Type | Method and Description |
---|---|
IProtocol |
Draft_6455.getProtocol()
Getter for the protocol which is used by this draft
|
Modifier and Type | Method and Description |
---|---|
List<IProtocol> |
Draft_6455.getKnownProtocols()
Getter for all available protocols for this draft
|
Constructor and Description |
---|
Draft_6455(List<IExtension> inputExtensions,
List<IProtocol> inputProtocols)
Constructor for the websocket protocol specified by RFC 6455 with custom extensions and protocols
|
Modifier and Type | Class and Description |
---|---|
class |
Protocol
Class which represents the protocol used as Sec-WebSocket-Protocol
|
Modifier and Type | Method and Description |
---|---|
IProtocol |
Protocol.copyInstance() |
IProtocol |
IProtocol.copyInstance()
To prevent protocols to be used more than once the Websocket implementation should call this method in order to create a new usable version of a given protocol instance.
|
Copyright © 2018. All rights reserved.