public interface ClientSideNegotiator
Modifier and Type | Method and Description |
---|---|
void |
onNoDeal(SSLEngine engine)
This will be invoked if no protocols are returned from the server or
selectProtocol returns
null . |
String |
selectProtocol(SSLEngine engine,
LinkedHashSet<String> protocols)
Select and return a single protocol from the provided set of protocols.
|
boolean |
wantNegotiate(SSLEngine engine) |
boolean wantNegotiate(SSLEngine engine)
true
if this NPN negotiation should occur, otherwise
false
.String selectProtocol(SSLEngine engine, LinkedHashSet<String> protocols)
void onNoDeal(SSLEngine engine)
null
.Copyright © 2015 Oracle Corporation. All rights reserved.