Package org.eclipse.jetty.server.session
Class SessionHandler.SessionAsyncListener
- java.lang.Object
-
- org.eclipse.jetty.server.session.SessionHandler.SessionAsyncListener
-
- All Implemented Interfaces:
EventListener,AsyncListener
- Enclosing class:
- SessionHandler
public class SessionHandler.SessionAsyncListener extends Object implements AsyncListener
SessionAsyncListener Used to ensure that a request for which async has been started has its session completed as the request exits the context.
-
-
Constructor Summary
Constructors Constructor Description SessionAsyncListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete(AsyncEvent event)voidonError(AsyncEvent event)voidonStartAsync(AsyncEvent event)voidonTimeout(AsyncEvent event)
-
-
-
Method Detail
-
onComplete
public void onComplete(AsyncEvent event) throws IOException
- Specified by:
onCompletein interfaceAsyncListener- Throws:
IOException
-
onTimeout
public void onTimeout(AsyncEvent event) throws IOException
- Specified by:
onTimeoutin interfaceAsyncListener- Throws:
IOException
-
onError
public void onError(AsyncEvent event) throws IOException
- Specified by:
onErrorin interfaceAsyncListener- Throws:
IOException
-
onStartAsync
public void onStartAsync(AsyncEvent event) throws IOException
- Specified by:
onStartAsyncin interfaceAsyncListener- Throws:
IOException
-
-