ServletRequest#startAsync or ServletRequest#startAsync(ServletRequest, ServletResponse)) has
completed, timed out, or produced an error.
| Modifier and Type | Field and Description |
|---|---|
| private final AsyncContext | |
| private final ServletRequest | |
| private final ServletResponse | |
| private final Throwable |
| Access | Constructor and Description |
|---|---|
| public | AsyncEvent(AsyncContext
the AsyncContex to be delivered with this AsyncEvent context)Constructs an AsyncEvent from the given AsyncContext. |
| public | AsyncEvent(AsyncContext
the AsyncContex to be delivered with this AsyncEvent context, ServletRequest the ServletRequest to be delivered with this AsyncEvent request, ServletResponse the ServletResponse to be delivered with this AsyncEvent response)Constructs an AsyncEvent from the given AsyncContext, ServletRequest, and ServletResponse. |
| public | AsyncEvent(AsyncContext
the AsyncContex to be delivered with this AsyncEvent context, Throwable the Throwable to be delivered with this AsyncEvent throwable)Constructs an AsyncEvent from the given AsyncContext and Throwable. |
| public | AsyncEvent(AsyncContext
the AsyncContex to be delivered with this AsyncEvent context, ServletRequest the ServletRequest to be delivered with this AsyncEvent request, ServletResponse the ServletResponse to be delivered with this AsyncEvent response, Throwable the Throwable to be delivered with this AsyncEvent throwable)Constructs an AsyncEvent from the given AsyncContext, ServletRequest, ServletResponse, and Throwable. |
| Modifier and Type | Method and Description |
|---|---|
| public AsyncContext | Returns: the AsyncContext that was used to initialize this AsyncEventGets the AsyncContext from this AsyncEvent. |
| public ServletRequest | Returns: the ServletRequest that was used to initialize this AsyncEvent, or null if this AsyncEvent was initialized without any ServletRequestGets the ServletRequest from this AsyncEvent. |
| public ServletResponse | Returns: the ServletResponse that was used to initialize this AsyncEvent, or null if this AsyncEvent was initialized without any ServletResponseGets the ServletResponse from this AsyncEvent. |
| public Throwable | Returns: the Throwable that was used to initialize this AsyncEvent, or null if this AsyncEvent was initialized without any ThrowableGets the Throwable from this AsyncEvent. |
| context | back to summary |
|---|---|
| private final AsyncContext context | |
| request | back to summary |
|---|---|
| private final ServletRequest request | |
| response | back to summary |
|---|---|
| private final ServletResponse response | |
| throwable | back to summary |
|---|---|
| private final Throwable throwable | |
| AsyncEvent | back to summary |
|---|---|
| public AsyncEvent(AsyncContext context) Constructs an AsyncEvent from the given AsyncContext.
| |
| AsyncEvent | back to summary |
|---|---|
| public AsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response) Constructs an AsyncEvent from the given AsyncContext, ServletRequest, and ServletResponse.
| |
| AsyncEvent | back to summary |
|---|---|
| public AsyncEvent(AsyncContext context, Throwable throwable) Constructs an AsyncEvent from the given AsyncContext and Throwable.
| |
| AsyncEvent | back to summary |
|---|---|
| public AsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response, Throwable throwable) Constructs an AsyncEvent from the given AsyncContext, ServletRequest, ServletResponse, and Throwable.
| |
| getAsyncContext | back to summary |
|---|---|
| public AsyncContext getAsyncContext() Gets the AsyncContext from this AsyncEvent.
| |
| getSuppliedRequest | back to summary |
|---|---|
| public ServletRequest getSuppliedRequest() Gets the ServletRequest from this AsyncEvent.
If the AsyncListener to which this AsyncEvent is being delivered was added using
| |
| getSuppliedResponse | back to summary |
|---|---|
| public ServletResponse getSuppliedResponse() Gets the ServletResponse from this AsyncEvent.
If the AsyncListener to which this AsyncEvent is being delivered was added using
| |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Gets the Throwable from this AsyncEvent.
| |