IBM WebSphere Application ServerTM
Release 7

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.


Method Summary
 com.ibm.websphere.webcontainer.async.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

com.ibm.websphere.webcontainer.async.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 7