Class ResponseBean
java.lang.Object
org.gcube.service.helloworld.beans.ResponseBean
- All Implemented Interfaces:
Serializable
Response bean
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetMessage(String message) voidvoidsetSuccess(boolean success) toString()
-
Field Details
-
success
protected boolean successThe result of the request: true if it succeeded, false otherwise -
message
An error message if something wrong happened, null/empty otherwise -
result
The result object of the request
-
-
Constructor Details
-
ResponseBean
public ResponseBean() -
ResponseBean
- Parameters:
success-message-result-
-
-
Method Details