| Modifier and Type | Field and Description |
|---|---|
| protected ExecutorService | |
| protected SSLContext |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. Allows to shutdown the websocket factory for a clean shutdown |
| public WebSocketImpl | createWebSocket(WebSocketAdapter a, Draft d)
Implements org. Create a new Websocket with the provided listener, drafts and socket |
| public WebSocketImpl | createWebSocket(WebSocketAdapter a, List<Draft> d)
Implements org. Create a new Websocket with the provided listener, drafts and socket |
| public ByteChannel | wrapChannel(SocketChannel channel, SelectionKey key)
Implements org. Allows to wrap the SocketChannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer. |
| exec | back to summary |
|---|---|
| protected ExecutorService exec | |
| sslcontext | back to summary |
|---|---|
| protected SSLContext sslcontext | |
| DefaultSSLWebSocketServerFactory | back to summary |
|---|---|
| public DefaultSSLWebSocketServerFactory(SSLContext sslContext) | |
| DefaultSSLWebSocketServerFactory | back to summary |
|---|---|
| public DefaultSSLWebSocketServerFactory(SSLContext sslContext, ExecutorService exec) | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Allows to shutdown the websocket factory for a clean shutdown
| |
| createWebSocket | back to summary |
|---|---|
| public WebSocketImpl createWebSocket(WebSocketAdapter a, Draft d) Implements org. Doc from org. Create a new Websocket with the provided listener, drafts and socket
| |
| createWebSocket | back to summary |
|---|---|
| public WebSocketImpl createWebSocket(WebSocketAdapter a, List<Draft> d) Implements org. Doc from org. Create a new Websocket with the provided listener, drafts and socket
| |
| wrapChannel | back to summary |
|---|---|
| public ByteChannel wrapChannel(SocketChannel channel, SelectionKey key) throws IOException Implements org. Doc from org. Allows to wrap the SocketChannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer.
| |