Package org.eclipse.jetty.server
Class AsyncContextState.WrappedAsyncListener
java.lang.Object
org.eclipse.jetty.server.AsyncContextState.WrappedAsyncListener
- All Implemented Interfaces:
jakarta.servlet.AsyncListener
,EventListener
- Enclosing class:
- AsyncContextState
public static class AsyncContextState.WrappedAsyncListener
extends Object
implements jakarta.servlet.AsyncListener
-
Constructor Summary
ConstructorDescriptionWrappedAsyncListener
(jakarta.servlet.AsyncListener listener, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.AsyncListener
void
onComplete
(jakarta.servlet.AsyncEvent event) void
onError
(jakarta.servlet.AsyncEvent event) void
onStartAsync
(jakarta.servlet.AsyncEvent event) void
onTimeout
(jakarta.servlet.AsyncEvent event)
-
Constructor Details
-
WrappedAsyncListener
public WrappedAsyncListener(jakarta.servlet.AsyncListener listener, jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
-
-
Method Details
-
getListener
public jakarta.servlet.AsyncListener getListener() -
onTimeout
- Specified by:
onTimeout
in interfacejakarta.servlet.AsyncListener
- Throws:
IOException
-
onStartAsync
- Specified by:
onStartAsync
in interfacejakarta.servlet.AsyncListener
- Throws:
IOException
-
onError
- Specified by:
onError
in interfacejakarta.servlet.AsyncListener
- Throws:
IOException
-
onComplete
- Specified by:
onComplete
in interfacejakarta.servlet.AsyncListener
- Throws:
IOException
-