Interface ExpectationHandler


public interface ExpectationHandler
Handler, responsible for processing Expect: header in a HTTP requests, for example "Expect: 100-Continue"
Author:
Alexey Stashok
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Interface, using which ExpectationHandler may confirm or refuse client expectation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onExpectAcknowledgement(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ExpectationHandler.AckAction action)
    Method is getting called by framework if HTTP request contains "Expect" header.