|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.handler.codec.http.HttpServerCodec
public class HttpServerCodec
A combination of HttpRequestDecoder and HttpResponseEncoder
which enables easier server side HTTP implementation.
HttpClientCodec| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
|---|
ChannelHandler.Sharable |
| Constructor Summary | |
|---|---|
HttpServerCodec()
Creates a new instance with the default decoder options ( maxInitialLineLength (4096}, maxHeaderSize (8192), and
maxChunkSize (8192)). |
|
HttpServerCodec(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize)
Creates a new instance with the specified decoder options. |
|
| Method Summary | |
|---|---|
void |
handleDownstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified downstream event. |
void |
handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
Handles the specified upstream event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpServerCodec()
maxInitialLineLength (4096}, maxHeaderSize (8192), and
maxChunkSize (8192)).
public HttpServerCodec(int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize)
| Method Detail |
|---|
public void handleUpstream(ChannelHandlerContext ctx,
ChannelEvent e)
throws java.lang.Exception
ChannelUpstreamHandler
handleUpstream in interface ChannelUpstreamHandlerctx - the context object for this handlere - the upstream event to process or intercept
java.lang.Exception
public void handleDownstream(ChannelHandlerContext ctx,
ChannelEvent e)
throws java.lang.Exception
ChannelDownstreamHandler
handleDownstream in interface ChannelDownstreamHandlerctx - the context object for this handlere - the downstream event to process or intercept
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||