@ThreadSafe
public interface KeyValueFilter<K,V>
Modifier and Type | Method and Description |
---|---|
boolean |
accept(K key,
V value,
Metadata metadata) |
default MediaType |
format() |
boolean accept(K key, V value, Metadata metadata)
key
- key to testvalue
- value to use (could be null for the case of removal)metadata
- metadatadefault MediaType format()
accept(Object, Object, Metadata)
operation.
If null, the filter will receive data as it's stored.Copyright © 2021 JBoss by Red Hat. All rights reserved.