Package org.pentaho.di.www
Class BaseCartePlugin
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.pentaho.di.www.BaseHttpServlet
-
- org.pentaho.di.www.BaseCartePlugin
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,CartePluginInterface
,CarteRequestHandler
,CarteServletInterface
public abstract class BaseCartePlugin extends BaseHttpServlet implements CartePluginInterface, CarteRequestHandler
- Author:
- nhudak
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.pentaho.di.www.CarteRequestHandler
CarteRequestHandler.CarteRequest, CarteRequestHandler.CarteResponse, CarteRequestHandler.OutputStreamResponse, CarteRequestHandler.WriterResponse
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.www.BaseHttpServlet
detections, jobMap, log, serialVersionUID, socketRepository, transformationMap
-
-
Constructor Summary
Constructors Constructor Description BaseCartePlugin()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
Deprecated.Should not be called directly.abstract String
getContextPath()
String
getService()
abstract void
handleRequest(CarteRequestHandler.CarteRequest request)
protected void
service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
String
toString()
-
Methods inherited from class org.pentaho.di.www.BaseHttpServlet
convertContextPath, doDelete, doPost, doPut, getDetections, getJobMap, getSocketRepository, getTransformationMap, isJettyMode, logBasic, logBasic, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logRowlevel, setJettyMode, setup
-
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.pentaho.di.www.CartePluginInterface
isJettyMode, setJettyMode, setup
-
-
-
-
Method Detail
-
doGet
@Deprecated public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
Deprecated.Should not be called directly. Useservice(HttpServletRequest, HttpServletResponse)
instead- Specified by:
doGet
in interfaceCartePluginInterface
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Parameters:
req
- http servlet requestresp
- http servlet response- Throws:
IOException
-
service
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
- Overrides:
service
in classjavax.servlet.http.HttpServlet
- Throws:
IOException
-
handleRequest
public abstract void handleRequest(CarteRequestHandler.CarteRequest request) throws IOException
- Specified by:
handleRequest
in interfaceCarteRequestHandler
- Throws:
IOException
-
getContextPath
public abstract String getContextPath()
- Specified by:
getContextPath
in interfaceCartePluginInterface
-
getService
public String getService()
- Specified by:
getService
in interfaceCarteServletInterface
-
-