public class NegotiationSupport extends Object
Constructor and Description |
---|
NegotiationSupport() |
Modifier and Type | Method and Description |
---|---|
static void |
addNegotiator(SSLEngine engine,
AlpnClientNegotiator clientSideNegotiator)
Add a
AlpnClientNegotiator that will be invoked when handshake
activity occurs against the specified SSLEngine . |
static void |
addNegotiator(SSLEngine engine,
AlpnServerNegotiator serverSideNegotiator)
Add a
AlpnServerNegotiator that will be invoked when handshake
activity occurs against the specified SSLEngine . |
static void |
addNegotiator(SSLEngine engine,
ClientSideNegotiator clientSideNegotiator)
Add a
ClientSideNegotiator that will be invoked when handshake
activity occurs against the specified SSLEngine . |
static void |
addNegotiator(SSLEngine engine,
ServerSideNegotiator serverSideNegotiator)
Add a
ServerSideNegotiator that will be invoked when handshake
activity occurs against the specified SSLEngine . |
static AlpnClientNegotiator |
getAlpnClientNegotiator(SSLEngine engine) |
static AlpnServerNegotiator |
getAlpnServerNegotiator(SSLEngine engine) |
static ClientSideNegotiator |
getClientSideNegotiator(SSLEngine engine) |
static ServerSideNegotiator |
getServerSideNegotiator(SSLEngine engine) |
static AlpnClientNegotiator |
removeAlpnClientNegotiator(SSLEngine engine)
Disassociate the
AlpnClientNegotiator associated with the specified
SSLEngine . |
static AlpnServerNegotiator |
removeAlpnServerNegotiator(SSLEngine engine)
Disassociate the
AlpnServerNegotiator associated with the specified
SSLEngine . |
static ClientSideNegotiator |
removeClientNegotiator(SSLEngine engine)
Disassociate the
ClientSideNegotiator associated with the specified
SSLEngine . |
static ServerSideNegotiator |
removeServerNegotiator(SSLEngine engine)
Disassociate the
ServerSideNegotiator associated with the specified
SSLEngine . |
public static void addNegotiator(SSLEngine engine, ServerSideNegotiator serverSideNegotiator)
ServerSideNegotiator
that will be invoked when handshake
activity occurs against the specified SSLEngine
.public static void addNegotiator(SSLEngine engine, ClientSideNegotiator clientSideNegotiator)
ClientSideNegotiator
that will be invoked when handshake
activity occurs against the specified SSLEngine
.public static void addNegotiator(SSLEngine engine, AlpnServerNegotiator serverSideNegotiator)
AlpnServerNegotiator
that will be invoked when handshake
activity occurs against the specified SSLEngine
.public static void addNegotiator(SSLEngine engine, AlpnClientNegotiator clientSideNegotiator)
AlpnClientNegotiator
that will be invoked when handshake
activity occurs against the specified SSLEngine
.public static ClientSideNegotiator removeClientNegotiator(SSLEngine engine)
ClientSideNegotiator
associated with the specified
SSLEngine
.public static AlpnClientNegotiator removeAlpnClientNegotiator(SSLEngine engine)
AlpnClientNegotiator
associated with the specified
SSLEngine
.public static ServerSideNegotiator removeServerNegotiator(SSLEngine engine)
ServerSideNegotiator
associated with the specified
SSLEngine
.public static AlpnServerNegotiator removeAlpnServerNegotiator(SSLEngine engine)
AlpnServerNegotiator
associated with the specified
SSLEngine
.public static ServerSideNegotiator getServerSideNegotiator(SSLEngine engine)
ServerSideNegotiator
associated with the specified
SSLEngine
.public static ClientSideNegotiator getClientSideNegotiator(SSLEngine engine)
ClientSideNegotiator
associated with the specified
SSLEngine
.public static AlpnServerNegotiator getAlpnServerNegotiator(SSLEngine engine)
AlpnServerNegotiator
associated with the specified
SSLEngine
.public static AlpnClientNegotiator getAlpnClientNegotiator(SSLEngine engine)
AlpnClientNegotiator
associated with the specified
SSLEngine
.Copyright © 2015 Oracle Corporation. All rights reserved.