Package org.eclipse.jetty.server.session
Class SessionHandler.SessionAsyncListener
- java.lang.Object
-
- org.eclipse.jetty.server.session.SessionHandler.SessionAsyncListener
-
- All Implemented Interfaces:
java.util.EventListener,javax.servlet.AsyncListener
- Enclosing class:
- SessionHandler
public class SessionHandler.SessionAsyncListener extends java.lang.Object implements javax.servlet.AsyncListenerSessionAsyncListener 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(javax.servlet.AsyncEvent event)voidonError(javax.servlet.AsyncEvent event)voidonStartAsync(javax.servlet.AsyncEvent event)voidonTimeout(javax.servlet.AsyncEvent event)
-
-
-
Method Detail
-
onComplete
public void onComplete(javax.servlet.AsyncEvent event) throws java.io.IOException- Specified by:
onCompletein interfacejavax.servlet.AsyncListener- Throws:
java.io.IOException
-
onTimeout
public void onTimeout(javax.servlet.AsyncEvent event) throws java.io.IOException- Specified by:
onTimeoutin interfacejavax.servlet.AsyncListener- Throws:
java.io.IOException
-
onError
public void onError(javax.servlet.AsyncEvent event) throws java.io.IOException- Specified by:
onErrorin interfacejavax.servlet.AsyncListener- Throws:
java.io.IOException
-
onStartAsync
public void onStartAsync(javax.servlet.AsyncEvent event) throws java.io.IOException- Specified by:
onStartAsyncin interfacejavax.servlet.AsyncListener- Throws:
java.io.IOException
-
-