public class HeadersLogFilter extends AbstractLoggingFilter
AbstractLoggingFilter.Level
HttpSupport.HttpBuilder, HttpSupport.RenderBuilder
LOGGER
Constructor and Description |
---|
HeadersLogFilter()
Creates a filter with default "INFO" level.
|
HeadersLogFilter(AbstractLoggingFilter.Level level)
Creates a filter with preset log level.
|
HeadersLogFilter(AbstractLoggingFilter.Level level,
boolean printResponseHeaders)
Creates a filter with preset log level.
|
Modifier and Type | Method and Description |
---|---|
void |
after() |
protected String |
getMessage() |
before, getLevel, log, logAtLevel
onException
assign, blank, encoding, flash, flash, flash, flash, getEncoding, getFile, getHttpServletRequest, getHttpServletResponse, getMap, getMap, getRealPath, getRequestBytes, getRequestInputStream, getRequestStream, getRequestString, getResponseHeaders, header, header, jsonList, jsonMap, jsonMaps, locale, logDebug, logError, logError, logError, logInfo, logWarning, logWarning, merge, multipartForm, multipartForm, multipartFormItems, multipartFormItems, multipartFormItems, outputStream, outputStream, outputStream, redirect, redirect, redirect, redirect, redirect, redirect, redirect, redirect, redirectToReferrer, redirectToReferrer, render, respond, sanitize, sendCookie, sendCookie, sendFile, sendFile, sendPermanentCookie, session, session, sessionBoolean, sessionDouble, sessionFloat, sessionHas, sessionInteger, sessionLong, sessionObject, sessionString, setContentLength, setEncoding, setLocale, setRequestEncoding, setResponseEncoding, status, streamOut, uploadedFiles, uploadedFiles, uploadedFiles, values, view, view, view, writer, writer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appContext, context, cookie, cookies, cookieValue, exists, format, getId, getLocale, getRequestHost, getRequestPort, getRequestProperties, getRequestProtocol, getRoute, header, headers, host, ipAddress, ipForwardedFor, isDelete, isGet, isHead, isMethod, isMultipartContent, isPost, isPut, isXhr, locale, method, param, param, params, params, params, params1st, params1st, path, port, protocol, queryString, remoteAddress, remoteHost, requestHas, servletPath, session, session, uri, url, userAgent, xhr
public HeadersLogFilter(AbstractLoggingFilter.Level level)
level
- log levelpublic HeadersLogFilter(AbstractLoggingFilter.Level level, boolean printResponseHeaders)
level
- log levelprintResponseHeaders
- true to print response headers too.public HeadersLogFilter()
protected String getMessage()
getMessage
in class AbstractLoggingFilter
public void after()
after
in class HttpSupportFilter
Copyright © 2020 JavaLite. All rights reserved.