Package org.pentaho.platform.web.servlet
Class ServletBase
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.pentaho.platform.web.servlet.ServletBase
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,org.pentaho.platform.api.engine.ILogger
- Direct Known Subclasses:
CacheExpirationService
,GenericServlet
,GetImage
,GetResource
,HttpWebService
,LocalizationServlet
,ProxyServlet
,SolutionEngineInteractivityService
,ThemeServlet
,UIServlet
,ViewAction
public abstract class ServletBase
extends javax.servlet.http.HttpServlet
implements org.pentaho.platform.api.engine.ILogger
- See Also:
-
Field Summary
Fields inherited from interface org.pentaho.platform.api.engine.ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
abstract org.apache.commons.logging.Log
int
protected org.pentaho.platform.api.engine.IPentahoSession
getPentahoSession
(javax.servlet.http.HttpServletRequest request) void
void
void
setCorsHeaders
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) void
setLoggingLevel
(int logLevel) void
void
void
void
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Field Details
-
debug
public static final boolean debug- See Also:
-
-
Constructor Details
-
ServletBase
public ServletBase()
-
-
Method Details
-
getPentahoSession
protected org.pentaho.platform.api.engine.IPentahoSession getPentahoSession(javax.servlet.http.HttpServletRequest request) -
getLogger
public abstract org.apache.commons.logging.Log getLogger() -
getObjectName
-
getLoggingLevel
public int getLoggingLevel()- Specified by:
getLoggingLevel
in interfaceorg.pentaho.platform.api.engine.ILogger
-
setLoggingLevel
public void setLoggingLevel(int logLevel) - Specified by:
setLoggingLevel
in interfaceorg.pentaho.platform.api.engine.ILogger
-
trace
- Specified by:
trace
in interfaceorg.pentaho.platform.api.engine.ILogger
-
debug
- Specified by:
debug
in interfaceorg.pentaho.platform.api.engine.ILogger
-
info
- Specified by:
info
in interfaceorg.pentaho.platform.api.engine.ILogger
-
warn
- Specified by:
warn
in interfaceorg.pentaho.platform.api.engine.ILogger
-
error
- Specified by:
error
in interfaceorg.pentaho.platform.api.engine.ILogger
-
fatal
- Specified by:
fatal
in interfaceorg.pentaho.platform.api.engine.ILogger
-
trace
- Specified by:
trace
in interfaceorg.pentaho.platform.api.engine.ILogger
-
debug
- Specified by:
debug
in interfaceorg.pentaho.platform.api.engine.ILogger
-
info
- Specified by:
info
in interfaceorg.pentaho.platform.api.engine.ILogger
-
warn
- Specified by:
warn
in interfaceorg.pentaho.platform.api.engine.ILogger
-
error
- Specified by:
error
in interfaceorg.pentaho.platform.api.engine.ILogger
-
fatal
- Specified by:
fatal
in interfaceorg.pentaho.platform.api.engine.ILogger
-
setCorsHeaders
public void setCorsHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-