Class ConfigurationImpl

  • All Implemented Interfaces:
    javax.ws.rs.core.Configuration

    public class ConfigurationImpl
    extends Object
    implements javax.ws.rs.core.Configuration
    • Constructor Detail

      • ConfigurationImpl

        public ConfigurationImpl​(javax.ws.rs.RuntimeType rt)
      • ConfigurationImpl

        public ConfigurationImpl​(javax.ws.rs.core.Configuration parent)
    • Method Detail

      • getClasses

        public Set<Class<?>> getClasses()
        Specified by:
        getClasses in interface javax.ws.rs.core.Configuration
      • getContracts

        public Map<Class<?>,​Integer> getContracts​(Class<?> cls)
        Specified by:
        getContracts in interface javax.ws.rs.core.Configuration
      • getInstances

        public Set<Object> getInstances()
        Specified by:
        getInstances in interface javax.ws.rs.core.Configuration
      • getProperties

        public Map<String,​Object> getProperties()
        Specified by:
        getProperties in interface javax.ws.rs.core.Configuration
      • getProperty

        public Object getProperty​(String name)
        Specified by:
        getProperty in interface javax.ws.rs.core.Configuration
      • getPropertyNames

        public Collection<String> getPropertyNames()
        Specified by:
        getPropertyNames in interface javax.ws.rs.core.Configuration
      • getRuntimeType

        public javax.ws.rs.RuntimeType getRuntimeType()
        Specified by:
        getRuntimeType in interface javax.ws.rs.core.Configuration
      • isEnabled

        public boolean isEnabled​(javax.ws.rs.core.Feature f)
        Specified by:
        isEnabled in interface javax.ws.rs.core.Configuration
      • isEnabled

        public boolean isEnabled​(Class<? extends javax.ws.rs.core.Feature> f)
        Specified by:
        isEnabled in interface javax.ws.rs.core.Configuration
      • isRegistered

        public boolean isRegistered​(Object obj)
        Specified by:
        isRegistered in interface javax.ws.rs.core.Configuration
      • isRegistered

        public boolean isRegistered​(Class<?> cls)
        Specified by:
        isRegistered in interface javax.ws.rs.core.Configuration
      • setProperty

        public void setProperty​(String name,
                                Object value)
      • setFeature

        public void setFeature​(javax.ws.rs.core.Feature f,
                               boolean enabled)
      • initContractsMap

        public static Map<Class<?>,​Integer> initContractsMap​(int bindingPriority,
                                                                   Class<?>... contracts)
      • createProvider

        public static Object createProvider​(Class<?> cls)