Liferay 6.2-ce-ga5

com.liferay.portal.kernel.poller
Class DefaultPollerResponse

java.lang.Object
  extended by com.liferay.portal.kernel.poller.DefaultPollerResponse
All Implemented Interfaces:
PollerResponse

public class DefaultPollerResponse
extends Object
implements PollerResponse


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.poller.PollerResponse
POLLER_HINT_HIGH_CONNECTIVITY
 
Constructor Summary
DefaultPollerResponse(PollerHeader pollerHeader, String portletId, String chunkId)
           
 
Method Summary
 void close()
           
 void createResponseMessage(Message message)
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPollerResponse

public DefaultPollerResponse(PollerHeader pollerHeader,
                             String portletId,
                             String chunkId)
Method Detail

close

public void close()
Specified by:
close in interface PollerResponse

createResponseMessage

public void createResponseMessage(Message message)
Specified by:
createResponseMessage 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

Liferay 6.2-ce-ga5