Package org.glassfish.grizzly.servlet
Interface ExpectationHandler.AckAction
-
- Enclosing interface:
- ExpectationHandler
public static interface ExpectationHandler.AckActionInterface, using whichExpectationHandlermay confirm or refuse client expectation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidacknowledge()Acknowledges a client that server wants to receive payload.voidfail()Notifies a client that server doesn't want to process HTTP message payload.
-
-
-
Method Detail
-
acknowledge
void acknowledge() throws IOExceptionAcknowledges 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
-
-