Package org.apache.hop.www
Class RegisterPackageServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.hop.www.BaseHttpServlet
-
- org.apache.hop.www.BodyHttpServlet
-
- org.apache.hop.www.BaseWorkflowServlet
-
- org.apache.hop.www.RegisterPackageServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig,IHopServerPlugin,IHopServerServlet
@HopServerServlet(id="registerPackage", name="Upload a resources export file") public class RegisterPackageServlet extends BaseWorkflowServlet
- 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 RegisterPackageServlet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodegetConfigNodeFromZIP(Object archiveUrl, Object fileName, String xmlTag)StringgetContextPath()static StringgetMetaStoreJsonFromZIP(Object archiveUrl)protected booleanuseXML(javax.servlet.http.HttpServletRequest request)-
Methods inherited from class org.apache.hop.www.BaseWorkflowServlet
createPipeline, createWorkflow
-
Methods inherited from class org.apache.hop.www.BodyHttpServlet
beginHtml, doGet, endHtml, getService, startXml
-
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, toString, 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
-
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
-
-
Method Detail
-
getContextPath
public String getContextPath()
-
useXML
protected boolean useXML(javax.servlet.http.HttpServletRequest request)
- Overrides:
useXMLin classBodyHttpServlet
-
getConfigNodeFromZIP
protected Node getConfigNodeFromZIP(Object archiveUrl, Object fileName, String xmlTag) throws HopXmlException
- Throws:
HopXmlException
-
getMetaStoreJsonFromZIP
public static final String getMetaStoreJsonFromZIP(Object archiveUrl) throws HopFileException, IOException
- Throws:
HopFileExceptionIOException
-
-