public class SseEventSinkValueParamProvider extends AbstractValueParamProvider
ValueParamProvider
for binding SseEventSink
to its implementation.ValueParamProvider.Priority, ValueParamProvider.PriorityType
Constructor and Description |
---|
SseEventSinkValueParamProvider(jakarta.inject.Provider<MultivaluedParameterExtractorProvider> mpep,
jakarta.inject.Provider<AsyncContext> asyncContextSupplier)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Function<ContainerRequest,SseEventSink> |
createValueProvider(Parameter parameter)
Create a value provider for the parameter.
|
get, getPriority, getValueProvider
@Inject public SseEventSinkValueParamProvider(jakarta.inject.Provider<MultivaluedParameterExtractorProvider> mpep, jakarta.inject.Provider<AsyncContext> asyncContextSupplier)
mpep
- multivalued map parameter extractor provider.protected Function<ContainerRequest,SseEventSink> createValueProvider(Parameter parameter)
AbstractValueParamProvider
null
in case
the parameter is not supported by the value provider.createValueProvider
in class AbstractValueParamProvider
parameter
- parameter requesting the value provider instance.null
if parameter is not supported.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.