public class HttpStreamDecoder
extends io.netty.handler.codec.http.HttpObjectAggregator
| Constructor and Description |
|---|
HttpStreamDecoder(int maxContentLength) |
| Modifier and Type | Method and Description |
|---|---|
protected io.netty.handler.codec.http.FullHttpMessage |
beginAggregation(io.netty.handler.codec.http.HttpMessage httpMessage,
io.netty.buffer.ByteBuf byteBuf) |
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected boolean |
closeAfterContinueResponse(Object o) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg,
List<Object> out) |
protected void |
finishAggregation(io.netty.handler.codec.http.FullHttpMessage aggregated) |
protected void |
handleOversizedMessage(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpMessage oversized) |
protected boolean |
ignoreContentAfterContinueResponse(Object o) |
protected Object |
newContinueResponse(io.netty.handler.codec.http.HttpMessage httpMessage,
int i,
io.netty.channel.ChannelPipeline pipeline) |
aggregate, isAggregated, isContentLengthInvalid, isContentMessage, isLastContentMessage, isStartMessageacceptInboundMessage, channelInactive, ctx, handlerAdded, handlerRemoved, isHandlingOversizedMessage, maxContentLength, maxCumulationBufferComponents, setMaxCumulationBufferComponentsprotected Object newContinueResponse(io.netty.handler.codec.http.HttpMessage httpMessage, int i, io.netty.channel.ChannelPipeline pipeline)
newContinueResponse in class io.netty.handler.codec.http.HttpObjectAggregatorprotected boolean closeAfterContinueResponse(Object o)
closeAfterContinueResponse in class io.netty.handler.codec.http.HttpObjectAggregatorprotected boolean ignoreContentAfterContinueResponse(Object o)
ignoreContentAfterContinueResponse in class io.netty.handler.codec.http.HttpObjectAggregatorprotected io.netty.handler.codec.http.FullHttpMessage beginAggregation(io.netty.handler.codec.http.HttpMessage httpMessage,
io.netty.buffer.ByteBuf byteBuf)
throws Exception
beginAggregation in class io.netty.handler.codec.http.HttpObjectAggregatorExceptionprotected void finishAggregation(io.netty.handler.codec.http.FullHttpMessage aggregated)
throws Exception
finishAggregation in class io.netty.handler.codec.http.HttpObjectAggregatorExceptionprotected void handleOversizedMessage(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpMessage oversized)
throws Exception
handleOversizedMessage in class io.netty.handler.codec.http.HttpObjectAggregatorExceptionprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpObject msg,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.MessageAggregator<io.netty.handler.codec.http.HttpObject,io.netty.handler.codec.http.HttpMessage,io.netty.handler.codec.http.HttpContent,io.netty.handler.codec.http.FullHttpMessage>Exceptionpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>ExceptionCopyright © 2016. All Rights Reserved.