Package org.apache.hop.www
Class WebServiceServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.hop.www.BaseHttpServlet
-
- org.apache.hop.www.WebServiceServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig,IHopServerPlugin,IHopServerServlet
@HopServerServlet(id="webService", name="Output the content of a field in a transform") public class WebServiceServlet extends BaseHttpServlet implements IHopServerPlugin
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_PATH-
Fields inherited from class org.apache.hop.www.BaseHttpServlet
log, pipelineMap, serverConfig, supportGraphicEnvironment, variables, workflowMap
-
-
Constructor Summary
Constructors Constructor Description WebServiceServlet()WebServiceServlet(PipelineMap pipelineMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)StringgetContextPath()StringgetService()StringtoString()-
Methods inherited from class org.apache.hop.www.BaseHttpServlet
convertContextPath, doDelete, doPut, getLog, getPipelineMap, getServerConfig, getWorkflowMap, isJettyMode, logBasic, logBasic, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logRowlevel, service, setJettyMode, setLog, setPipelineMap, setServerConfig, setup, setWorkflowMap
-
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, 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, wait, wait, wait
-
Methods inherited from interface org.apache.hop.www.IHopServerPlugin
isJettyMode, setJettyMode, setup
-
-
-
-
Field Detail
-
CONTEXT_PATH
public static final String CONTEXT_PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebServiceServlet
public WebServiceServlet()
-
WebServiceServlet
public WebServiceServlet(PipelineMap pipelineMap)
-
-
Method Detail
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
doPostin classBaseHttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Specified by:
doGetin interfaceIHopServerPlugin- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
getService
public String getService()
- Specified by:
getServicein interfaceIHopServerServlet
-
getContextPath
public String getContextPath()
- Specified by:
getContextPathin interfaceIHopServerPlugin
-
-