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, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
public 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.ChannelOutboundHandler
write
in class io.netty.channel.ChannelOutboundHandlerAdapter
Copyright © 2020. All rights reserved.