Class ListFormInjector

    • Constructor Summary

      Constructors 
      Constructor Description
      ListFormInjector​(java.lang.Class collectionType, java.lang.Class genericType, java.lang.String prefix, ResteasyProviderFactory factory)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addTo​(java.util.List collection, java.lang.String key, java.lang.Object value)
      Adds the item to the collection.
      protected java.util.List createInstance​(java.lang.Class collectionType)
      Creates an instance of the collection type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListFormInjector

        public ListFormInjector​(java.lang.Class collectionType,
                                java.lang.Class genericType,
                                java.lang.String prefix,
                                ResteasyProviderFactory factory)
        Constructor.
    • Method Detail

      • createInstance

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

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