Package com.helger.servlet.async
Class LoggingServletAsyncListener
- java.lang.Object
-
- com.helger.servlet.async.AbstractServletAsyncListener
-
- com.helger.servlet.async.LoggingServletAsyncListener
-
- All Implemented Interfaces:
jakarta.servlet.AsyncListener,EventListener
@Immutable public class LoggingServletAsyncListener extends AbstractServletAsyncListener
A logging implementation ofAsyncListener.- Since:
- 8.8.0
- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description LoggingServletAsyncListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonComplete(jakarta.servlet.AsyncEvent aAsyncEvent)voidonError(jakarta.servlet.AsyncEvent aAsyncEvent)voidonStartAsync(jakarta.servlet.AsyncEvent aAsyncEvent)voidonTimeout(jakarta.servlet.AsyncEvent aAsyncEvent)-
Methods inherited from class com.helger.servlet.async.AbstractServletAsyncListener
toString
-
-
-
-
Method Detail
-
onStartAsync
public void onStartAsync(@Nonnull jakarta.servlet.AsyncEvent aAsyncEvent) throws IOException
- Specified by:
onStartAsyncin interfacejakarta.servlet.AsyncListener- Overrides:
onStartAsyncin classAbstractServletAsyncListener- Throws:
IOException
-
onComplete
public void onComplete(@Nonnull jakarta.servlet.AsyncEvent aAsyncEvent) throws IOException
- Specified by:
onCompletein interfacejakarta.servlet.AsyncListener- Overrides:
onCompletein classAbstractServletAsyncListener- Throws:
IOException
-
onError
public void onError(@Nonnull jakarta.servlet.AsyncEvent aAsyncEvent) throws IOException
- Specified by:
onErrorin interfacejakarta.servlet.AsyncListener- Overrides:
onErrorin classAbstractServletAsyncListener- Throws:
IOException
-
onTimeout
public void onTimeout(@Nonnull jakarta.servlet.AsyncEvent aAsyncEvent) throws IOException
- Specified by:
onTimeoutin interfacejakarta.servlet.AsyncListener- Overrides:
onTimeoutin classAbstractServletAsyncListener- Throws:
IOException
-
-