Class MatrixParamValueParamProvider
- java.lang.Object
-
- org.glassfish.jersey.server.internal.inject.AbstractValueParamProvider
-
- org.glassfish.jersey.server.internal.inject.MatrixParamValueParamProvider
-
- All Implemented Interfaces:
ValueParamProvider
@Singleton final class MatrixParamValueParamProvider extends AbstractValueParamProvider
Value supplier provider supporting the@MatrixParam
injection annotation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
MatrixParamValueParamProvider.MatrixParamValueProvider
-
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.spi.internal.ValueParamProvider
ValueParamProvider.Priority, ValueParamProvider.PriorityType
-
-
Constructor Summary
Constructors Constructor Description MatrixParamValueParamProvider(javax.inject.Provider<MultivaluedParameterExtractorProvider> mpep)
Injection constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Function<ContainerRequest,?>
createValueProvider(Parameter parameter)
Create a value provider for the parameter.-
Methods inherited from class org.glassfish.jersey.server.internal.inject.AbstractValueParamProvider
get, getPriority, getValueProvider
-
-
-
-
Constructor Detail
-
MatrixParamValueParamProvider
public MatrixParamValueParamProvider(javax.inject.Provider<MultivaluedParameterExtractorProvider> mpep)
Injection constructor.- Parameters:
mpep
- multivalued map parameter extractor provider.
-
-
Method Detail
-
createValueProvider
public java.util.function.Function<ContainerRequest,?> createValueProvider(Parameter parameter)
Description copied from class:AbstractValueParamProvider
Create a value provider for the parameter. May returnnull
in case the parameter is not supported by the value provider.- Specified by:
createValueProvider
in classAbstractValueParamProvider
- Parameters:
parameter
- parameter requesting the value provider instance.- Returns:
- parameter value supplier. Returns
null
if parameter is not supported.
-
-