Package org.glassfish.grizzly.servlet
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 TypeMethodDescriptionvoidAcknowledges a client that server wants to receive payload.voidfail()Notifies a client that server doesn't want to process HTTP message payload.
-
Method Details
-
acknowledge
Acknowledges a client that server wants to receive payload.- Throws:
IOException
-
fail
Notifies a client that server doesn't want to process HTTP message payload.- Throws:
IOException
-