Package org.eclipse.jetty.server
Class AsyncContextState
java.lang.Object
org.eclipse.jetty.server.AsyncContextState
- All Implemented Interfaces:
AsyncContext
@Deprecated(since="2021-05-27")
public class AsyncContextState
extends Object
implements AsyncContext
Deprecated.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface javax.servlet.AsyncContext
ASYNC_CONTEXT_PATH, ASYNC_PATH_INFO, ASYNC_QUERY_STRING, ASYNC_REQUEST_URI, ASYNC_SERVLET_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(AsyncListener listener) Deprecated.voidaddListener(AsyncListener listener, ServletRequest request, ServletResponse response) Deprecated.voidcomplete()Deprecated.<T extends AsyncListener>
TcreateListener(Class<T> clazz) Deprecated.voiddispatch()Deprecated.voidDeprecated.voiddispatch(ServletContext context, String path) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.longDeprecated.Get the current timeout.booleanDeprecated.voidreset()Deprecated.voidsetTimeout(long arg0) Deprecated.Set the timeout.voidDeprecated.
-
Constructor Details
-
AsyncContextState
Deprecated.
-
-
Method Details
-
getHttpChannel
Deprecated. -
addListener
Deprecated.- Specified by:
addListenerin interfaceAsyncContext
-
addListener
Deprecated.- Specified by:
addListenerin interfaceAsyncContext
-
complete
public void complete()Deprecated.- Specified by:
completein interfaceAsyncContext
-
createListener
Deprecated.- Specified by:
createListenerin interfaceAsyncContext- Throws:
ServletException
-
dispatch
public void dispatch()Deprecated.- Specified by:
dispatchin interfaceAsyncContext
-
dispatch
Deprecated.- Specified by:
dispatchin interfaceAsyncContext- Parameters:
path- The path to which the request/response should be dispatched relative to theServletContextfrom which this async request was started.
-
dispatch
Deprecated.- Specified by:
dispatchin interfaceAsyncContext- Parameters:
context- TheServletContextto which the request/response should be dispatched.path- The path to which the request/response should be dispatched relative to the specifiedServletContext.
-
getRequest
Deprecated.- Specified by:
getRequestin interfaceAsyncContext
-
getResponse
Deprecated.- Specified by:
getResponsein interfaceAsyncContext
-
getTimeout
public long getTimeout()Deprecated.Description copied from interface:AsyncContextGet the current timeout.- Specified by:
getTimeoutin interfaceAsyncContext- Returns:
- The timeout in milliseconds. 0 or less indicates no timeout.
-
hasOriginalRequestAndResponse
public boolean hasOriginalRequestAndResponse()Deprecated.- Specified by:
hasOriginalRequestAndResponsein interfaceAsyncContext
-
setTimeout
public void setTimeout(long arg0) Deprecated.Description copied from interface:AsyncContextSet the timeout.- Specified by:
setTimeoutin interfaceAsyncContext- Parameters:
arg0- The timeout in milliseconds. 0 or less indicates no timeout.
-
start
Deprecated.- Specified by:
startin interfaceAsyncContext
-
reset
public void reset()Deprecated. -
getHttpChannelState
Deprecated.
-