com.liferay.portal.poller
Class PollerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.liferay.portal.poller.PollerServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class PollerServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Method Summary |
protected String |
getContent(javax.servlet.http.HttpServletRequest request)
|
protected Map<String,String> |
getData(Map<String,Object> pollerRequestChunk)
|
protected PollerHeader |
getPollerHeader(Map<String,Object>[] pollerRequestChunks)
|
protected String |
getPollerRequestString(javax.servlet.http.HttpServletRequest request)
|
protected long |
getUserId(long companyId,
String userIdString)
|
protected boolean |
isReceiveRequest(javax.servlet.http.HttpServletRequest request)
|
protected PollerRequest |
process(Set<String> portletIdsWithChunks,
PollerHeader pollerHeader,
String portletId,
Map<String,String> parameterMap,
String chunkId,
boolean receiveRequest)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollerServlet
public PollerServlet()
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Throws:
IOException
javax.servlet.ServletException
getContent
protected String getContent(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getData
protected Map<String,String> getData(Map<String,Object> pollerRequestChunk)
throws Exception
- Throws:
Exception
getPollerHeader
protected PollerHeader getPollerHeader(Map<String,Object>[] pollerRequestChunks)
throws Exception
- Throws:
Exception
getPollerRequestString
protected String getPollerRequestString(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
getUserId
protected long getUserId(long companyId,
String userIdString)
isReceiveRequest
protected boolean isReceiveRequest(javax.servlet.http.HttpServletRequest request)
throws Exception
- Throws:
Exception
process
protected PollerRequest process(Set<String> portletIdsWithChunks,
PollerHeader pollerHeader,
String portletId,
Map<String,String> parameterMap,
String chunkId,
boolean receiveRequest)
throws Exception
- Throws:
Exception