Class ServerFiltersAutoDiscoverable

  • All Implemented Interfaces:
    AutoDiscoverable

    @ConstrainedTo(SERVER)
    @Priority(2000)
    public final class ServerFiltersAutoDiscoverable
    extends java.lang.Object
    implements AutoDiscoverable
    Enable auto-discoverable of certain server filters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(javax.ws.rs.core.FeatureContext context)
      A call-back method called when an auto-discoverable component is to be configured in a given runtime configuration scope.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerFiltersAutoDiscoverable

        public ServerFiltersAutoDiscoverable()
    • Method Detail

      • configure

        public void configure​(javax.ws.rs.core.FeatureContext context)
        Description copied from interface: AutoDiscoverable
        A 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:
        configure in interface AutoDiscoverable
        Parameters:
        context - configurable context in which the auto-discoverable should be configured.