@Internal
public abstract class GrpcHttp2ConnectionHandler
extends io.netty.handler.codec.http2.Http2ConnectionHandler
Http2ConnectionHandler
.Constructor and Description |
---|
GrpcHttp2ConnectionHandler(io.netty.handler.codec.http2.Http2ConnectionDecoder decoder,
io.netty.handler.codec.http2.Http2ConnectionEncoder encoder,
io.netty.handler.codec.http2.Http2Settings initialSettings) |
Modifier and Type | Method and Description |
---|---|
void |
handleProtocolNegotiationCompleted(io.grpc.Attributes attrs)
Triggered on protocol negotiation completion.
|
bind, channelActive, channelInactive, channelReadComplete, channelWritabilityChanged, close, closeStream, closeStreamLocal, closeStreamRemote, connect, connection, decode, decoder, deregister, disconnect, encoder, exceptionCaught, flush, frameWriter, goAway, gracefulShutdownTimeoutMillis, gracefulShutdownTimeoutMillis, handlerAdded, handlerRemoved0, handleServerHeaderDecodeSizeError, isGracefulShutdownComplete, onConnectionError, onError, onHttpClientUpgrade, onHttpServerUpgrade, onStreamError, read, resetStream, write
actualReadableBytes, callDecode, channelRead, decodeLast, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelRegistered, channelUnregistered
public GrpcHttp2ConnectionHandler(io.netty.handler.codec.http2.Http2ConnectionDecoder decoder, io.netty.handler.codec.http2.Http2ConnectionEncoder encoder, io.netty.handler.codec.http2.Http2Settings initialSettings)
public void handleProtocolNegotiationCompleted(io.grpc.Attributes attrs)
It must me called after negotiation is completed but before given handler is added to the channel.
attrs
- arbitrary attributes passed after protocol negotiation (eg. SSLSession).Copyright © 2018. All rights reserved.