Interface AsyncContext
- All Superinterfaces:
javax.servlet.AsyncContext
public interface AsyncContext
extends javax.servlet.AsyncContext
AsyncContext is a private spi for websphere components to make
use of Async Servlet features
- Since:
- WAS7.0
-
Field Summary
Fields inherited from interface javax.servlet.AsyncContext
ASYNC_CONTEXT_PATH, ASYNC_PATH_INFO, ASYNC_QUERY_STRING, ASYNC_REQUEST_URI, ASYNC_SERVLET_PATH
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStartRunnable
(com.ibm.wsspi.webcontainer.async.WrapperRunnable wrapperRunnable) boolean
void
Collection<com.ibm.wsspi.webcontainer.async.WrapperRunnable>
List<com.ibm.ws.webcontainer.async.AsyncListenerEntry>
com.ibm.ws.webcontainer.async.AsyncServletReentrantLock
void
void
boolean
boolean
boolean
boolean
void
removeStartRunnable
(com.ibm.wsspi.webcontainer.async.WrapperRunnable wrapperRunnable) void
setDispatching
(boolean b) void
setInvokeErrorHandling
(boolean b) void
setRequestAndResponse
(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) Methods inherited from interface javax.servlet.AsyncContext
addListener, addListener, complete, createListener, dispatch, dispatch, dispatch, getRequest, getResponse, getTimeout, hasOriginalRequestAndResponse, setTimeout, start
-
Method Details
-
setRequestAndResponse
void setRequestAndResponse(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) -
executeNextRunnable
void executeNextRunnable() -
isCompletePending
boolean isCompletePending() -
invalidate
void invalidate() -
getAsyncListenerEntryList
List<com.ibm.ws.webcontainer.async.AsyncListenerEntry> getAsyncListenerEntryList() -
initialize
void initialize() -
isDispatchPending
boolean isDispatchPending() -
getWebApp
IServletContext getWebApp() -
getAndClearStartRunnables
Collection<com.ibm.wsspi.webcontainer.async.WrapperRunnable> getAndClearStartRunnables() -
addStartRunnable
void addStartRunnable(com.ibm.wsspi.webcontainer.async.WrapperRunnable wrapperRunnable) -
removeStartRunnable
void removeStartRunnable(com.ibm.wsspi.webcontainer.async.WrapperRunnable wrapperRunnable) -
isDispatching
boolean isDispatching() -
cancelAsyncTimer
boolean cancelAsyncTimer() -
setInvokeErrorHandling
void setInvokeErrorHandling(boolean b) -
getErrorHandlingLock
com.ibm.ws.webcontainer.async.AsyncServletReentrantLock getErrorHandlingLock() -
setDispatching
void setDispatching(boolean b) -
isComplete
boolean isComplete()
-