abstract
void
|
afterRequest(HttpServletRequest request, String message)
Concrete subclasses should implement this method to write a log message after the request is processed.
|
abstract
void
|
beforeRequest(HttpServletRequest request, String message)
Concrete subclasses should implement this method to write a log message before the request is processed.
|
String
|
createMessage(HttpServletRequest request, String prefix, String suffix)
Create a log message for the given request, prefix and suffix.
|
void
|
doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain)
Forwards the request to the next filter in the chain and delegates down to the subclasses to perform the actual
request logging both before and after the request is processed.
|
int
|
getMaxPayloadLength()
Return the maximum length of the payload body to be included in the log message.
|
boolean
|
isIncludeClientInfo()
Return whether or not the client address and session id should be included in the log message.
|
boolean
|
isIncludePayload()
Return whether or not the request payload (body) should be included in the log message.
|
boolean
|
isIncludeQueryString()
Return whether or not the query string should be included in the log message.
|
void
|
setAfterMessagePrefix(String afterMessagePrefix)
Set the value that should be prepended to the log message written after a request is processed.
|
void
|
setAfterMessageSuffix(String afterMessageSuffix)
Set the value that should be appended to the log message written after a request is processed.
|
void
|
setBeforeMessagePrefix(String beforeMessagePrefix)
Set the value that should be prepended to the log message written before a request is processed.
|
void
|
setBeforeMessageSuffix(String beforeMessageSuffix)
Set the value that should be apppended to the log message written before a request is processed.
|
void
|
setIncludeClientInfo(boolean includeClientInfo)
Set whether or not the client address and session id should be included in the log message.
|
void
|
setIncludePayload(boolean includePayload)
Set whether or not the request payload (body) should be included in the log message.
|
void
|
setIncludeQueryString(boolean includeQueryString)
Set whether or not the query string should be included in the log message.
|
void
|
setMaxPayloadLength(int maxPayloadLength)
Sets the maximum length of the payload body to be included in the log message.
|