ResourceRequest (via a call to ResourceRequest#startAsync or
ResourceRequest#startAsync(ResourceRequest, ResouceResponse)) has completed, timed
out, or produced an error.
PortletAsyncContext, PortletAsyncEvent, ResourceRequest
| Modifier and Type | Field and Description |
|---|---|
| pack-priv PortletAsyncContext | |
| pack-priv ResourceRequest | |
| pack-priv ResourceResponse | |
| pack-priv Throwable |
| Access | Constructor and Description |
|---|---|
| public | PortletAsyncEvent(PortletAsyncContext context, ResourceRequest request, ResourceResponse response, Throwable throwable)
Constructs a
PortletAsyncEvent from the given
PortletAsyncContext, ResourceRequest, ResourceResponse,
and Throwable. |
| public | PortletAsyncEvent(PortletAsyncContext context, ResourceRequest request, ResourceResponse response)
Constructs a
PortletAsyncEvent from the given
PortletAsyncContext, ResourceRequest, and ResourceResponse. |
| public | PortletAsyncEvent(PortletAsyncContext context, Throwable throwable)
Constructs a
PortletAsyncEvent from the given
PortletAsyncContext and Throwable. |
| public | PortletAsyncEvent(PortletAsyncContext context)
Constructs a
PortletAsyncEvent from the given
PortletAsyncContext. |
| Modifier and Type | Method and Description |
|---|---|
| public PortletAsyncContext | Returns: the portlet asynchronous context
Gets the portlet asynchronous context object associated with the event.
|
| public ResourceRequest | Returns: the resource request provided to the constructor, ornull
if no resource request was provided.
Gets the resource request associated with the listener when it was added through the
PortletAsyncContext#addListener(PortletAsyncListener, ResourceRequest, ResourceResponse)
method. |
| public ResourceResponse | Returns: the resource response provided to the constructor, ornull
if no resource response was provided.
Gets the resource response associated with the listener when it was added through the
PortletAsyncContext#addListener(PortletAsyncListener, ResourceRequest, ResourceResponse)
method. |
| public Throwable | Returns: TheThrowable that was used to initialize the event, or null
if no Throwable was provided.
Gets the
Throwable associated with the event. |
| context | back to summary |
|---|---|
| pack-priv PortletAsyncContext context | |
| request | back to summary |
|---|---|
| pack-priv ResourceRequest request | |
| response | back to summary |
|---|---|
| pack-priv ResourceResponse response | |
| throwable | back to summary |
|---|---|
| pack-priv Throwable throwable | |
| PortletAsyncEvent | back to summary |
|---|---|
| public PortletAsyncEvent(PortletAsyncContext context, ResourceRequest request, ResourceResponse response, Throwable throwable)
Constructs a
PortletAsyncEvent from the given
PortletAsyncContext, ResourceRequest, ResourceResponse,
and Throwable.
| |
| PortletAsyncEvent | back to summary |
|---|---|
| public PortletAsyncEvent(PortletAsyncContext context, ResourceRequest request, ResourceResponse response)
Constructs a
PortletAsyncEvent from the given
PortletAsyncContext, ResourceRequest, and ResourceResponse.
| |
| PortletAsyncEvent | back to summary |
|---|---|
| public PortletAsyncEvent(PortletAsyncContext context, Throwable throwable)
Constructs a
PortletAsyncEvent from the given
PortletAsyncContext and Throwable.
| |
| PortletAsyncEvent | back to summary |
|---|---|
| public PortletAsyncEvent(PortletAsyncContext context)
Constructs a
PortletAsyncEvent from the given
PortletAsyncContext.
| |
| getPortletAsyncContext | back to summary |
|---|---|
| public PortletAsyncContext getPortletAsyncContext()
Gets the portlet asynchronous context object associated with the event.
| |
| getSuppliedRequest | back to summary |
|---|---|
| public ResourceRequest getSuppliedRequest()
Gets the resource request associated with the listener when it was added through the
PortletAsyncContext#addListener(PortletAsyncListener, ResourceRequest, ResourceResponse)
method.
If the listener was added through the
| |
| getSuppliedResponse | back to summary |
|---|---|
| public ResourceResponse getSuppliedResponse()
Gets the resource response associated with the listener when it was added through the
PortletAsyncContext#addListener(PortletAsyncListener, ResourceRequest, ResourceResponse)
method.
If the listener was added through the
| |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable()
Gets the
Throwable associated with the event.
| |