public class DefaultPollerResponse extends Object implements PollerResponse
POLLER_HINT_HIGH_CONNECTIVITY
Constructor and Description |
---|
DefaultPollerResponse() |
Modifier and Type | Method and Description |
---|---|
void |
close(Message message,
PollerHeader pollerHeader,
String portletId,
String chunkId) |
PollerHeader |
getPollerHeader() |
String |
getPortletId() |
boolean |
isEmpty() |
void |
setParameter(String name,
JSONArray value) |
void |
setParameter(String name,
JSONObject value) |
void |
setParameter(String name,
String value) |
JSONObject |
toJSONObject() |
public void close(Message message, PollerHeader pollerHeader, String portletId, String chunkId)
close
in interface PollerResponse
public PollerHeader getPollerHeader()
getPollerHeader
in interface PollerResponse
public String getPortletId()
getPortletId
in interface PollerResponse
public boolean isEmpty()
isEmpty
in interface PollerResponse
public void setParameter(String name, JSONArray value) throws PollerResponseClosedException
setParameter
in interface PollerResponse
PollerResponseClosedException
public void setParameter(String name, JSONObject value) throws PollerResponseClosedException
setParameter
in interface PollerResponse
PollerResponseClosedException
public void setParameter(String name, String value) throws PollerResponseClosedException
setParameter
in interface PollerResponse
PollerResponseClosedException
public JSONObject toJSONObject()
toJSONObject
in interface PollerResponse