Modifier and Type | Method and Description |
---|---|
Map<String,String> |
apply(Map<String,String> metadata)
Transforms metadata raw values into header form values
|
static <R> MetadataToHeadersFunction |
create(String prefix)
Creates a new Metadata to Headers function
|
public static <R> MetadataToHeadersFunction create(String prefix)
prefix
- the prefix used for headersCopyright © 2017. All rights reserved.