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

public class BasicHttpNonMultiPartAggregator extends BasicHttpObjectAggregator
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

    Constructors
    Constructor
    Description
    BasicHttpNonMultiPartAggregator(int maxContentLength)
     
    BasicHttpNonMultiPartAggregator(int maxContentLength, boolean closeOnExpectationFailed)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BasicHttpNonMultiPartAggregator

      public BasicHttpNonMultiPartAggregator(int maxContentLength)
    • BasicHttpNonMultiPartAggregator

      public BasicHttpNonMultiPartAggregator(int maxContentLength, boolean closeOnExpectationFailed)
  • Method Details

    • channelRead

      public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
      Specified by:
      channelRead in interface io.netty.channel.ChannelInboundHandler
      Overrides:
      channelRead in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.HttpObject>
      Throws:
      Exception