Package org.apache.camel.impl.engine
Class HashMapHeadersMapFactory
java.lang.Object
org.apache.camel.impl.engine.HashMapHeadersMapFactory
- All Implemented Interfaces:
org.apache.camel.spi.HeadersMapFactory
public class HashMapHeadersMapFactory
extends Object
implements org.apache.camel.spi.HeadersMapFactory
HashMap
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.-
Field Summary
Fields inherited from interface org.apache.camel.spi.HeadersMapFactory
FACTORY
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HashMapHeadersMapFactory
public HashMapHeadersMapFactory()
-
-
Method Details
-
newMap
- Specified by:
newMap
in interfaceorg.apache.camel.spi.HeadersMapFactory
-
newMap
- Specified by:
newMap
in interfaceorg.apache.camel.spi.HeadersMapFactory
-
isInstanceOf
- Specified by:
isInstanceOf
in interfaceorg.apache.camel.spi.HeadersMapFactory
-
isCaseInsensitive
public boolean isCaseInsensitive()- Specified by:
isCaseInsensitive
in interfaceorg.apache.camel.spi.HeadersMapFactory
-