com.senseidb.servlet
Class AbstractSenseiRestServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.senseidb.servlet.ZookeeperConfigurableServlet
com.senseidb.servlet.AbstractSenseiClientServlet
com.senseidb.servlet.AbstractSenseiRestServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- DefaultSenseiJSONServlet
public abstract class AbstractSenseiRestServlet
- extends AbstractSenseiClientServlet
- See Also:
- Serialized Form
Fields inherited from class com.senseidb.servlet.ZookeeperConfigurableServlet |
clusterClientName, clusterName, connectTimeoutMillis, loadBalancerFactory, maxConnectionsPerNode, staleRequestCleanupFrequencyMins, staleRequestTimeoutMins, versionComparator, writeTimeoutMillis, zkTimeout, zkurl |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSenseiRestServlet
public AbstractSenseiRestServlet()
buildSenseiRequest
protected abstract SenseiRequest buildSenseiRequest(org.apache.commons.configuration.DataConfiguration params)
throws Exception
- Throws:
Exception
buildSenseiRequest
protected SenseiRequest buildSenseiRequest(javax.servlet.http.HttpServletRequest req)
throws Exception
- Specified by:
buildSenseiRequest
in class AbstractSenseiClientServlet
- Throws:
Exception
buildResultString
protected abstract String buildResultString(SenseiRequest req,
SenseiResult res)
throws Exception
- Throws:
Exception
buildResultString
protected abstract String buildResultString(SenseiSystemInfo info)
throws Exception
- Throws:
Exception
convertResult
protected void convertResult(SenseiSystemInfo info,
OutputStream ostream)
throws Exception
- Specified by:
convertResult
in class AbstractSenseiClientServlet
- Throws:
Exception
convertResult
protected void convertResult(SenseiRequest req,
SenseiResult res,
OutputStream ostream)
throws Exception
- Specified by:
convertResult
in class AbstractSenseiClientServlet
- Throws:
Exception
Copyright © 2010-2012. All Rights Reserved.