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