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 jsonArray) |
void |
setParameter(String name,
JSONObject jsonObject) |
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 jsonArray)
throws PollerResponseClosedException
PollerResponseClosedExceptionvoid setParameter(String name,
JSONObject jsonObject)
throws PollerResponseClosedException
PollerResponseClosedExceptionvoid setParameter(String name,
String value)
throws PollerResponseClosedException
PollerResponseClosedExceptionJSONObject toJSONObject()