Annotation Type RequestHeaderSanitizer
-
@Qualifier @Retention(CLASS) @Target({METHOD,PARAMETER,TYPE}) public @interface RequestHeaderSanitizer
AQualifier
to use onConsumer
to indicate the provided consumer should be used to sanitize request headers. The consumer will be provided a mutableHttpHeaders
and should remove any headers that are not appropriate for logging in request logs.