Class SseEventSinkValueParamProvider
java.lang.Object
org.glassfish.jersey.server.internal.inject.AbstractValueParamProvider
org.glassfish.jersey.media.sse.internal.SseEventSinkValueParamProvider
- All Implemented Interfaces:
ValueParamProvider
ValueParamProvider
for binding SseEventSink
to its implementation.- Author:
- Adam Lindenthal
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.spi.internal.ValueParamProvider
ValueParamProvider.Priority, ValueParamProvider.PriorityType
-
Constructor Summary
ConstructorDescriptionSseEventSinkValueParamProvider
(jakarta.inject.Provider<MultivaluedParameterExtractorProvider> mpep, jakarta.inject.Provider<AsyncContext> asyncContextSupplier) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Function<ContainerRequest,
SseEventSink> 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 Details
-
SseEventSinkValueParamProvider
@Inject public SseEventSinkValueParamProvider(jakarta.inject.Provider<MultivaluedParameterExtractorProvider> mpep, jakarta.inject.Provider<AsyncContext> asyncContextSupplier) Constructor.- Parameters:
mpep
- multivalued map parameter extractor provider.
-
-
Method Details
-
createValueProvider
Description copied from class:AbstractValueParamProvider
Create a value provider for the parameter. May returnnull
in case the parameter is not supported by the value provider.- Specified by:
createValueProvider
in classAbstractValueParamProvider
- Parameters:
parameter
- parameter requesting the value provider instance.- Returns:
- parameter value supplier. Returns
null
if parameter is not supported.
-