com.ibm.websphere.webcontainer.async

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

      Methods 
      Modifier and Type Method and Description
      FragmentResponse 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 setAsyncRequestDispatcherConfig(AsyncRequestDispatcherConfig config)
      Set the AsyncRequestDispatcherConfig object used to customize messages and timeouts for specific includes.
      • Methods inherited from interface javax.servlet.RequestDispatcher

        forward, include
    • Method Detail

      • getFragmentResponse

        FragmentResponse getFragmentResponse(javax.servlet.ServletRequest req,
                                           javax.servlet.ServletResponse resp)
                                             throws javax.servlet.ServletException,
                                                    java.io.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
        java.io.IOException
      • setAsyncRequestDispatcherConfig

        void setAsyncRequestDispatcherConfig(AsyncRequestDispatcherConfig config)
        Set the AsyncRequestDispatcherConfig object used to customize messages and timeouts for specific includes.
        Parameters:
        config -
IBM WebSphere Application ServerTM
Release 8.5