Interface AsyncContext
- All Superinterfaces:
jakarta.servlet.AsyncContext
public interface AsyncContext
extends jakarta.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 jakarta.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
(jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse) Methods inherited from interface jakarta.servlet.AsyncContext
addListener, addListener, complete, createListener, dispatch, dispatch, dispatch, getRequest, getResponse, getTimeout, hasOriginalRequestAndResponse, setTimeout, start
-
Method Details
-
setRequestAndResponse
void setRequestAndResponse(jakarta.servlet.ServletRequest servletRequest, jakarta.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()
-