Interface ICrossViewScopeResponse<T extends Serializable>
- Type Parameters:
T
- Type of the requested data.
public interface ICrossViewScopeResponse<T extends Serializable>
Result from a cross view scope request for a piece of data. This is passed to the handler who issued the request,
within the view scope of the issuer.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
-
Method Details
-
getResponseData
T getResponseData()- Returns:
- Data returned by a request handler in response to the request.
-
getError
Throwable getError()- Returns:
null
when the request was successful. Otherwise, contains the error that occurred.
-
isFailure
default boolean isFailure()- Returns:
true
if the request was not successful.
-
isSuccess
default boolean isSuccess()- Returns:
true
if the request was successful.
-