@Priority(value=2000) public final class SseAutoDiscoverable extends Object implements org.glassfish.jersey.internal.spi.ForcedAutoDiscoverable
AutoDiscoverable
responsible for registering SseFeature
.
If this feature is not already registered and the property
SseFeature.DISABLE_SSE
is not set to true
, the SseFeature
will be automatically registered.DEFAULT_PRIORITY
Constructor and Description |
---|
SseAutoDiscoverable() |
Modifier and Type | Method and Description |
---|---|
void |
configure(FeatureContext context)
A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.
|
public void configure(FeatureContext context)
org.glassfish.jersey.internal.spi.AutoDiscoverable
Note that as with JAX-RS features
, before registering new JAX-RS components in a
given configurable context, an auto-discoverable component should verify that newly registered components are not
already registered in the configurable context.
configure
in interface org.glassfish.jersey.internal.spi.AutoDiscoverable
context
- configurable context in which the auto-discoverable should be configured.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.