Class CollectionExtractor.SetValueOf<T>

All Implemented Interfaces:
MultivaluedParameterExtractor<Collection<T>>
Enclosing class:
CollectionExtractor<T>

private static final class CollectionExtractor.SetValueOf<T> extends CollectionExtractor<T>
  • Constructor Details

    • SetValueOf

      SetValueOf(javax.ws.rs.ext.ParamConverter<T> converter, String parameter, String defaultValueString)
  • Method Details

    • newCollection

      protected Set<T> newCollection()
      Description copied from class: CollectionExtractor
      Get a new collection instance that will be used to store the extracted parameters.

      The method is overridden by concrete implementations to return an instance of a proper collection sub-type.

      Specified by:
      newCollection in class CollectionExtractor<T>
      Returns:
      instance of a proper collection sub-type