public interface ExtensionFormat
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
marshal(Collection<ExtensionFormat> extensions)
Marshals a collection of
ExtensionFormat to Map<String, String> |
InMemoryFormat |
memory()
The in-memory format to be used by the structured content mode.
|
static ExtensionFormat |
of(InMemoryFormat inMemory,
Map.Entry<String,String>... transport) |
static ExtensionFormat |
of(InMemoryFormat inMemory,
String key,
String value) |
Map<String,String> |
transport()
The transport format to be used by the binary content mode.
|
InMemoryFormat memory()
Map<String,String> transport()
static ExtensionFormat of(InMemoryFormat inMemory, String key, String value)
@SafeVarargs static ExtensionFormat of(InMemoryFormat inMemory, Map.Entry<String,String>... transport)
static Map<String,String> marshal(Collection<ExtensionFormat> extensions)
ExtensionFormat
to Map<String, String>
extensions
- Copyright © 2019. All rights reserved.