Package org.eclipse.jetty.server
Class AsyncContextEvent
java.lang.Object
jakarta.servlet.AsyncEvent
org.eclipse.jetty.server.AsyncContextEvent
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorDescriptionAsyncContextEvent
(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) AsyncContextEvent
(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, HttpURI baseURI) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
jakarta.servlet.AsyncContext
jakarta.servlet.ServletContext
jakarta.servlet.ServletContext
jakarta.servlet.ServletContext
boolean
void
run()
void
setDispatchContext
(jakarta.servlet.ServletContext context) void
setDispatchPath
(String path) void
setTimeoutTask
(Scheduler.Task task) Methods inherited from class jakarta.servlet.AsyncEvent
getSuppliedRequest, getSuppliedResponse
-
Constructor Details
-
AsyncContextEvent
public AsyncContextEvent(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) -
AsyncContextEvent
public AsyncContextEvent(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, HttpURI baseURI)
-
-
Method Details
-
getBaseURI
-
getSuspendedContext
public jakarta.servlet.ServletContext getSuspendedContext() -
getContext
-
getDispatchContext
public jakarta.servlet.ServletContext getDispatchContext() -
getServletContext
public jakarta.servlet.ServletContext getServletContext() -
setTimeoutTask
-
hasTimeoutTask
public boolean hasTimeoutTask() -
cancelTimeoutTask
public void cancelTimeoutTask() -
getAsyncContext
public jakarta.servlet.AsyncContext getAsyncContext()- Overrides:
getAsyncContext
in classjakarta.servlet.AsyncEvent
-
getThrowable
- Overrides:
getThrowable
in classjakarta.servlet.AsyncEvent
-
setDispatchContext
public void setDispatchContext(jakarta.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
-