Interface ValueParamProvider
- All Known Implementing Classes:
org.glassfish.jersey.server.internal.inject.AbstractValueParamProvider
,SseEventSinkValueParamProvider
Parameter value factory SPI.
- Author:
- Marek Potociar, Michal Gajdos
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Enumeration of priorities for providers (e.g.static interface
Priorities are intended to be used as a means to determine the order in which objects are considered whether they are suitable for a particular action or not (e.g. -
Method Summary
Modifier and TypeMethodDescriptionGets the priority of this provider.getValueProvider
(Parameter parameter) Get an injected value provider for the parameter.
-
Method Details
-
getValueProvider
Get an injected value provider for the parameter. May returnnull
in case the parameter is not supported by the value provider.- Parameters:
parameter
- parameter requesting the value provider instance.- Returns:
- injected parameter value provider. Returns
null
if parameter is not supported.
-
getPriority
ValueParamProvider.PriorityType getPriority()Gets the priority of this provider.- Returns:
- the priority of this provider.
- See Also:
-