public class OpenEJBAsyncContext
extends java.lang.Object
Constructor and Description |
---|
OpenEJBAsyncContext(HttpServletRequest request,
ServletResponse response,
java.lang.String contextPath) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(AsyncListener listener) |
void |
addListener(AsyncListener listener,
ServletRequest servletRequest,
ServletResponse servletResponse) |
void |
complete() |
<T extends AsyncListener> |
createListener(java.lang.Class<T> clazz) |
static void |
destroy() |
void |
dispatch() |
void |
dispatch(ServletContext context,
java.lang.String path) |
void |
dispatch(java.lang.String path) |
ServletRequest |
getRequest() |
ServletResponse |
getResponse() |
long |
getTimeout() |
boolean |
hasOriginalRequestAndResponse() |
static void |
init() |
void |
internalStartAsync() |
void |
setTimeout(long timeout) |
void |
start(java.lang.Runnable run) |
public OpenEJBAsyncContext(HttpServletRequest request, ServletResponse response, java.lang.String contextPath)
public static void destroy()
public static void init()
public void complete()
public void dispatch()
public void dispatch(java.lang.String path)
public void dispatch(ServletContext context, java.lang.String path)
public ServletRequest getRequest()
public ServletResponse getResponse()
public void start(java.lang.Runnable run)
public void internalStartAsync()
public void addListener(AsyncListener listener)
public void addListener(AsyncListener listener, ServletRequest servletRequest, ServletResponse servletResponse)
public <T extends AsyncListener> T createListener(java.lang.Class<T> clazz) throws ServletException
ServletException
public boolean hasOriginalRequestAndResponse()
public long getTimeout()
public void setTimeout(long timeout)