Class PatternKeyValueProcessor
- java.lang.Object
-
- org.forgerock.openig.decoration.capture.PatternKeyValueProcessor
-
- All Implemented Interfaces:
KeyValueProcessor
public final class PatternKeyValueProcessor extends Object implements KeyValueProcessor
If the key matches the expression, return a masked value otherwise return the original value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.forgerock.openig.decoration.capture.KeyValueProcessor
KeyValueProcessor.Value
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<KeyValueProcessor.Value>
process(String key, KeyValueProcessor.Value value)
For a given key/value pair, return the processed value as an Optional.
-
-
-
Method Detail
-
process
public Optional<KeyValueProcessor.Value> process(String key, KeyValueProcessor.Value value)
Description copied from interface:KeyValueProcessor
For a given key/value pair, return the processed value as an Optional.- Specified by:
process
in interfaceKeyValueProcessor
- Parameters:
key
- the keyvalue
- theKeyValueProcessor.Value
to process- Returns:
- an Optional with the value after processing, which if empty, means there was no value as a result.
-
-