@Internal @ChannelHandler.Sharable public class HttpResponseEncoder extends io.netty.handler.codec.MessageToMessageEncoder<MutableHttpResponse<?>>
MutableHttpResponse.| Constructor and Description |
|---|
HttpResponseEncoder(MediaTypeCodecRegistry mediaTypeCodecRegistry,
HttpServerConfiguration serverConfiguration)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext context,
MutableHttpResponse<?> response,
List<Object> out) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final String ID
public HttpResponseEncoder(MediaTypeCodecRegistry mediaTypeCodecRegistry, HttpServerConfiguration serverConfiguration)
mediaTypeCodecRegistry - The media type registryserverConfiguration - The server configprotected void encode(io.netty.channel.ChannelHandlerContext context,
MutableHttpResponse<?> response,
List<Object> out)
encode in class io.netty.handler.codec.MessageToMessageEncoder<MutableHttpResponse<?>>