@Internal
public interface ProtocolNegotiator
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | ProtocolNegotiator.HandlerThe Netty handler to control the protocol negotiation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Releases resources held by this negotiator. | 
| 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.void close()