public static final class BodyObfuscator.Builder extends Object
Modifier and Type | Method and Description |
---|---|
BodyObfuscator |
build() |
BodyObfuscator.Builder |
obfuscateAll(String propertyName)
Adds an obfuscation rule that will replace all characters with
* . |
BodyObfuscator.Builder |
obfuscateAllButFirst(int count,
String propertyName)
Adds an obfuscation rule that will keep a fixed number of characters at the start, then
replaces all other characters with
* . |
BodyObfuscator.Builder |
obfuscateAllButLast(int count,
String propertyName)
Adds an obfuscation rule that will keep a fixed number of characters at the end, then
replaces all other characters with
* . |
BodyObfuscator.Builder |
obfuscateCustom(String propertyName,
ObfuscationRule obfuscationRule)
Adds a custom, non-
null obfuscation rule. |
BodyObfuscator.Builder |
obfuscateWithFixedLength(int fixedLength,
String propertyName)
Adds an obfuscation rule that will replace values with a fixed length string containing
only
* . |
public BodyObfuscator.Builder obfuscateAll(String propertyName)
*
.public BodyObfuscator.Builder obfuscateWithFixedLength(int fixedLength, String propertyName)
*
.public BodyObfuscator.Builder obfuscateAllButFirst(int count, String propertyName)
*
.public BodyObfuscator.Builder obfuscateAllButLast(int count, String propertyName)
*
.public BodyObfuscator.Builder obfuscateCustom(String propertyName, ObfuscationRule obfuscationRule)
null
obfuscation rule.public BodyObfuscator build()
Copyright © 2024 Worldline Global Collect. All rights reserved.