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