| Modifier and Type | Field and Description |
|---|---|
| private final String[] | enabledCiphersuites
The enabled ciphersuites saved as a String array |
| private final String[] | enabledProtocols
The enabled protocols saved as a String array |
| Access | Constructor and Description |
|---|---|
| public | CustomSSLWebSocketServerFactory(SSLContext
- can not be sslContext, String[] null- only these protocols are enabled, when enabledProtocols, String[] null default
settings will be used.- only these cipher suites are enabled, when enabledCiphersuites)null
default settings will be used.New CustomSSLWebSocketServerFactory configured to only support given protocols and given cipher suites. |
| public | CustomSSLWebSocketServerFactory(SSLContext
- can not be sslContext, ExecutorService null- can not be executerService, String[] null- only these protocols are enabled, when enabledProtocols, String[] null default
settings will be used.- only these cipher suites are enabled, when enabledCiphersuites)null
default settings will be used.New CustomSSLWebSocketServerFactory configured to only support given protocols and given cipher suites. |
| Modifier and Type | Method and Description |
|---|---|
| public ByteChannel | wrapChannel(SocketChannel channel, SelectionKey key)
Overrides org. Implements org. Allows to wrap the SocketChannel( key.channel() ) to insert a protocol layer( like ssl or proxy authentication) beyond the ws layer. |
| enabledCiphersuites | back to summary |
|---|---|
| private final String[] enabledCiphersuites The enabled ciphersuites saved as a String array | |
| enabledProtocols | back to summary |
|---|---|
| private final String[] enabledProtocols The enabled protocols saved as a String array | |
| CustomSSLWebSocketServerFactory | back to summary |
|---|---|
| public CustomSSLWebSocketServerFactory(SSLContext sslContext, String[] enabledProtocols, String[] enabledCiphersuites) New CustomSSLWebSocketServerFactory configured to only support given protocols and given cipher suites.
| |
| CustomSSLWebSocketServerFactory | back to summary |
|---|---|
| public CustomSSLWebSocketServerFactory(SSLContext sslContext, ExecutorService executerService, String[] enabledProtocols, String[] enabledCiphersuites) New CustomSSLWebSocketServerFactory configured to only support given protocols and given cipher suites.
| |
| wrapChannel | back to summary |
|---|---|
| public ByteChannel wrapChannel(SocketChannel channel, SelectionKey key) throws IOException Overrides org. 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.
| |