| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| public static final String | |
| private final WebSocketClientNegotiation | |
| private static final SecureRandom | random
Create a static instance of SecureRandom, so it can be actually reused by all instances of this class. |
| Access | Constructor and Description |
|---|---|
| public | WebSocket13ClientHandshake(final URI url, WebSocketClientNegotiation negotiation, Set<ExtensionHandshake> extensions)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketChannel | createChannel(final StreamConnection channel, final String wsUri, final ByteBufferPool bufferPool, OptionMap options)
Implements abstract io.
|
| public Map | createHeaders()
Implements abstract io.
|
| protected String | |
| private String | |
| public WebSocketVersion | |
| public ExtendedHandshakeChecker | handshakeChecker(final URI uri, final Map<String, List<String>> requestHeaders)
Implements abstract io.
|
| protected final String |
| extensions | back to summary |
|---|---|
| private final Set<ExtensionHandshake> extensions | |
| MAGIC_NUMBER | back to summary |
|---|---|
| public static final String MAGIC_NUMBER | |
| negotiation | back to summary |
|---|---|
| private final WebSocketClientNegotiation negotiation | |
| random | back to summary |
|---|---|
| private static final SecureRandom random Create a static instance of SecureRandom, so it can be actually reused by all instances of this class. This should also increase the randomness of generated numbers. | |
| WebSocket13ClientHandshake | back to summary |
|---|---|
| public WebSocket13ClientHandshake(final URI url, WebSocketClientNegotiation negotiation, Set<ExtensionHandshake> extensions) | |
| WebSocket13ClientHandshake | back to summary |
|---|---|
| public WebSocket13ClientHandshake(final URI url) | |
| createChannel | back to summary |
|---|---|
| public WebSocketChannel createChannel(final StreamConnection channel, final String wsUri, final ByteBufferPool bufferPool, OptionMap options) Implements abstract io.
| |
| createHeaders | back to summary |
|---|---|
| public Map Implements abstract io. | |
| createSecKey | back to summary |
|---|---|
| protected String createSecKey() | |
| getFirst | back to summary |
|---|---|
| private String getFirst(String key, Map<String, List<String>> map) | |
| getVersion | back to summary |
|---|---|
| public WebSocketVersion getVersion() | |
| handshakeChecker | back to summary |
|---|---|
| public ExtendedHandshakeChecker handshakeChecker(final URI uri, final Map<String, List<String>> requestHeaders) Implements abstract io.
| |
| solve | back to summary |
|---|---|
| protected final String solve(final String nonceBase64) | |