@ChannelHandler.Sharable public class RestEasyHttpResponseEncoder extends io.netty.handler.codec.MessageToMessageEncoder<NettyHttpResponse>
MessageToMessageEncoder implementation which encodes HttpResponse's to
HttpResponse's
This implementation is ChannelHandler.Sharable| Constructor and Description |
|---|
RestEasyHttpResponseEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
NettyHttpResponse nettyResponse,
List<Object> out) |
static void |
transformHeaders(NettyHttpResponse nettyResponse,
io.netty.handler.codec.http.HttpResponse response,
ResteasyProviderFactory factory) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
NettyHttpResponse nettyResponse,
List<Object> out)
throws Exception
encode in class io.netty.handler.codec.MessageToMessageEncoder<NettyHttpResponse>Exceptionpublic static void transformHeaders(NettyHttpResponse nettyResponse, io.netty.handler.codec.http.HttpResponse response, ResteasyProviderFactory factory)
Copyright © 2020 JBoss by Red Hat. All rights reserved.