Interface ExpectationHandler.AckAction

Enclosing interface:
ExpectationHandler

public static interface ExpectationHandler.AckAction
Interface, using which ExpectationHandler may confirm or refuse client expectation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Acknowledges a client that server wants to receive payload.
    void
    Notifies a client that server doesn't want to process HTTP message payload.
  • Method Details

    • acknowledge

      void acknowledge() throws IOException
      Acknowledges a client that server wants to receive payload.
      Throws:
      IOException
    • fail

      void fail() throws IOException
      Notifies a client that server doesn't want to process HTTP message payload.
      Throws:
      IOException