public interface PollerResponse
extends Serializable
Modifier and Type | Field and Description |
---|---|
static String |
POLLER_HINT_HIGH_CONNECTIVITY |
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() |
static final String POLLER_HINT_HIGH_CONNECTIVITY
void close(Message message, PollerHeader pollerHeader, String portletId, String chunkId)
PollerHeader getPollerHeader()
String getPortletId()
boolean isEmpty()
void setParameter(String name, JSONArray value) throws PollerResponseClosedException
PollerResponseClosedException
void setParameter(String name, JSONObject value) throws PollerResponseClosedException
PollerResponseClosedException
void setParameter(String name, String value) throws PollerResponseClosedException
PollerResponseClosedException
JSONObject toJSONObject()