Class SelectableScopeResolver

java.lang.Object
org.glassfish.jersey.message.filtering.SelectableScopeResolver
All Implemented Interfaces:
ScopeResolver

@Singleton public class SelectableScopeResolver extends Object implements ScopeResolver
  • Field Details

    • PREFIX

      public static final String PREFIX
      Prefix for all selectable scopes
    • DEFAULT_SCOPE

      public static final String DEFAULT_SCOPE
      Scope used for selecting all fields, i.e.: when no filter is applied
  • Constructor Details

    • SelectableScopeResolver

      public SelectableScopeResolver()
  • Method Details

    • resolve

      public Set<String> resolve(Annotation[] annotations)
      Description copied from interface: ScopeResolver
      Resolve entity-filtering scopes for given annotations.
      Specified by:
      resolve in interface ScopeResolver
      Parameters:
      annotations - list of arbitrary annotations.
      Returns:
      non-null set of entity-filtering scopes.