public static interface InternalProtocolNegotiator.ProtocolNegotiator
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases resources held by this negotiator.
|
io.netty.channel.ChannelHandler |
newHandler(GrpcHttp2ConnectionHandler grpcHandler)
Creates a new handler to control the protocol negotiation.
|
io.netty.util.AsciiString |
scheme()
The HTTP/2 scheme to be used when sending
HEADERS . |
io.netty.util.AsciiString scheme()
HEADERS
.io.netty.channel.ChannelHandler newHandler(GrpcHttp2ConnectionHandler grpcHandler)
grpcHandler.onHandleProtocolNegotiationCompleted()
at certain point if the negotiation has
completed successfully.void close()
Copyright © 2019. All rights reserved.