Interface HeaderMaskingFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that masks the specified header value.
-
Method Summary
Modifier and TypeMethodDescriptionmask
(AsciiString name, String value) Masks the specifiedvalue
of the specifiedname
.static HeaderMaskingFunction
of()
Returns the defaultHeaderMaskingFunction
that masks the given value with****
.
-
Method Details
-
of
Returns the defaultHeaderMaskingFunction
that masks the given value with****
. -
mask
Masks the specifiedvalue
of the specifiedname
. Ifnull
is returned, the specifiedvalue
will be removed from the log.
-