Interface AsyncRequestDispatcher

All Superinterfaces:
javax.servlet.RequestDispatcher

public interface AsyncRequestDispatcher extends javax.servlet.RequestDispatcher
AsyncRequestDispatcher is a special RequestDispatcher used to execute includes asynchronously.
  • Field Summary

    Fields inherited from interface javax.servlet.RequestDispatcher

    ERROR_EXCEPTION, ERROR_EXCEPTION_TYPE, ERROR_MESSAGE, ERROR_REQUEST_URI, ERROR_SERVLET_NAME, ERROR_STATUS_CODE, FORWARD_CONTEXT_PATH, FORWARD_PATH_INFO, FORWARD_QUERY_STRING, FORWARD_REQUEST_URI, FORWARD_SERVLET_PATH, INCLUDE_CONTEXT_PATH, INCLUDE_PATH_INFO, INCLUDE_QUERY_STRING, INCLUDE_REQUEST_URI, INCLUDE_SERVLET_PATH
  • Method Summary

    Modifier and Type
    Method
    Description
    getFragmentResponse(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp)
    getFragmentResponse kicks off an asynchronous includes and returns a FragmentRespnse object which is used later to insert the include contents.
    void
    Set the AsyncRequestDispatcherConfig object used to customize messages and timeouts for specific includes.

    Methods inherited from interface javax.servlet.RequestDispatcher

    forward, include
  • Method Details

    • getFragmentResponse

      FragmentResponse getFragmentResponse(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) throws javax.servlet.ServletException, IOException
      getFragmentResponse kicks off an asynchronous includes and returns a FragmentRespnse object which is used later to insert the include contents.
      Parameters:
      req - ServletRequest
      resp - ServletResponse
      Returns:
      FragmentResponse
      Throws:
      javax.servlet.ServletException
      IOException
    • setAsyncRequestDispatcherConfig

      void setAsyncRequestDispatcherConfig(AsyncRequestDispatcherConfig config)
      Set the AsyncRequestDispatcherConfig object used to customize messages and timeouts for specific includes.
      Parameters:
      config -