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