Package org.eclipse.jetty.server
Class AsyncContextState
java.lang.Object
org.eclipse.jetty.server.AsyncContextState
- All Implemented Interfaces:
jakarta.servlet.AsyncContext
-
Nested Class Summary
-
Field Summary
Fields inherited from interface jakarta.servlet.AsyncContext
ASYNC_CONTEXT_PATH, ASYNC_MAPPING, ASYNC_PATH_INFO, ASYNC_QUERY_STRING, ASYNC_REQUEST_URI, ASYNC_SERVLET_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(jakarta.servlet.AsyncListener listener) void
addListener
(jakarta.servlet.AsyncListener listener, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) void
complete()
<T extends jakarta.servlet.AsyncListener>
TcreateListener
(Class<T> clazz) void
dispatch()
void
void
jakarta.servlet.ServletRequest
jakarta.servlet.ServletResponse
long
boolean
void
reset()
void
setTimeout
(long arg0) void
-
Constructor Details
-
AsyncContextState
-
-
Method Details
-
getHttpChannel
-
addListener
public void addListener(jakarta.servlet.AsyncListener listener, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) - Specified by:
addListener
in interfacejakarta.servlet.AsyncContext
-
addListener
public void addListener(jakarta.servlet.AsyncListener listener) - Specified by:
addListener
in interfacejakarta.servlet.AsyncContext
-
complete
public void complete()- Specified by:
complete
in interfacejakarta.servlet.AsyncContext
-
createListener
public <T extends jakarta.servlet.AsyncListener> T createListener(Class<T> clazz) throws jakarta.servlet.ServletException - Specified by:
createListener
in interfacejakarta.servlet.AsyncContext
- Throws:
jakarta.servlet.ServletException
-
dispatch
public void dispatch()- Specified by:
dispatch
in interfacejakarta.servlet.AsyncContext
-
dispatch
- Specified by:
dispatch
in interfacejakarta.servlet.AsyncContext
-
dispatch
- Specified by:
dispatch
in interfacejakarta.servlet.AsyncContext
-
getRequest
public jakarta.servlet.ServletRequest getRequest()- Specified by:
getRequest
in interfacejakarta.servlet.AsyncContext
-
getResponse
public jakarta.servlet.ServletResponse getResponse()- Specified by:
getResponse
in interfacejakarta.servlet.AsyncContext
-
getTimeout
public long getTimeout()- Specified by:
getTimeout
in interfacejakarta.servlet.AsyncContext
-
hasOriginalRequestAndResponse
public boolean hasOriginalRequestAndResponse()- Specified by:
hasOriginalRequestAndResponse
in interfacejakarta.servlet.AsyncContext
-
setTimeout
public void setTimeout(long arg0) - Specified by:
setTimeout
in interfacejakarta.servlet.AsyncContext
-
start
- Specified by:
start
in interfacejakarta.servlet.AsyncContext
-
reset
public void reset() -
getHttpChannelState
-