public class MapFormInjector extends AbstractCollectionFormInjector<Map>
| Constructor and Description |
|---|
MapFormInjector(Class collectionType,
Class keyType,
Class valueType,
String prefix,
ResteasyProviderFactory factory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTo(Map collection,
String key,
Object value)
Adds the item to the collection.
|
protected Map |
createInstance(Class collectionType)
Creates an instance of the collection type.
|
injectdoInject, hasValueinjectpublic MapFormInjector(Class collectionType, Class keyType, Class valueType, String prefix, ResteasyProviderFactory factory)
protected Map createInstance(Class collectionType)
createInstance in class AbstractCollectionFormInjector<Map>Copyright © 2015. All Rights Reserved.