public interface NpnHandler<S>
Modifier and Type | Method and Description |
---|---|
void |
init(AbstractEndpoint<S> ep,
long sslContext,
Adapter adapter)
Initialize the npn handler.
|
void |
onCreateEngine(Object socket)
Called when a SSLSocket or SSLEngine are first used, to initialize
NPN extension.
|
AbstractEndpoint.Handler.SocketState |
process(SocketWrapper<S> socket,
SocketStatus status)
Check if the socket has negotiated the right NPN and process it.
|
AbstractEndpoint.Handler.SocketState process(SocketWrapper<S> socket, SocketStatus status)
socket
- status
- void init(AbstractEndpoint<S> ep, long sslContext, Adapter adapter)
ep
- sslContext
- adapter
- void onCreateEngine(Object socket)
socket
- SSLEngine or SSLSocketCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.