Class RegexBasedSanitizer
java.lang.Object
com.linecorp.armeria.common.logging.RegexBasedSanitizer
- All Implemented Interfaces:
BiFunction<RequestContext,
Object, String>
public final class RegexBasedSanitizer
extends Object
implements BiFunction<RequestContext,Object,String>
Regex based sanitizer.
-
Method Summary
Modifier and TypeMethodDescriptionapply
(RequestContext ctx, @Nullable Object input) static RegexBasedSanitizer
Returns a new instance created from the specifiedPattern
s.static RegexBasedSanitizer
Returns a new instance created from the specifiedPattern
s.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
of
Returns a new instance created from the specifiedPattern
s. -
of
Returns a new instance created from the specifiedPattern
s. -
apply
- Specified by:
apply
in interfaceBiFunction<RequestContext,
Object, String>
-