Class HttpMessageFormatter
- java.lang.Object
-
- org.asynchttpclient.netty.handler.HttpMessageFormatter
-
public final class HttpMessageFormatter extends Object
Formats HTTP messages for logging. Sensitive header values are redacted unless theorg.asynchttpclient.enableSensitiveLoggingsystem property orAHC_ENABLE_SENSITIVE_LOGGINGenvironment variable is set totruebefore the sensitive logging policy is initialized. Enabling sensitive logging may expose credentials and session data.