Top Methods
org.apache.catalina

public Interface AsyncDispatcher

Known Direct Implementers
org.apache.catalina.core.ApplicationDispatcher
Imports
java.io.IOException, jakarta.servlet.ServletException, .ServletRequest, .ServletResponse

Method Summary

Modifier and TypeMethod and Description
public void
dispatch(ServletRequest
The request object to pass to the dispatch target
request
,
ServletResponse
The response object to pass to the dispatch target
response
)

Perform an asynchronous dispatch.

Method Detail

dispatchback to summary
public void dispatch(ServletRequest request, ServletResponse response) throws ServletException, IOException

Perform an asynchronous dispatch. The method does not check if the request is in an appropriate state for this; it is the caller's responsibility to check this.

Parameters
request:ServletRequest

The request object to pass to the dispatch target

response:ServletResponse

The response object to pass to the dispatch target

Exceptions
ServletException:
if thrown by the dispatch target
IOException:
if an I/O error occurs while processing the dispatch