public class PollerResponse
extends Object
implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
POLLER_HINT_HIGH_CONNECTIVITY |
| Constructor and Description |
|---|
PollerResponse() |
| Modifier and Type | Method and Description |
|---|---|
PollerHeader |
getPollerHeader() |
String |
getPortletId() |
String |
getResponseId() |
boolean |
isEmpty() |
void |
populate(String responseId,
PollerHeader pollerHeader,
String portletId,
String chunkId) |
void |
setParameter(String name,
JSONArray jsonArray) |
void |
setParameter(String name,
JSONObject jsonObject) |
void |
setParameter(String name,
String value) |
JSONObject |
toJSONObject() |
public static final String POLLER_HINT_HIGH_CONNECTIVITY
public PollerHeader getPollerHeader()
public String getPortletId()
public String getResponseId()
public boolean isEmpty()
public void populate(String responseId,
PollerHeader pollerHeader,
String portletId,
String chunkId)
public void setParameter(String name,
JSONArray jsonArray)
throws PollerResponseClosedException
PollerResponseClosedExceptionpublic void setParameter(String name,
JSONObject jsonObject)
throws PollerResponseClosedException
PollerResponseClosedExceptionpublic void setParameter(String name,
String value)
throws PollerResponseClosedException
PollerResponseClosedExceptionpublic JSONObject toJSONObject()