Class ParameterValueHelper
- java.lang.Object
-
- org.glassfish.jersey.server.spi.internal.ParameterValueHelper
-
public final class ParameterValueHelper extends Object
Utility methods for retrieving values or value providers for theparameterizedresource model components.- Author:
- Marek Potociar
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<ParamValueFactoryWithSource<?>>createValueProviders(Collection<ValueParamProvider> valueSuppliers, Parameterized parameterized)Create list of parameter value providers for the givenparameterizedresource model component.static Object[]getParameterValues(List<ParamValueFactoryWithSource<?>> valueProviders, ContainerRequest request)Get the array of parameter values.
-
-
-
Method Detail
-
getParameterValues
public static Object[] getParameterValues(List<ParamValueFactoryWithSource<?>> valueProviders, ContainerRequest request)
Get the array of parameter values.- Parameters:
valueProviders- a list of value providers.- Returns:
- array of parameter values provided by the value providers.
-
createValueProviders
public static List<ParamValueFactoryWithSource<?>> createValueProviders(Collection<ValueParamProvider> valueSuppliers, Parameterized parameterized)
Create list of parameter value providers for the givenparameterizedresource model component.- Parameters:
valueSuppliers- all registered value suppliers.parameterized- parameterized resource model component.- Returns:
- list of parameter value providers for the parameterized component.
-
-