com.liferay.portal.kernel.poller
Class DefaultPollerResponse
java.lang.Object
com.liferay.portal.kernel.poller.DefaultPollerResponse
- All Implemented Interfaces:
- PollerResponse, Serializable
public class DefaultPollerResponse
- extends Object
- implements PollerResponse
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPollerResponse
public DefaultPollerResponse()
close
public void close(Message message,
PollerHeader pollerHeader,
String portletId,
String chunkId)
- Specified by:
close in interface PollerResponse
getPollerHeader
public PollerHeader getPollerHeader()
- Specified by:
getPollerHeader in interface PollerResponse
getPortletId
public String getPortletId()
- Specified by:
getPortletId in interface PollerResponse
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface PollerResponse
setParameter
public void setParameter(String name,
JSONArray value)
throws PollerResponseClosedException
- Specified by:
setParameter in interface PollerResponse
- Throws:
PollerResponseClosedException
setParameter
public void setParameter(String name,
JSONObject value)
throws PollerResponseClosedException
- Specified by:
setParameter in interface PollerResponse
- Throws:
PollerResponseClosedException
setParameter
public void setParameter(String name,
String value)
throws PollerResponseClosedException
- Specified by:
setParameter in interface PollerResponse
- Throws:
PollerResponseClosedException
toJSONObject
public JSONObject toJSONObject()
- Specified by:
toJSONObject in interface PollerResponse