public class DefaultHeadersMapFactory extends Object implements org.apache.camel.spi.HeadersMapFactory
HeadersMapFactory which uses the CaseInsensitiveMap.
This implementation uses a CaseInsensitiveMap storing the headers.
This allows us to be able to lookup headers using case insensitive keys, making it easier for end users
as they do not have to be worried about using exact keys.
See more details at CaseInsensitiveMap.| Constructor and Description |
|---|
DefaultHeadersMapFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCaseInsensitive() |
boolean |
isInstanceOf(Map<String,Object> map) |
Map<String,Object> |
newMap() |
Map<String,Object> |
newMap(Map<String,Object> map) |
public Map<String,Object> newMap()
newMap in interface org.apache.camel.spi.HeadersMapFactorypublic Map<String,Object> newMap(Map<String,Object> map)
newMap in interface org.apache.camel.spi.HeadersMapFactorypublic boolean isInstanceOf(Map<String,Object> map)
isInstanceOf in interface org.apache.camel.spi.HeadersMapFactorypublic boolean isCaseInsensitive()
isCaseInsensitive in interface org.apache.camel.spi.HeadersMapFactoryApache Camel