Package javax.servlet

Class AsyncEvent


  • public class AsyncEvent
    extends Object
    The AsyncEvent API.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Constructor Detail

      • 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,
                          Throwable throwable)
        Constructor.
        Parameters:
        context - the async context.
        throwable - the throwable.
      • AsyncEvent

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

      • 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 Throwable getThrowable()
        Get the throwable.
        Returns:
        the throwable.