public class LoggingCodecSupport extends Object
Encoder
,
Decoder
, HttpMessageReader
, or
HttpMessageWriter
that uses a logger and shows potentially sensitive
request data.Constructor and Description |
---|
LoggingCodecSupport() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnableLoggingRequestDetails()
Whether any logging of values being encoded or decoded is explicitly
disabled regardless of log level.
|
void |
setEnableLoggingRequestDetails(boolean enable)
Whether to log form data at DEBUG level, and headers at TRACE level.
|
protected final Log logger
public void setEnableLoggingRequestDetails(boolean enable)
By default set to false
so that request details are not shown.
enable
- whether to enable or notpublic boolean isEnableLoggingRequestDetails()