Package org.jboss.resteasy.core
Class MapFormInjector
- All Implemented Interfaces:
ValueInjector
Can inject maps.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMapFormInjector
(Class collectionType, Class keyType, Class valueType, String prefix, ResteasyProviderFactory factory) Constructor. -
Method Summary
Methods inherited from class org.jboss.resteasy.core.AbstractCollectionFormInjector
inject
Methods inherited from class org.jboss.resteasy.core.PrefixedFormInjector
doInject, hasValue
Methods inherited from class org.jboss.resteasy.core.FormInjector
inject
-
Field Details
-
keyInjector
-
-
Constructor Details
-
MapFormInjector
public MapFormInjector(Class collectionType, Class keyType, Class valueType, String prefix, ResteasyProviderFactory factory) Constructor.
-
-
Method Details
-
createInstance
Creates an instance of the collection type.- Specified by:
createInstance
in classAbstractCollectionFormInjector<Map>
-
addTo
Adds the item to the collection.- Specified by:
addTo
in classAbstractCollectionFormInjector<Map>
-