| Modifier and Type | Class and Description |
|---|---|
| public static interface | ExpectationHandler.
Interface, using which |
| Modifier and Type | Method and Description |
|---|---|
| public void | onExpectAcknowledgement(final HttpServletRequest request, final HttpServletResponse response, final ExpectationHandler.
Method is getting called by framework if HTTP request contains "Expect" header. |
| onExpectAcknowledgement | back to summary |
|---|---|
| public void onExpectAcknowledgement(final HttpServletRequest request, final HttpServletResponse response, final ExpectationHandler. Method is getting called by framework if HTTP request contains "Expect" header. Depending on request information,
implementation may decide to accept or refuse the HTTP message payload, using passed
| |
ExpectationHandler may confirm or refuse client expectation.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| acknowledge | back to summary |
|---|---|
| public void acknowledge() throws IOException Acknowledges a client that server wants to receive payload. | |
| fail | back to summary |
|---|---|
| public void fail() throws IOException Notifies a client that server doesn't want to process HTTP message payload. | |