Package org.glassfish.jersey.model
Interface Parameter.ParamCreationFactory<PARAMETER extends Parameter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PARAMETER
createBeanParameter(Annotation[] markers, Annotation marker, Parameter.Source source, String sourceName, Class<?> rawType, Type type, boolean encoded, String defaultValue)
Factory method to instantiateBeanParameter
of given propertiesPARAMETER
createParameter(Annotation[] markers, Annotation marker, Parameter.Source source, String sourceName, Class<?> rawType, Type type, boolean encoded, String defaultValue)
Factory method to instantiateParameter
of given propertiesboolean
isFor(Class<?> clazz)
Determine whether the Factory is for the given class to be instantiated.
-
-
-
Method Detail
-
isFor
boolean isFor(Class<?> clazz)
Determine whether the Factory is for the given class to be instantiated.- Parameters:
clazz
- The class of determining the source of origin (core, server). Each source of origin has its ownParamCreationFactory
- Returns:
true
if the source of origin corresponds to theParamCreationFactory
,false
otherwise.
-
createParameter
PARAMETER createParameter(Annotation[] markers, Annotation marker, Parameter.Source source, String sourceName, Class<?> rawType, Type type, boolean encoded, String defaultValue)
Factory method to instantiateParameter
of given properties- Returns:
- instantiated
Parameter
-
createBeanParameter
PARAMETER createBeanParameter(Annotation[] markers, Annotation marker, Parameter.Source source, String sourceName, Class<?> rawType, Type type, boolean encoded, String defaultValue)
Factory method to instantiateBeanParameter
of given properties- Returns:
- instantiated
BeanParameter
-
-