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