@Internal
public interface ProtocolNegotiator
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ProtocolNegotiator.Handler
The Netty handler to control the protocol negotiation.
|
| Modifier and Type | Method and Description |
|---|---|
ProtocolNegotiator.Handler |
newHandler(GrpcHttp2ConnectionHandler grpcHandler)
Creates a new handler to control the protocol negotiation.
|
ProtocolNegotiator.Handler newHandler(GrpcHttp2ConnectionHandler grpcHandler)
grpcHandler.onHandleProtocolNegotiationCompleted() at certain point if the negotiation has
completed successfully.