org.apache.jcs.auxiliary.remote.value
Class RemoteCacheResponse
java.lang.Object
org.apache.jcs.auxiliary.remote.value.RemoteCacheResponse
- All Implemented Interfaces:
- java.io.Serializable
public class RemoteCacheResponse
- extends java.lang.Object
- implements java.io.Serializable
This is the response wrapper. The servlet wraps all different type of responses in one of these
objects.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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(java.lang.String errorMessage)
- Parameters:
errorMessage
- the errorMessage to set
getErrorMessage
public java.lang.String getErrorMessage()
- Returns:
- the errorMessage
setPayload
public void setPayload(java.util.Map payload)
- Parameters:
payload
- the payload to set
getPayload
public java.util.Map getPayload()
- Returns:
- the payload
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- string
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.