Class SseAutoDiscoverable
java.lang.Object
org.glassfish.jersey.media.sse.internal.SseAutoDiscoverable
- All Implemented Interfaces:
AutoDiscoverable,ForcedAutoDiscoverable
@Priority(2000)
public final class SseAutoDiscoverable
extends Object
implements ForcedAutoDiscoverable
Jersey
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.- Author:
- Libor Kramolis, Marek Potociar
-
Field Summary
Fields inherited from interface org.glassfish.jersey.internal.spi.AutoDiscoverable
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(FeatureContext context) A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.
-
Constructor Details
-
SseAutoDiscoverable
public SseAutoDiscoverable()
-
-
Method Details
-
configure
Description copied from interface:AutoDiscoverableA call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.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.- Specified by:
configurein interfaceAutoDiscoverable- Parameters:
context- configurable context in which the auto-discoverable should be configured.
-