Class EmptyBodyProcessor

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

public class EmptyBodyProcessor extends Object implements BodyProcessor
A body processor that handles when there is no body.
Author:
Brian Pontarelli
  • Constructor Details

    • EmptyBodyProcessor

      public EmptyBodyProcessor()
  • 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.