public interface AsyncContext
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASYNC_CONTEXT_PATH |
static java.lang.String |
ASYNC_PATH_INFO |
static java.lang.String |
ASYNC_QUERY_STRING |
static java.lang.String |
ASYNC_REQUEST_URI |
static java.lang.String |
ASYNC_SERVLET_PATH |
Modifier and Type | Method and Description |
---|---|
void |
addListener(AsyncListener listener) |
void |
addListener(AsyncListener listener,
ServletRequest request,
ServletResponse response) |
void |
complete() |
<T extends AsyncListener> |
createListener(java.lang.Class<T> cl) |
void |
dispatch() |
void |
dispatch(ServletContext context,
java.lang.String path) |
void |
dispatch(java.lang.String path) |
ServletRequest |
getRequest() |
ServletResponse |
getResponse() |
long |
getTimeout() |
boolean |
hasOriginalRequestAndResponse() |
void |
setTimeout(long timeout) |
void |
start(java.lang.Runnable run) |
static final java.lang.String ASYNC_CONTEXT_PATH
static final java.lang.String ASYNC_PATH_INFO
static final java.lang.String ASYNC_QUERY_STRING
static final java.lang.String ASYNC_REQUEST_URI
static final java.lang.String ASYNC_SERVLET_PATH
ServletRequest getRequest()
ServletResponse getResponse()
boolean hasOriginalRequestAndResponse()
void dispatch()
void dispatch(java.lang.String path)
void dispatch(ServletContext context, java.lang.String path)
void complete()
void start(java.lang.Runnable run)
void addListener(AsyncListener listener)
void addListener(AsyncListener listener, ServletRequest request, ServletResponse response)
<T extends AsyncListener> T createListener(java.lang.Class<T> cl) throws ServletException
ServletException
void setTimeout(long timeout)
long getTimeout()