public class HttpToHttp2OutboundAdapter
extends io.netty.channel.ChannelOutboundHandlerAdapter
HttpToHttp2ConnectionHandler but since that actually encodes to the raw bytes it doesn't play nice with
Http2MultiplexCodec which expects the frame objects.| Constructor and Description |
|---|
HttpToHttp2OutboundAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
Handles conversion of
HttpMessage and HttpContent to HTTP/2 frames. |
bind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
HttpMessage and HttpContent to HTTP/2 frames.write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.channel.ChannelOutboundHandlerAdapterCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.