Class BasicHttpNonMultiPartAggregator
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.MessageToMessageDecoder<I>
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>
io.netty.handler.codec.http.HttpObjectAggregator
com.linkedin.alpini.netty4.handlers.BasicHttpObjectAggregator
com.linkedin.alpini.netty4.handlers.BasicHttpNonMultiPartAggregator
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
Created by acurtis on 3/24/17.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Constructor Summary
ConstructorDescriptionBasicHttpNonMultiPartAggregator
(int maxContentLength) BasicHttpNonMultiPartAggregator
(int maxContentLength, boolean closeOnExpectationFailed) -
Method Summary
Modifier and TypeMethodDescriptionvoid
channelRead
(io.netty.channel.ChannelHandlerContext ctx, Object msg) Methods inherited from class com.linkedin.alpini.netty4.handlers.BasicHttpObjectAggregator
aggregate, beginAggregation, handleOversizedMessage, newContinueResponse
Methods inherited from class io.netty.handler.codec.http.HttpObjectAggregator
closeAfterContinueResponse, finishAggregation, ignoreContentAfterContinueResponse, isAggregated, isContentLengthInvalid, isContentMessage, isLastContentMessage, isStartMessage
Methods inherited from class io.netty.handler.codec.MessageAggregator
acceptInboundMessage, channelInactive, channelReadComplete, ctx, decode, handlerAdded, handlerRemoved, isHandlingOversizedMessage, maxContentLength, maxCumulationBufferComponents, setMaxCumulationBufferComponents
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
BasicHttpNonMultiPartAggregator
public BasicHttpNonMultiPartAggregator(int maxContentLength) -
BasicHttpNonMultiPartAggregator
public BasicHttpNonMultiPartAggregator(int maxContentLength, boolean closeOnExpectationFailed)
-
-
Method Details
-
channelRead
- Specified by:
channelRead
in interfaceio.netty.channel.ChannelInboundHandler
- Overrides:
channelRead
in classio.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>
- Throws:
Exception
-