Interface RequestDispatchCallback


public interface RequestDispatchCallback
Callback contract.
  • Method Summary

    Modifier and Type
    Method
    Description
    doCallback(jakarta.servlet.ServletContext dispatchedServletContext, jakarta.servlet.http.HttpServletRequest dispatchedRequest, jakarta.servlet.http.HttpServletResponse dispatchedResponse, Object handback)
    Performs the request dispatch logic.
  • Method Details

    • doCallback

      Object doCallback(jakarta.servlet.ServletContext dispatchedServletContext, jakarta.servlet.http.HttpServletRequest dispatchedRequest, jakarta.servlet.http.HttpServletResponse dispatchedResponse, Object handback) throws jakarta.servlet.ServletException, IOException
      Performs the request dispatch logic.
      Parameters:
      dispatchedServletContext - the dispatched servlet context
      dispatchedRequest - the dispatched request
      dispatchedResponse - the dispatched response
      handback - the handback object provided to the dispatched @return any object
      Returns:
      any object
      Throws:
      jakarta.servlet.ServletException - if an exception occurs that interferes with the normal operation
      IOException - if an input or output exception occurs