@ChannelHandler.Sharable
public static class Http2MessageDecoders.ResponseDecoder
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http2.Http2HeadersFrame>
| Modifier and Type | Method and Description |
|---|---|
static com.linkedin.r2.message.stream.StreamResponseBuilder |
buildStreamResponse(io.netty.handler.codec.http2.Http2Headers headers)
Create a StreamResponseBuilder that has all the http/2 headers and cookies setup in it.
|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2HeadersFrame frame,
java.util.List<java.lang.Object> out) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2HeadersFrame frame,
java.util.List<java.lang.Object> out)
decode in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http2.Http2HeadersFrame>public static com.linkedin.r2.message.stream.StreamResponseBuilder buildStreamResponse(io.netty.handler.codec.http2.Http2Headers headers)
headers - http/2 response headers