Class CollectionExtractor.SetValueOf<T>
- java.lang.Object
-
- org.glassfish.jersey.server.internal.inject.AbstractParamValueExtractor<T>
-
- org.glassfish.jersey.server.internal.inject.CollectionExtractor<T>
-
- org.glassfish.jersey.server.internal.inject.CollectionExtractor.SetValueOf<T>
-
- All Implemented Interfaces:
MultivaluedParameterExtractor<java.util.Collection<T>>
- Enclosing class:
- CollectionExtractor<T>
private static final class CollectionExtractor.SetValueOf<T> extends CollectionExtractor<T>
-
-
Constructor Summary
Constructors Constructor Description SetValueOf(javax.ws.rs.ext.ParamConverter<T> converter, java.lang.String parameter, java.lang.String defaultValueString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Set<T>
newCollection()
Get a new collection instance that will be used to store the extracted parameters.-
Methods inherited from class org.glassfish.jersey.server.internal.inject.CollectionExtractor
extract, getInstance
-
Methods inherited from class org.glassfish.jersey.server.internal.inject.AbstractParamValueExtractor
defaultValue, fromString, getDefaultValueString, getName, isDefaultValueRegistered
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.jersey.server.internal.inject.MultivaluedParameterExtractor
getDefaultValueString, getName
-
-
-
-
Constructor Detail
-
SetValueOf
SetValueOf(javax.ws.rs.ext.ParamConverter<T> converter, java.lang.String parameter, java.lang.String defaultValueString)
-
-
Method Detail
-
newCollection
protected java.util.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 classCollectionExtractor<T>
- Returns:
- instance of a proper collection sub-type
-
-