Package com.gigaspaces.dih.consumer.web
Class PipelineConsumerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.gigaspaces.dih.consumer.web.PipelineConsumerServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public abstract class PipelineConsumerServlet
extends javax.servlet.http.HttpServlet
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()protected voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) protected abstract Stringprotected abstract GigaSpaceShould resolve Space using ServletContext defined in the pu.xml, else it will resolve it manually from the spaceNamevoidinit()protected abstract voidregisterTypes(GigaSpace gigaSpace) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
logger
protected static org.slf4j.Logger logger -
gigaSpace
-
-
Constructor Details
-
PipelineConsumerServlet
public PipelineConsumerServlet()
-
-
Method Details
-
getSpace
protected abstract GigaSpace getSpace(javax.servlet.ServletContext servletContext, String spaceName) Should resolve Space using ServletContext defined in the pu.xml, else it will resolve it manually from the spaceName -
registerTypes
-
getPuName
-
destroy
public void destroy()- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classjavax.servlet.GenericServlet
-
init
public void init() throws javax.servlet.ServletException- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException - Overrides:
doPostin classjavax.servlet.http.HttpServlet- Throws:
IOException- See Also:
-
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse response)
-