private static final class ClientHello.ClientHelloConsumer extends Object implements SSLConsumer
| 限定符 | 构造器和说明 |
|---|---|
private |
ClientHelloConsumer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
consume(ConnectionContext context,
ByteBuffer message) |
private ProtocolVersion |
negotiateProtocol(ServerHandshakeContext context,
int clientHelloVersion) |
private ProtocolVersion |
negotiateProtocol(ServerHandshakeContext context,
int[] clientSupportedVersions) |
private void |
onClientHello(ServerHandshakeContext context,
ClientHello.ClientHelloMessage clientHello) |
public void consume(ConnectionContext context, ByteBuffer message) throws IOException
consume 在接口中 SSLConsumerIOExceptionprivate void onClientHello(ServerHandshakeContext context, ClientHello.ClientHelloMessage clientHello) throws IOException
IOExceptionprivate ProtocolVersion negotiateProtocol(ServerHandshakeContext context, int clientHelloVersion) throws SSLException
SSLExceptionprivate ProtocolVersion negotiateProtocol(ServerHandshakeContext context, int[] clientSupportedVersions) throws SSLException
SSLExceptionCopyright © 2023. All rights reserved.