public class Sanitizer extends Object
| Constructor and Description |
|---|
Sanitizer() |
Sanitizer(String... keysToSanitize) |
| Modifier and Type | Method and Description |
|---|---|
Object |
sanitize(String key,
Object value)
Sanitize the given value if necessary.
|
void |
setKeysToSanitize(String... keysToSanitize)
Keys that should be sanitized.
|
public Sanitizer()
public Sanitizer(String... keysToSanitize)
public void setKeysToSanitize(String... keysToSanitize)
keysToSanitize - the keys to sanitizeCopyright © 2019 Pivotal Software, Inc.. All rights reserved.