@Singleton final class CookieParamValueFactoryProvider extends AbstractValueFactoryProvider
CookieParam
injection annotation.Modifier and Type | Class and Description |
---|---|
private static class |
CookieParamValueFactoryProvider.CookieParamValueFactory |
private static class |
CookieParamValueFactoryProvider.CookieTypeParamValueFactory |
(package private) static class |
CookieParamValueFactoryProvider.InjectionResolver
Injection resolver for
CookieParam annotation. |
ValueFactoryProvider.Priority, ValueFactoryProvider.PriorityType
Constructor and Description |
---|
CookieParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep,
org.glassfish.hk2.api.ServiceLocator injector)
CookieParam annotation value factory provider 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 CookieParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep, org.glassfish.hk2.api.ServiceLocator injector)
CookieParam
annotation value factory provider injection constructor.mpep
- multivalued parameter extractor provider.injector
- injector instance.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.