Interface BodyProcessor

All Known Implementing Classes:
ChunkedBodyProcessor, ContentLengthBodyProcessor, EmptyBodyProcessor

public interface BodyProcessor
A body parser that handles response body processing based on either Content-Length or chunked data.
Author:
Brian Pontarelli
  • Method Details

    • currentBuffers

      ByteBuffer[] currentBuffers()
      Returns:
      The current buffer that the selector should use for writing.
    • isComplete

      boolean isComplete()
      Returns:
      True if the body processing is complete and all bytes hve been written.