@Singleton final class FormParamValueFactoryProvider extends AbstractValueFactoryProvider
FormParam
injection annotation.Modifier and Type | Class and Description |
---|---|
private static class |
FormParamValueFactoryProvider.FormParamValueFactory |
(package private) static class |
FormParamValueFactoryProvider.InjectionResolver
FormParam injection resolver. |
ValueFactoryProvider.Priority, ValueFactoryProvider.PriorityType
Constructor and Description |
---|
FormParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep,
org.glassfish.hk2.api.ServiceLocator injector)
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 FormParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep, org.glassfish.hk2.api.ServiceLocator injector)
mpep
- extractor provider.injector
- injector.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.