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