Class PathParamValueParamProvider
- java.lang.Object
-
- org.glassfish.jersey.server.internal.inject.AbstractValueParamProvider
-
- org.glassfish.jersey.server.internal.inject.PathParamValueParamProvider
-
- All Implemented Interfaces:
ValueParamProvider
@Singleton final class PathParamValueParamProvider extends AbstractValueParamProvider
@PathParam
injection value provider.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
PathParamValueParamProvider.PathParamListPathSegmentValueSupplier
private static class
PathParamValueParamProvider.PathParamPathSegmentValueSupplier
private static class
PathParamValueParamProvider.PathParamValueProvider
-
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.spi.internal.ValueParamProvider
ValueParamProvider.Priority, ValueParamProvider.PriorityType
-
-
Constructor Summary
Constructors Constructor Description PathParamValueParamProvider(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
-
PathParamValueParamProvider
public PathParamValueParamProvider(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.
-
-