public class HashMapHeadersMapFactory extends Object implements org.apache.camel.spi.HeadersMapFactory
HeadersMapFactory which uses a plain HashMap.
Important: The map is case sensitive which means headers such as content-type and Content-Type are
two different keys which can be a problem for some protocols such as HTTP based.
Therefore use this implementation with care.| Constructor and Description |
|---|
HashMapHeadersMapFactory() |
| 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