Class AsyncEvent

java.lang.Object
jakarta.servlet.AsyncEvent

public class AsyncEvent
extends java.lang.Object
The AsyncEvent API.
Author:
Manfred Riem ([email protected])
  • Constructor Details

    • AsyncEvent

      public AsyncEvent​(AsyncContext context)
      Constructor.
      Parameters:
      context - the async context.
    • AsyncEvent

      public AsyncEvent​(AsyncContext context, ServletRequest suppliedRequest, ServletResponse suppliedResponse)
      Constructor.
      Parameters:
      context - the async context.
      suppliedRequest - the request.
      suppliedResponse - the response.
    • AsyncEvent

      public AsyncEvent​(AsyncContext context, java.lang.Throwable throwable)
      Constructor.
      Parameters:
      context - the async context.
      throwable - the throwable.
    • AsyncEvent

      public AsyncEvent​(AsyncContext context, ServletRequest suppliedRequest, ServletResponse suppliedResponse, java.lang.Throwable throwable)
      Constructor
      Parameters:
      context - the context.
      suppliedRequest - the request.
      suppliedResponse - the response.
      throwable - the throwable.
  • Method Details

    • getAsyncContext

      public AsyncContext getAsyncContext()
      Get the async context.
      Returns:
      the async context.
    • getSuppliedRequest

      public ServletRequest getSuppliedRequest()
      Get the supplied request.
      Returns:
      the supplied request.
    • getSuppliedResponse

      public ServletResponse getSuppliedResponse()
      Get the supplied response.
      Returns:
      the supplied response.
    • getThrowable

      public java.lang.Throwable getThrowable()
      Get the throwable.
      Returns:
      the throwable.