Package org.eclipse.jetty.server
Class AsyncContextEvent
- java.lang.Object
-
- javax.servlet.AsyncEvent
-
- org.eclipse.jetty.server.AsyncContextEvent
-
- All Implemented Interfaces:
java.lang.Runnable
@Deprecated(since="2021-05-27") public class AsyncContextEvent extends AsyncEvent implements java.lang.Runnable
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description AsyncContextEvent(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, ServletRequest request, ServletResponse response)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addThrowable(java.lang.Throwable e)
Deprecated.void
cancelTimeoutTask()
Deprecated.void
completed()
Deprecated.AsyncContext
getAsyncContext()
Deprecated.ContextHandler.Context
getContext()
Deprecated.ServletContext
getDispatchContext()
Deprecated.HttpChannelState
getHttpChannelState()
Deprecated.java.lang.String
getPath()
Deprecated.ServletContext
getServletContext()
Deprecated.ServletContext
getSuspendedContext()
Deprecated.java.lang.Throwable
getThrowable()
Deprecated.boolean
hasTimeoutTask()
Deprecated.void
run()
Deprecated.void
setDispatchContext(ServletContext context)
Deprecated.void
setDispatchPath(java.lang.String path)
Deprecated.void
setTimeoutTask(Scheduler.Task task)
Deprecated.-
Methods inherited from class javax.servlet.AsyncEvent
getSuppliedRequest, getSuppliedResponse
-
-
-
-
Constructor Detail
-
AsyncContextEvent
public AsyncContextEvent(ContextHandler.Context context, AsyncContextState asyncContext, HttpChannelState state, Request baseRequest, ServletRequest request, ServletResponse response)
Deprecated.
-
-
Method Detail
-
getSuspendedContext
public ServletContext getSuspendedContext()
Deprecated.
-
getContext
public ContextHandler.Context getContext()
Deprecated.
-
getDispatchContext
public ServletContext getDispatchContext()
Deprecated.
-
getServletContext
public ServletContext getServletContext()
Deprecated.
-
getPath
public java.lang.String getPath()
Deprecated.- Returns:
- The path in the context (encoded with possible query string)
-
setTimeoutTask
public void setTimeoutTask(Scheduler.Task task)
Deprecated.
-
hasTimeoutTask
public boolean hasTimeoutTask()
Deprecated.
-
cancelTimeoutTask
public void cancelTimeoutTask()
Deprecated.
-
getAsyncContext
public AsyncContext getAsyncContext()
Deprecated.- Overrides:
getAsyncContext
in classAsyncEvent
-
getThrowable
public java.lang.Throwable getThrowable()
Deprecated.- Overrides:
getThrowable
in classAsyncEvent
-
setDispatchContext
public void setDispatchContext(ServletContext context)
Deprecated.
-
setDispatchPath
public void setDispatchPath(java.lang.String path)
Deprecated.- Parameters:
path
- encoded URI
-
completed
public void completed()
Deprecated.
-
getHttpChannelState
public HttpChannelState getHttpChannelState()
Deprecated.
-
run
public void run()
Deprecated.- Specified by:
run
in interfacejava.lang.Runnable
-
addThrowable
public void addThrowable(java.lang.Throwable e)
Deprecated.
-
-