Package org.eclipse.jetty.ee10.servlet
Class AsyncContextEvent
java.lang.Object
jakarta.servlet.AsyncEvent
org.eclipse.jetty.ee10.servlet.AsyncContextEvent
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorDescriptionAsyncContextEvent
(ServletContextHandler.ServletScopedContext context, AsyncContextState asyncContext, ServletChannelState state, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) -
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) Set encoded URI.void
setTimeoutTask
(Scheduler.Task task) Methods inherited from class jakarta.servlet.AsyncEvent
getSuppliedRequest, getSuppliedResponse
-
Constructor Details
-
AsyncContextEvent
public AsyncContextEvent(ServletContextHandler.ServletScopedContext context, AsyncContextState asyncContext, ServletChannelState state, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
-
-
Method Details
-
getBaseURI
-
getServletRequestState
-
getSuspendedContext
public jakarta.servlet.ServletContext getSuspendedContext() -
getDispatchContext
public jakarta.servlet.ServletContext getDispatchContext() -
getServletContext
public jakarta.servlet.ServletContext getServletContext() -
getContext
-
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
Set encoded URI.- Parameters:
path
- encoded URI
-
completed
public void completed() -
run
public void run() -
addThrowable
-