java.lang.Object
javax.servlet.AsyncEvent
public class AsyncEvent
extends java.lang.Object
The AsyncEvent API.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors Constructor Description AsyncEvent(AsyncContext context)
Constructor.AsyncEvent(AsyncContext context, java.lang.Throwable throwable)
Constructor.AsyncEvent(AsyncContext context, ServletRequest suppliedRequest, ServletResponse suppliedResponse)
Constructor.AsyncEvent(AsyncContext context, ServletRequest suppliedRequest, ServletResponse suppliedResponse, java.lang.Throwable throwable)
Constructor -
Method Summary
Modifier and Type Method Description AsyncContext
getAsyncContext()
Get the async context.ServletRequest
getSuppliedRequest()
Get the supplied request.ServletResponse
getSuppliedResponse()
Get the supplied response.java.lang.Throwable
getThrowable()
Get the throwable.
-
Constructor Details
-
AsyncEvent
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
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
Get the async context.- Returns:
- the async context.
-
getSuppliedRequest
Get the supplied request.- Returns:
- the supplied request.
-
getSuppliedResponse
Get the supplied response.- Returns:
- the supplied response.
-
getThrowable
public java.lang.Throwable getThrowable()Get the throwable.- Returns:
- the throwable.
-