Package org.glassfish.grizzly.npn
Class NegotiationSupport
java.lang.Object
org.glassfish.grizzly.npn.NegotiationSupport
Utility class to register, obtain, and/or remove Client/Server NPN/ALPN
negotiator instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddNegotiator(SSLEngine engine, AlpnClientNegotiator clientSideNegotiator) Add aAlpnClientNegotiatorthat will be invoked when handshake activity occurs against the specifiedSSLEngine.static voidaddNegotiator(SSLEngine engine, AlpnServerNegotiator serverSideNegotiator) Add aAlpnServerNegotiatorthat will be invoked when handshake activity occurs against the specifiedSSLEngine.static voidaddNegotiator(SSLEngine engine, ClientSideNegotiator clientSideNegotiator) Add aClientSideNegotiatorthat will be invoked when handshake activity occurs against the specifiedSSLEngine.static voidaddNegotiator(SSLEngine engine, ServerSideNegotiator serverSideNegotiator) Add aServerSideNegotiatorthat will be invoked when handshake activity occurs against the specifiedSSLEngine.static AlpnClientNegotiatorgetAlpnClientNegotiator(SSLEngine engine) static AlpnServerNegotiatorgetAlpnServerNegotiator(SSLEngine engine) static ClientSideNegotiatorgetClientSideNegotiator(SSLEngine engine) static ServerSideNegotiatorgetServerSideNegotiator(SSLEngine engine) static AlpnClientNegotiatorremoveAlpnClientNegotiator(SSLEngine engine) Disassociate theAlpnClientNegotiatorassociated with the specifiedSSLEngine.static AlpnServerNegotiatorremoveAlpnServerNegotiator(SSLEngine engine) Disassociate theAlpnServerNegotiatorassociated with the specifiedSSLEngine.static ClientSideNegotiatorremoveClientNegotiator(SSLEngine engine) Disassociate theClientSideNegotiatorassociated with the specifiedSSLEngine.static ServerSideNegotiatorremoveServerNegotiator(SSLEngine engine) Disassociate theServerSideNegotiatorassociated with the specifiedSSLEngine.
-
Constructor Details
-
NegotiationSupport
public NegotiationSupport()
-
-
Method Details
-
addNegotiator
Add aServerSideNegotiatorthat will be invoked when handshake activity occurs against the specifiedSSLEngine. -
addNegotiator
Add aClientSideNegotiatorthat will be invoked when handshake activity occurs against the specifiedSSLEngine. -
addNegotiator
Add aAlpnServerNegotiatorthat will be invoked when handshake activity occurs against the specifiedSSLEngine. -
addNegotiator
Add aAlpnClientNegotiatorthat will be invoked when handshake activity occurs against the specifiedSSLEngine. -
removeClientNegotiator
Disassociate theClientSideNegotiatorassociated with the specifiedSSLEngine. -
removeAlpnClientNegotiator
Disassociate theAlpnClientNegotiatorassociated with the specifiedSSLEngine. -
removeServerNegotiator
Disassociate theServerSideNegotiatorassociated with the specifiedSSLEngine. -
removeAlpnServerNegotiator
Disassociate theAlpnServerNegotiatorassociated with the specifiedSSLEngine. -
getServerSideNegotiator
- Returns:
- the
ServerSideNegotiatorassociated with the specifiedSSLEngine.
-
getClientSideNegotiator
- Returns:
- the
ClientSideNegotiatorassociated with the specifiedSSLEngine.
-
getAlpnServerNegotiator
- Returns:
- the
AlpnServerNegotiatorassociated with the specifiedSSLEngine.
-
getAlpnClientNegotiator
- Returns:
- the
AlpnClientNegotiatorassociated with the specifiedSSLEngine.
-