Class MultipartChunkedInput

java.lang.Object
io.gatling.http.client.body.multipart.impl.MultipartChunkedInput
All Implemented Interfaces:
io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>

public final class MultipartChunkedInput extends Object implements io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
  • Constructor Details

    • MultipartChunkedInput

      public MultipartChunkedInput(List<PartImpl> parts)
  • Method Details

    • readChunk

      @Deprecated public io.netty.handler.codec.http.HttpContent readChunk(io.netty.channel.ChannelHandlerContext ctx) throws Exception
      Deprecated.
      Specified by:
      readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
      Throws:
      Exception
    • readChunk

      public io.netty.handler.codec.http.HttpContent readChunk(io.netty.buffer.ByteBufAllocator alloc) throws Exception
      Specified by:
      readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
      Throws:
      Exception
    • isEndOfInput

      public boolean isEndOfInput()
      Specified by:
      isEndOfInput in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
    • close

      public void close()
      Specified by:
      close in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
    • length

      public long length()
      Specified by:
      length in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
    • progress

      public long progress()
      Specified by:
      progress in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
    • toString

      public String toString()
      Overrides:
      toString in class Object