Uses of Class
jakarta.servlet.AsyncEvent
Packages that use 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
Methods in jakarta.servlet with parameters of type AsyncEventModifier and TypeMethodDescriptionvoidAsyncListener.onComplete(AsyncEvent event) This event is fired after the call toAsyncContext.complete()has been processed by the container.voidAsyncListener.onError(AsyncEvent event) This event is fired if an error occurs during an asynchronous operation but before the container takes any action as a result of the error.voidAsyncListener.onStartAsync(AsyncEvent event) This event is fired if new call is made toServletRequest.startAsync()after the completion of theAsyncContextto which this listener was added.voidAsyncListener.onTimeout(AsyncEvent event) This event is fired if an asynchronous operation times out but before the container takes any action as a result of the timeout.