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
 void acknowledge()
          Acknowledges a client that server wants to receive payload.
 void fail()
          Notifies a client that server doesn't want to process HTTP message payload.
 

Method Detail

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


Copyright © 2012 Oracle Corporation. All Rights Reserved.