public class SpdyAprNpnHandler extends Object implements NpnHandler<Long>
Constructor and Description |
---|
SpdyAprNpnHandler() |
Modifier and Type | Method and Description |
---|---|
void |
init(AbstractEndpoint<Long> 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<Long> socketWrapper,
SocketStatus status)
Check if the socket has negotiated the right NPN and process it.
|
public void init(AbstractEndpoint<Long> ep, long sslContext, Adapter adapter)
NpnHandler
init
in interface NpnHandler<Long>
public AbstractEndpoint.Handler.SocketState process(SocketWrapper<Long> socketWrapper, SocketStatus status)
NpnHandler
process
in interface NpnHandler<Long>
public void onCreateEngine(Object socket)
NpnHandler
onCreateEngine
in interface NpnHandler<Long>
socket
- SSLEngine or SSLSocketCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.