Class HeaderParamValueParamProvider
- java.lang.Object
-
- org.glassfish.jersey.server.internal.inject.AbstractValueParamProvider
-
- org.glassfish.jersey.server.internal.inject.HeaderParamValueParamProvider
-
- All Implemented Interfaces:
ValueParamProvider
@Singleton final class HeaderParamValueParamProvider extends AbstractValueParamProvider
Value supplier provider supporting the@HeaderParaminjection annotation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classHeaderParamValueParamProvider.HeaderParamValueProvider-
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.spi.internal.ValueParamProvider
ValueParamProvider.Priority, ValueParamProvider.PriorityType
-
-
Constructor Summary
Constructors Constructor Description HeaderParamValueParamProvider(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
-
HeaderParamValueParamProvider
public HeaderParamValueParamProvider(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:AbstractValueParamProviderCreate a value provider for the parameter. May returnnullin case the parameter is not supported by the value provider.- Specified by:
createValueProviderin classAbstractValueParamProvider- Parameters:
parameter- parameter requesting the value provider instance.- Returns:
- parameter value supplier. Returns
nullif parameter is not supported.
-
-