Class DefaultHttpContentProcessor

java.lang.Object
io.micronaut.http.server.netty.DefaultHttpContentProcessor
All Implemented Interfaces:
Toggleable, HttpContentProcessor

@Internal public class DefaultHttpContentProcessor extends Object implements HttpContentProcessor
This class will handle subscribing to a stream of HttpContent.
Since:
1.0
Author:
Graeme Rocher
  • Field Details

    • nettyHttpRequest

      protected final NettyHttpRequest<?> nettyHttpRequest
    • ctx

      protected final io.netty.channel.ChannelHandlerContext ctx
    • configuration

      protected final HttpServerConfiguration configuration
    • advertisedLength

      protected final long advertisedLength
    • requestMaxSize

      protected final long requestMaxSize
    • receivedLength

      protected final AtomicLong receivedLength
  • Constructor Details

  • Method Details

    • add

      public void add(io.netty.buffer.ByteBufHolder message, Collection<Object> out)
      Description copied from interface: HttpContentProcessor
      Process more data.
      Specified by:
      add in interface HttpContentProcessor
      Parameters:
      message - The input data
      out - The collection to add output items to