Uses of Class
jakarta.servlet.AsyncEvent
Package
Description
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
-
Uses of AsyncEvent in jakarta.servlet
Modifier and TypeMethodDescriptionvoid
AsyncListener.onComplete
(AsyncEvent event) Notifies this AsyncListener that an asynchronous operation has been completed.void
AsyncListener.onError
(AsyncEvent event) Notifies this AsyncListener that an asynchronous operation has failed to complete.void
AsyncListener.onStartAsync
(AsyncEvent event) Notifies this AsyncListener that a new asynchronous cycle is being initiated via a call to one of theServletRequest.startAsync()
methods.void
AsyncListener.onTimeout
(AsyncEvent event) Notifies this AsyncListener that an asynchronous operation has timed out.