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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ThrowablegetError()TgetResponseData()default booleanisFailure()default booleanisSuccess()
-
-
-
Method Detail
-
getResponseData
T getResponseData()
- Returns:
- Data returned by a request handler in response to the request.
-
getError
Throwable getError()
- Returns:
nullwhen the request was successful. Otherwise, contains the error that occurred.
-
isFailure
default boolean isFailure()
- Returns:
trueif the request was not successful.
-
isSuccess
default boolean isSuccess()
- Returns:
trueif the request was successful.
-
-