| Modifier and Type | Method and Description |
|---|---|
static HeaderTranslator |
HeaderTranslator.empty()
Construct a Ditto header translator that knows about nothing.
|
HeaderTranslator |
HeaderTranslator.forgetHeaderKeys(Collection<String> headerKeys)
Build a copy of this header translator without knowledge of certain headers.
|
static HeaderTranslator |
DittoProtocolAdapter.getHeaderTranslator()
Creates a default header translator for this protocol adapter.
|
HeaderTranslator |
ProtocolAdapter.headerTranslator()
Retrieve the header translator responsible for this protocol adapter.
|
HeaderTranslator |
DittoProtocolAdapter.headerTranslator() |
static HeaderTranslator |
HeaderTranslator.of(org.eclipse.ditto.model.base.headers.HeaderDefinition[]... headerDefinitions)
Construct a Ditto header translator from arrays of header definitions.
|
| Modifier and Type | Method and Description |
|---|---|
static DittoProtocolAdapter |
DittoProtocolAdapter.of(HeaderTranslator headerTranslator)
Creates a new
DittoProtocolAdapter instance with the given header translator. |
| Constructor and Description |
|---|
DittoProtocolAdapter(org.eclipse.ditto.signals.base.ErrorRegistry<org.eclipse.ditto.model.base.exceptions.DittoRuntimeException> errorRegistry,
HeaderTranslator headerTranslator) |
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.