Package org.pentaho.di.www
Class BaseHttpServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.pentaho.di.www.BaseHttpServlet
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
- Direct Known Subclasses:
AddExportServlet
,AddJobServlet
,AddTransServlet
,AllocateServerSocketServlet
,BaseCartePlugin
,BodyHttpServlet
,CleanupTransServlet
,ExecuteJobServlet
,ExecuteTransServlet
,GetJobImageServlet
,GetJobStatusServlet
,GetRootServlet
,GetSlavesServlet
,GetStatusServlet
,GetTransImageServlet
,GetTransStatusServlet
,ListServerSocketServlet
,NextSequenceValueServlet
,PauseTransServlet
,PrepareExecutionTransServlet
,RegisterSlaveServlet
,RemoveJobServlet
,RemoveTransServlet
,RunJobServlet
,RunTransServlet
,SniffStepServlet
,StartExecutionTransServlet
,StartJobServlet
,StartTransServlet
,StopCarteServlet
,StopJobServlet
,StopTransServlet
public class BaseHttpServlet
extends javax.servlet.http.HttpServlet
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<SlaveServerDetection>
protected JobMap
protected org.pentaho.di.core.logging.LogChannelInterface
protected static final long
protected SocketRepository
protected TransformationMap
-
Constructor Summary
ConstructorDescriptionBaseHttpServlet
(List<SlaveServerDetection> detections) BaseHttpServlet
(List<SlaveServerDetection> detections, boolean isJetty) BaseHttpServlet
(JobMap jobMap) BaseHttpServlet
(JobMap jobMap, SocketRepository socketRepository) BaseHttpServlet
(TransformationMap transformationMap) BaseHttpServlet
(TransformationMap transformationMap, JobMap jobMap) BaseHttpServlet
(TransformationMap transformationMap, SocketRepository socketRepository) -
Method Summary
Modifier and TypeMethodDescriptionconvertContextPath
(String contextPath) protected void
doDelete
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) protected void
doPost
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) protected void
doPut
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) boolean
void
void
void
void
void
logDetailed
(String s, Object... arguments) void
void
void
void
logMinimal
(String s) void
void
setJettyMode
(boolean jettyMode) void
setup
(TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections) Methods inherited from class javax.servlet.http.HttpServlet
doGet, doHead, doOptions, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
serialVersionUID
protected static final long serialVersionUID- See Also:
-
transformationMap
-
jobMap
-
socketRepository
-
detections
-
log
protected org.pentaho.di.core.logging.LogChannelInterface log
-
-
Constructor Details
-
BaseHttpServlet
public BaseHttpServlet() -
BaseHttpServlet
-
BaseHttpServlet
-
BaseHttpServlet
-
BaseHttpServlet
-
BaseHttpServlet
-
BaseHttpServlet
-
BaseHttpServlet
-
-
Method Details
-
convertContextPath
-
doPut
protected void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException - Overrides:
doPut
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException - Overrides:
doPost
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
doDelete
protected void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException - Overrides:
doDelete
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
getTransformationMap
-
getJobMap
-
getSocketRepository
-
getDetections
-
isJettyMode
public boolean isJettyMode() -
setJettyMode
public void setJettyMode(boolean jettyMode) -
logMinimal
-
logBasic
-
logError
-
logError
-
logBasic
-
logDetailed
-
logError
-
logDetailed
-
logDebug
-
logRowlevel
-
setup
public void setup(TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections)
-