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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SlaveServerDetection>
detections
protected JobMap
jobMap
protected org.pentaho.di.core.logging.LogChannelInterface
log
protected static long
serialVersionUID
protected SocketRepository
socketRepository
protected TransformationMap
transformationMap
-
Constructor Summary
Constructors Constructor Description BaseHttpServlet()
BaseHttpServlet(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convertContextPath(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)
List<SlaveServerDetection>
getDetections()
JobMap
getJobMap()
SocketRepository
getSocketRepository()
TransformationMap
getTransformationMap()
boolean
isJettyMode()
void
logBasic(String s)
void
logBasic(String s, Object... arguments)
void
logDebug(String s)
void
logDetailed(String s)
void
logDetailed(String s, Object... arguments)
void
logError(String s)
void
logError(String s, Object... arguments)
void
logError(String s, Throwable e)
void
logMinimal(String s)
void
logRowlevel(String s)
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
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
transformationMap
protected TransformationMap transformationMap
-
jobMap
protected JobMap jobMap
-
socketRepository
protected SocketRepository socketRepository
-
detections
protected List<SlaveServerDetection> detections
-
log
protected org.pentaho.di.core.logging.LogChannelInterface log
-
-
Constructor Detail
-
BaseHttpServlet
public BaseHttpServlet()
-
BaseHttpServlet
public BaseHttpServlet(TransformationMap transformationMap)
-
BaseHttpServlet
public BaseHttpServlet(JobMap jobMap)
-
BaseHttpServlet
public BaseHttpServlet(TransformationMap transformationMap, JobMap jobMap)
-
BaseHttpServlet
public BaseHttpServlet(TransformationMap transformationMap, SocketRepository socketRepository)
-
BaseHttpServlet
public BaseHttpServlet(JobMap jobMap, SocketRepository socketRepository)
-
BaseHttpServlet
public BaseHttpServlet(List<SlaveServerDetection> detections)
-
BaseHttpServlet
public BaseHttpServlet(List<SlaveServerDetection> detections, boolean isJetty)
-
-
Method Detail
-
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
public TransformationMap getTransformationMap()
-
getJobMap
public JobMap getJobMap()
-
getSocketRepository
public SocketRepository getSocketRepository()
-
getDetections
public List<SlaveServerDetection> getDetections()
-
isJettyMode
public boolean isJettyMode()
-
setJettyMode
public void setJettyMode(boolean jettyMode)
-
logMinimal
public void logMinimal(String s)
-
logBasic
public void logBasic(String s)
-
logError
public void logError(String s)
-
logDetailed
public void logDetailed(String s)
-
logDebug
public void logDebug(String s)
-
logRowlevel
public void logRowlevel(String s)
-
setup
public void setup(TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections)
-
-