AsyncListener.
| 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 asynchronous context associated with the event context)Creates an instance using the provide parameters. |
| public | AsyncEvent(AsyncContext
The asynchronous context associated with the event context, ServletRequest The request associated with the event request, ServletResponse The response associated with the event response)Creates an instance using the provide parameters. |
| public | AsyncEvent(AsyncContext
The asynchronous context associated with the event context, Throwable The throwable associated with the event throwable)Creates an instance using the provide parameters. |
| public | AsyncEvent(AsyncContext
The asynchronous context associated with the event context, ServletRequest The request associated with the event request, ServletResponse The response associated with the event response, Throwable The throwable associated with the event throwable)Creates an instance using the provide parameters. |
| Modifier and Type | Method and Description |
|---|---|
| public AsyncContext | Returns: The asynchronous context associated with the event ornull if one was not specifiedObtain the asynchronous context associated with the event. |
| public ServletRequest | Returns: The request associated with the event ornull if one was not specifiedObtain the request associated with the event. |
| public ServletResponse | Returns: The response associated with the event ornull if one was not specifiedObtain the response associated with the event. |
| public Throwable | Returns: The throwable associated with the event ornull if one was not specifiedObtain the throwable associated with the event. |
| 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) Creates an instance using the provide parameters.
| |
| AsyncEvent | back to summary |
|---|---|
| public AsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response) Creates an instance using the provide parameters.
| |
| AsyncEvent | back to summary |
|---|---|
| public AsyncEvent(AsyncContext context, Throwable throwable) Creates an instance using the provide parameters.
| |
| AsyncEvent | back to summary |
|---|---|
| public AsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response, Throwable throwable) Creates an instance using the provide parameters.
| |
| getAsyncContext | back to summary |
|---|---|
| public AsyncContext getAsyncContext() Obtain the asynchronous context associated with the event.
| |
| getSuppliedRequest | back to summary |
|---|---|
| public ServletRequest getSuppliedRequest() Obtain the request associated with the event.
| |
| getSuppliedResponse | back to summary |
|---|---|
| public ServletResponse getSuppliedResponse() Obtain the response associated with the event.
| |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Obtain the throwable associated with the event.
| |