Package org.jboss.resteasy.core
Class ListFormInjector
java.lang.Object
org.jboss.resteasy.core.FormInjector
org.jboss.resteasy.core.PrefixedFormInjector
org.jboss.resteasy.core.AbstractCollectionFormInjector<List>
org.jboss.resteasy.core.ListFormInjector
- All Implemented Interfaces:
ValueInjector
Can inject lists.
-
Constructor Summary
ConstructorsConstructorDescriptionListFormInjector(Class collectionType, Class genericType, String prefix, ResteasyProviderFactory factory) Constructor. -
Method Summary
Methods inherited from class org.jboss.resteasy.core.AbstractCollectionFormInjector
injectMethods inherited from class org.jboss.resteasy.core.PrefixedFormInjector
doInject, hasValueMethods inherited from class org.jboss.resteasy.core.FormInjector
inject
-
Constructor Details
-
ListFormInjector
public ListFormInjector(Class collectionType, Class genericType, String prefix, ResteasyProviderFactory factory) Constructor.
-
-
Method Details
-
createInstance
Creates an instance of the collection type.- Specified by:
createInstancein classAbstractCollectionFormInjector<List>- Returns:
- ArrayList
-
addTo
Adds the item to the collection.- Specified by:
addToin classAbstractCollectionFormInjector<List>
-