org.apache.jcs.auxiliary.remote.value
Class RemoteCacheResponse
java.lang.Object
org.apache.jcs.auxiliary.remote.value.RemoteCacheResponse
- All Implemented Interfaces:
- Serializable
public class RemoteCacheResponse
- extends Object
- implements Serializable
This is the response wrapper. The servlet wraps all different type of responses in one of these
objects.
- See Also:
- Serialized Form
RemoteCacheResponse
public RemoteCacheResponse()
setSuccess
public void setSuccess(boolean success)
- Parameters:
success
- the success to set
isSuccess
public boolean isSuccess()
- Returns:
- the success
setErrorMessage
public void setErrorMessage(String errorMessage)
- Parameters:
errorMessage
- the errorMessage to set
getErrorMessage
public String getErrorMessage()
- Returns:
- the errorMessage
setPayload
public void setPayload(Map payload)
- Parameters:
payload
- the payload to set
getPayload
public Map getPayload()
- Returns:
- the payload
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- string
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.