@ChannelHandler.Sharable
public class RestEasyHttpResponseEncoder
extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder
OneToOneEncoder
implementation which encodes HttpResponse
's to
HttpResponse
's
This implementation is ChannelHandler.Sharable
Constructor and Description |
---|
RestEasyHttpResponseEncoder(RequestDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
protected Object |
encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
Object msg) |
public RestEasyHttpResponseEncoder(RequestDispatcher dispatcher)
Copyright © 2015. All Rights Reserved.