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