Class RemoteCacheResponse<T>
java.lang.Object
org.apache.commons.jcs3.auxiliary.remote.value.RemoteCacheResponse<T>
- All Implemented Interfaces:
- Serializable
This is the response wrapper. The servlet wraps all different type of responses in one of these
 objects.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidsetErrorMessage(String errorMessage) voidsetPayload(T payload) voidsetSuccess(boolean success) toString()
- 
Constructor Details- 
RemoteCacheResponsepublic RemoteCacheResponse()
 
- 
- 
Method Details- 
setSuccess- Parameters:
- success- the success to set
 
- 
isSuccess- Returns:
- the success
 
- 
setErrorMessage- Parameters:
- errorMessage- the errorMessage to set
 
- 
getErrorMessage- Returns:
- the errorMessage
 
- 
setPayload- Parameters:
- payload- the payload to set
 
- 
getPayload- Returns:
- the payload
 
- 
toString
 
-