Class RequestPropertiesLogFilter
java.lang.Object
org.javalite.activeweb.HttpSupport
org.javalite.activeweb.controller_filters.HttpSupportFilter
org.javalite.activeweb.controller_filters.AbstractLoggingFilter
org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
- All Implemented Interfaces:
RequestAccess
Use this filter to log HTTP request properties to a log system.
request properties are not submitted parameters, but rather properties of
the request itself: HTTP method, URI, etc.
- Author:
- Igor Polevoy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
AbstractLoggingFilter.Level
Nested classes/interfaces inherited from class org.javalite.activeweb.HttpSupport
HttpSupport.HttpBuilder, HttpSupport.RenderBuilder
-
Field Summary
Fields inherited from interface org.javalite.activeweb.RequestAccess
LOGGER
-
Constructor Summary
ConstructorDescriptionCreates a filter with default "INFO" level.Creates a filter with preset log level. -
Method Summary
Methods inherited from class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
before, getLevel, log, logAtLevel
Methods inherited from class org.javalite.activeweb.controller_filters.HttpSupportFilter
after, onException
Methods inherited from class org.javalite.activeweb.HttpSupport
applicationJSON, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.javalite.activeweb.RequestAccess
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
-
Constructor Details
-
RequestPropertiesLogFilter
Creates a filter with preset log level.- Parameters:
level
- log level
-
RequestPropertiesLogFilter
public RequestPropertiesLogFilter()Creates a filter with default "INFO" level.
-
-
Method Details
-
getMessage
- Specified by:
getMessage
in classAbstractLoggingFilter
-