Class MapFormInjector

    • Constructor Detail

      • MapFormInjector

        public MapFormInjector​(java.lang.Class collectionType,
                               java.lang.Class keyType,
                               java.lang.Class valueType,
                               java.lang.String prefix,
                               ResteasyProviderFactory factory)
        Constructor.
    • Method Detail

      • createInstance

        protected java.util.Map createInstance​(java.lang.Class collectionType)
        Creates an instance of the collection type.
        Specified by:
        createInstance in class AbstractCollectionFormInjector<java.util.Map>
      • addTo

        protected void addTo​(java.util.Map collection,
                             java.lang.String key,
                             java.lang.Object value)
        Adds the item to the collection.
        Specified by:
        addTo in class AbstractCollectionFormInjector<java.util.Map>