public abstract class ServletBase
extends javax.servlet.http.HttpServlet
implements org.pentaho.platform.api.engine.ILogger
Modifier and Type | Field and Description |
---|---|
static boolean |
debug |
Constructor and Description |
---|
ServletBase() |
Modifier and Type | Method and Description |
---|---|
void |
debug(String message) |
void |
debug(String message,
Throwable error) |
void |
error(String message) |
void |
error(String message,
Throwable error) |
void |
fatal(String message) |
void |
fatal(String message,
Throwable error) |
abstract org.apache.commons.logging.Log |
getLogger() |
int |
getLoggingLevel() |
String |
getObjectName() |
protected org.pentaho.platform.api.engine.IPentahoSession |
getPentahoSession(javax.servlet.http.HttpServletRequest request) |
void |
info(String message) |
void |
info(String message,
Throwable error) |
void |
setCorsHeaders(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setLoggingLevel(int logLevel) |
void |
trace(String message) |
void |
trace(String message,
Throwable error) |
void |
warn(String message) |
void |
warn(String message,
Throwable error) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final boolean debug
protected org.pentaho.platform.api.engine.IPentahoSession getPentahoSession(javax.servlet.http.HttpServletRequest request)
public abstract org.apache.commons.logging.Log getLogger()
public String getObjectName()
public int getLoggingLevel()
getLoggingLevel
in interface org.pentaho.platform.api.engine.ILogger
public void setLoggingLevel(int logLevel)
setLoggingLevel
in interface org.pentaho.platform.api.engine.ILogger
public void trace(String message)
trace
in interface org.pentaho.platform.api.engine.ILogger
public void debug(String message)
debug
in interface org.pentaho.platform.api.engine.ILogger
public void info(String message)
info
in interface org.pentaho.platform.api.engine.ILogger
public void warn(String message)
warn
in interface org.pentaho.platform.api.engine.ILogger
public void error(String message)
error
in interface org.pentaho.platform.api.engine.ILogger
public void fatal(String message)
fatal
in interface org.pentaho.platform.api.engine.ILogger
public void trace(String message, Throwable error)
trace
in interface org.pentaho.platform.api.engine.ILogger
public void debug(String message, Throwable error)
debug
in interface org.pentaho.platform.api.engine.ILogger
public void info(String message, Throwable error)
info
in interface org.pentaho.platform.api.engine.ILogger
public void warn(String message, Throwable error)
warn
in interface org.pentaho.platform.api.engine.ILogger
public void error(String message, Throwable error)
error
in interface org.pentaho.platform.api.engine.ILogger
public void fatal(String message, Throwable error)
fatal
in interface org.pentaho.platform.api.engine.ILogger
public void setCorsHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Copyright © 2021 Hitachi Vantara. All rights reserved.