Package org.eclipse.jetty.server
Class AsyncContextEvent
java.lang.Object
javax.servlet.AsyncEvent
org.eclipse.jetty.server.AsyncContextEvent
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorDescriptionAsyncContextEvent
(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) AsyncContextEvent
(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, HttpURI baseURI) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
javax.servlet.AsyncContext
javax.servlet.ServletContext
javax.servlet.ServletContext
javax.servlet.ServletContext
boolean
void
run()
void
setDispatchContext
(javax.servlet.ServletContext context) void
setDispatchPath
(String path) void
setTimeoutTask
(Scheduler.Task task) Methods inherited from class javax.servlet.AsyncEvent
getSuppliedRequest, getSuppliedResponse
-
Constructor Details
-
AsyncContextEvent
public AsyncContextEvent(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) -
AsyncContextEvent
public AsyncContextEvent(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, HttpURI baseURI)
-
-
Method Details
-
getBaseURI
-
getSuspendedContext
public javax.servlet.ServletContext getSuspendedContext() -
getContext
-
getDispatchContext
public javax.servlet.ServletContext getDispatchContext() -
getServletContext
public javax.servlet.ServletContext getServletContext() -
setTimeoutTask
-
hasTimeoutTask
public boolean hasTimeoutTask() -
cancelTimeoutTask
public void cancelTimeoutTask() -
getAsyncContext
public javax.servlet.AsyncContext getAsyncContext()- Overrides:
getAsyncContext
in classjavax.servlet.AsyncEvent
-
getThrowable
- Overrides:
getThrowable
in classjavax.servlet.AsyncEvent
-
setDispatchContext
public void setDispatchContext(javax.servlet.ServletContext context) -
getDispatchPath
- Returns:
- The path in the context (encoded with possible query string)
-
setDispatchPath
- Parameters:
path
- encoded URI
-
completed
public void completed() -
getHttpChannelState
-
run
public void run() -
addThrowable
-