| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static IoFuture | connect(XnioWorker worker, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version)
Deprecated
|
| public static IoFuture | connect(XnioWorker worker, XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version)
Deprecated
|
| public static IoFuture | connect(XnioWorker worker, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation)
Deprecated
|
| public static IoFuture | connect(XnioWorker worker, XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation)
Deprecated
|
| public static IoFuture | connect(XnioWorker worker, XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap optionMap, final URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions)
Deprecated
|
| public static IoFuture | connect(XnioWorker worker, XnioSsl ssl, final ByteBufferPool bufferPool, final OptionMap optionMap, InetSocketAddress bindAddress, final URI uri, WebSocketVersion version, WebSocketClientNegotiation clientNegotiation, Set<ExtensionHandshake> clientExtensions)
Deprecated
|
| public static WebSocketClient. | Returns: The connection builderThe XnioWorker to use for the connection worker, ByteBufferPool The buffer pool bufferPool, URI The connection URI uri)Creates a new connection builder that can be used to create a web socket connection. |
| BIND_PROPERTY | back to summary |
|---|---|
| public static final String BIND_PROPERTY | |
| MAX_REDIRECTS | back to summary |
|---|---|
| private static final int MAX_REDIRECTS | |
| WebSocketClient | back to summary |
|---|---|
| private WebSocketClient() | |
| connect | back to summary |
|---|---|
| public static IoFuture Deprecated
| |
| connect | back to summary |
|---|---|
| public static IoFuture Deprecated
| |
| connect | back to summary |
|---|---|
| public static IoFuture Deprecated
| |
| connect | back to summary |
|---|---|
| public static IoFuture Deprecated
| |
| connect | back to summary |
|---|---|
| public static IoFuture Deprecated
| |
| connect | back to summary |
|---|---|
| public static IoFuture Deprecated
| |
| connectionBuilder | back to summary |
|---|---|
| public static WebSocketClient. Creates a new connection builder that can be used to create a web socket connection.
| |
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private InetSocketAddress | |
| private final ByteBufferPool | |
| private Set | |
| private WebSocketClientNegotiation | |
| private OptionMap | |
| private XnioSsl | |
| private URI | |
| private XnioSsl | |
| private final URI | |
| private WebSocketVersion | |
| private final XnioWorker |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IoFuture | |
| private IoFuture | |
| public InetSocketAddress | |
| public ByteBufferPool | |
| public Set | |
| public WebSocketClientNegotiation | |
| public OptionMap | |
| public XnioSsl | |
| public URI | |
| public XnioSsl | |
| public URI | |
| public WebSocketVersion | |
| public XnioWorker | |
| private boolean | |
| public WebSocketClient. | |
| public WebSocketClient. | |
| public WebSocketClient. | |
| public WebSocketClient. | |
| public WebSocketClient. | |
| public WebSocketClient. | |
| public WebSocketClient. | |
| public WebSocketClient. |
| bindAddress | back to summary |
|---|---|
| private InetSocketAddress bindAddress | |
| bufferPool | back to summary |
|---|---|
| private final ByteBufferPool bufferPool | |
| clientExtensions | back to summary |
|---|---|
| private Set<ExtensionHandshake> clientExtensions | |
| clientNegotiation | back to summary |
|---|---|
| private WebSocketClientNegotiation clientNegotiation | |
| optionMap | back to summary |
|---|---|
| private OptionMap optionMap | |
| proxySsl | back to summary |
|---|---|
| private XnioSsl proxySsl | |
| proxyUri | back to summary |
|---|---|
| private URI proxyUri | |
| ssl | back to summary |
|---|---|
| private XnioSsl ssl | |
| uri | back to summary |
|---|---|
| private final URI uri | |
| version | back to summary |
|---|---|
| private WebSocketVersion version | |
| worker | back to summary |
|---|---|
| private final XnioWorker worker | |
| ConnectionBuilder | back to summary |
|---|---|
| public ConnectionBuilder(XnioWorker worker, ByteBufferPool bufferPool, URI uri) | |
| connect | back to summary |
|---|---|
| public IoFuture | |
| connectImpl | back to summary |
|---|---|
| private IoFuture | |
| getBindAddress | back to summary |
|---|---|
| public InetSocketAddress getBindAddress() | |
| getBufferPool | back to summary |
|---|---|
| public ByteBufferPool getBufferPool() | |
| getClientExtensions | back to summary |
|---|---|
| public Set | |
| getClientNegotiation | back to summary |
|---|---|
| public WebSocketClientNegotiation getClientNegotiation() | |
| getOptionMap | back to summary |
|---|---|
| public OptionMap getOptionMap() | |
| getProxySsl | back to summary |
|---|---|
| public XnioSsl getProxySsl() | |
| getProxyUri | back to summary |
|---|---|
| public URI getProxyUri() | |
| getSsl | back to summary |
|---|---|
| public XnioSsl getSsl() | |
| getUri | back to summary |
|---|---|
| public URI getUri() | |
| getVersion | back to summary |
|---|---|
| public WebSocketVersion getVersion() | |
| getWorker | back to summary |
|---|---|
| public XnioWorker getWorker() | |
| isSecure | back to summary |
|---|---|
| private boolean isSecure(final URI uri) | |
| setBindAddress | back to summary |
|---|---|
| public WebSocketClient. | |
| setClientExtensions | back to summary |
|---|---|
| public WebSocketClient. | |
| setClientNegotiation | back to summary |
|---|---|
| public WebSocketClient. | |
| setOptionMap | back to summary |
|---|---|
| public WebSocketClient. | |
| setProxySsl | back to summary |
|---|---|
| public WebSocketClient. | |
| setProxyUri | back to summary |
|---|---|
| public WebSocketClient. | |
| setSsl | back to summary |
|---|---|
| public WebSocketClient. | |
| setVersion | back to summary |
|---|---|
| public WebSocketClient. | |
| Modifier and Type | Field and Description |
|---|---|
| private final WebSocketClientHandshake | |
| private final FutureResult | |
| private final URI | |
| private final OptionMap |
| Access | Constructor and Description |
|---|---|
| pack-priv | WebsocketConnectionListener(OptionMap options, WebSocketClientHandshake handshake, URI newUri, FutureResult<WebSocketChannel> ioFuture)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | handleEvent(StreamConnection
the channel event channel)Implements org. Handle the event on this channel. |
| handshake | back to summary |
|---|---|
| private final WebSocketClientHandshake handshake | |
| ioFuture | back to summary |
|---|---|
| private final FutureResult<WebSocketChannel> ioFuture | |
| newUri | back to summary |
|---|---|
| private final URI newUri | |
| options | back to summary |
|---|---|
| private final OptionMap options | |
| WebsocketConnectionListener | back to summary |
|---|---|
| pack-priv WebsocketConnectionListener(OptionMap options, WebSocketClientHandshake handshake, URI newUri, FutureResult<WebSocketChannel> ioFuture) | |
| handleEvent | back to summary |
|---|---|
| public void handleEvent(StreamConnection channel) Implements org. Doc from org. Handle the event on this channel.
| |