public abstract class ServletBase extends javax.servlet.http.HttpServlet implements ILogger
Modifier and Type | Field and Description |
---|---|
static boolean |
debug |
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
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 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 IPentahoSession getPentahoSession(javax.servlet.http.HttpServletRequest request)
public abstract org.apache.commons.logging.Log getLogger()
public String getObjectName()
public int getLoggingLevel()
getLoggingLevel
in interface ILogger
public void setLoggingLevel(int logLevel)
setLoggingLevel
in interface ILogger
public void setCorsHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Copyright © 2017 Hitachi Vantara. All rights reserved.