@Singleton final class PathParamValueFactoryProvider extends AbstractValueFactoryProvider
@PathParam
injection value factory provider.Modifier and Type | Class and Description |
---|---|
(package private) static class |
PathParamValueFactoryProvider.InjectionResolver
@PathParam injection resolver. |
private static class |
PathParamValueFactoryProvider.PathParamListPathSegmentValueFactory |
private static class |
PathParamValueFactoryProvider.PathParamPathSegmentValueFactory |
private static class |
PathParamValueFactoryProvider.PathParamValueFactory |
ValueFactoryProvider.Priority, ValueFactoryProvider.PriorityType
Constructor and Description |
---|
PathParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep,
org.glassfish.hk2.api.ServiceLocator locator)
Injection constructor.
|
Modifier and Type | Method and Description |
---|---|
AbstractContainerRequestValueFactory<?> |
createValueFactory(Parameter parameter)
Create a value factory for the parameter.
|
get, getLocator, getPriority, getValueFactory, getWithoutDefaultValue
@Inject public PathParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep, org.glassfish.hk2.api.ServiceLocator locator)
mpep
- multivalued map parameter extractor provider.locator
- HK2 service locator.public AbstractContainerRequestValueFactory<?> createValueFactory(Parameter parameter)
AbstractValueFactoryProvider
null
in case
the parameter is not supported by the value factory provider.createValueFactory
in class AbstractValueFactoryProvider
parameter
- parameter requesting the value factory instance.null
if parameter is
not supported.