Class LazyResponseBodyPart


  • public class LazyResponseBodyPart
    extends HttpResponseBodyPart
    A callback class used when an HTTP response body is received.
    • Constructor Detail

      • LazyResponseBodyPart

        public LazyResponseBodyPart​(io.netty.buffer.ByteBuf buf,
                                    boolean last)
    • Method Detail

      • getBuf

        public io.netty.buffer.ByteBuf getBuf()
      • getBodyPartBytes

        public byte[] getBodyPartBytes()
        Return the response body's part bytes received.
        Specified by:
        getBodyPartBytes in class HttpResponseBodyPart
        Returns:
        the response body's part bytes received.