public class ThriftServerXHRCodec extends java.lang.Object implements org.jboss.netty.channel.ChannelUpstreamHandler, org.jboss.netty.channel.ChannelDownstreamHandler
ThriftXHRDecoder
and ThriftXHREncoder
which enables easier server side HTTP implementation.HttpServerCodec
Constructor and Description |
---|
ThriftServerXHRCodec() |
Modifier and Type | Method and Description |
---|---|
void |
handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e) |
void |
handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e) |
public ThriftServerXHRCodec()
public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e) throws java.lang.Exception
handleUpstream
in interface org.jboss.netty.channel.ChannelUpstreamHandler
java.lang.Exception
public void handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e) throws java.lang.Exception
handleDownstream
in interface org.jboss.netty.channel.ChannelDownstreamHandler
java.lang.Exception
Copyright © 2019. All rights reserved.