Package org.pentaho.di.www
Class BaseHttpServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.pentaho.di.www.BaseHttpServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
- 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 jakarta.servlet.http.HttpServlet
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<SlaveServerDetection> protected JobMapprotected org.pentaho.di.core.logging.LogChannelInterfaceprotected static final longprotected SocketRepositoryprotected TransformationMapFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
ConstructorsConstructorDescriptionBaseHttpServlet(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 voiddoDelete(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) protected voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected voiddoPut(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected org.pentaho.di.core.variables.VariableSpacegetPopulatedVariableSpaceFromRequest(jakarta.servlet.http.HttpServletRequest request, org.pentaho.di.core.variables.VariableSpace variableSpace) Read the request parameters from the request and add it to the VariableSpacebooleanvoidvoidvoidvoidvoidlogDetailed(String s, Object... arguments) voidvoidvoidvoidlogMinimal(String s) voidvoidsetJettyMode(boolean jettyMode) voidsetup(TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections) Methods inherited from class jakarta.servlet.http.HttpServlet
doGet, doHead, doOptions, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, 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(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
doPutin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
doDelete
protected void doDelete(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException - Overrides:
doDeletein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
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) -
getPopulatedVariableSpaceFromRequest
protected org.pentaho.di.core.variables.VariableSpace getPopulatedVariableSpaceFromRequest(jakarta.servlet.http.HttpServletRequest request, org.pentaho.di.core.variables.VariableSpace variableSpace) Read the request parameters from the request and add it to the VariableSpace- Parameters:
request- Input HttpServletRequest- Returns:
- VariableSpace Return the populated VariableSpace
-