Package org.apache.hop.www
Class AddExportServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.hop.www.BaseHttpServlet
-
- org.apache.hop.www.AddExportServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig,IHopServerPlugin,IHopServerServlet
@HopServerServlet(id="addExport", name="Upload a resources export file") public class AddExportServlet extends BaseHttpServlet implements IHopServerPlugin
This servlet allows you to transport an exported workflow or pipeline over to the carte server as a zip file. It ends up in a temporary file.The servlet returns the name of the file stored.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_PATHstatic StringPARAMETER_LOADstatic StringPARAMETER_TYPEstatic StringTYPE_PIPELINEstatic StringTYPE_WORKFLOW-
Fields inherited from class org.apache.hop.www.BaseHttpServlet
log, pipelineMap, serverConfig, supportGraphicEnvironment, variables, workflowMap
-
-
Constructor Summary
Constructors Constructor Description AddExportServlet()AddExportServlet(WorkflowMap workflowMap, PipelineMap transformationMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)StringgetContextPath()StringgetService()StringtoString()-
Methods inherited from class org.apache.hop.www.BaseHttpServlet
convertContextPath, doDelete, doPost, 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
-
PARAMETER_LOAD
public static final String PARAMETER_LOAD
- See Also:
- Constant Field Values
-
PARAMETER_TYPE
public static final String PARAMETER_TYPE
- See Also:
- Constant Field Values
-
TYPE_WORKFLOW
public static final String TYPE_WORKFLOW
- See Also:
- Constant Field Values
-
TYPE_PIPELINE
public static final String TYPE_PIPELINE
- See Also:
- Constant Field Values
-
CONTEXT_PATH
public static final String CONTEXT_PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AddExportServlet
public AddExportServlet()
-
AddExportServlet
public AddExportServlet(WorkflowMap workflowMap, PipelineMap transformationMap)
-
-
Method Detail
-
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
-
-