See: Description
Class | Description |
---|---|
WebSocketSslServer |
A HTTP server which serves Web Socket requests at:
https://localhost:8081/websocket
Open your browser at https://localhost:8081/, then the demo page will be loaded and a Web Socket connection will be
made automatically.
|
WebSocketSslServerHandler |
Handles handshakes and messages
|
WebSocketSslServerPipelineFactory | |
WebSocketSslServerSslContext |
Creates a
SSLContext for just server certificates. |
This package contains an example web socket web server with server SSL.
To run this example, follow the steps below:
keytool -genkey -keystore mySrvKeystore -keyalg RSA
.
Make sure that you set the key password to be the same the key file password.
-Dkeystore.file.path=<path to mySrvKeystore> -Dkeystore.file.password=<password>
To find out more about setting up key stores, refer to this giude.
Copyright © 2008-2014 The Netty Project. All Rights Reserved.