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)
collectionType - collection typekeyType - key typevalueType - value typeprefix - prefixfactory - provider factoryprotected Map createInstance(Class collectionType)
createInstance in class AbstractCollectionFormInjector<Map>collectionType - collection typeCopyright © 2018 JBoss by Red Hat. All rights reserved.