Class FastHeadersMapFactory

  • All Implemented Interfaces:
    org.apache.camel.spi.HeadersMapFactory

    @JdkService("headers-map-factory")
    public class FastHeadersMapFactory
    extends Object
    implements org.apache.camel.spi.HeadersMapFactory
    A faster HeadersMapFactory which is using the CaseInsensitiveMap map implementation.
    • Constructor Detail

      • FastHeadersMapFactory

        public FastHeadersMapFactory()
    • Method Detail

      • newMap

        public Map<String,​Object> newMap()
        Specified by:
        newMap in interface org.apache.camel.spi.HeadersMapFactory
      • newMap

        public Map<String,​Object> newMap​(Map<String,​Object> map)
        Specified by:
        newMap in interface org.apache.camel.spi.HeadersMapFactory
      • isInstanceOf

        public boolean isInstanceOf​(Map<String,​Object> map)
        Specified by:
        isInstanceOf in interface org.apache.camel.spi.HeadersMapFactory
      • isCaseInsensitive

        public boolean isCaseInsensitive()
        Specified by:
        isCaseInsensitive in interface org.apache.camel.spi.HeadersMapFactory