Class ChunkedBodyProcessor

java.lang.Object
io.fusionauth.http.body.response.ChunkedBodyProcessor
All Implemented Interfaces:
BodyProcessor

public class ChunkedBodyProcessor extends Object implements BodyProcessor
A body processor that handles chunked requests/responses.
Author:
Brian Pontarelli
  • Constructor Details

  • Method Details

    • currentBuffers

      public ByteBuffer[] currentBuffers()
      Specified by:
      currentBuffers in interface BodyProcessor
      Returns:
      The current buffer that the selector should use for writing.
    • isComplete

      public boolean isComplete()
      Specified by:
      isComplete in interface BodyProcessor
      Returns:
      True if the body processing is complete and all bytes hve been written.