Class ConfigurationImpl

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

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

      • WILDCARD_LIST

        public static final List<javax.ws.rs.core.MediaType> WILDCARD_LIST
      • WILDCARD_STRING_LIST

        public static final List<String> WILDCARD_STRING_LIST
    • Constructor Detail

      • ConfigurationImpl

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

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

      • getRuntimeType

        public javax.ws.rs.RuntimeType getRuntimeType()
        Specified by:
        getRuntimeType 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
      • isEnabled

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

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

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

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

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

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

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

        public void addEnabledFeature​(javax.ws.rs.core.Feature feature)
      • property

        public void property​(String name,
                             Object value)
      • register

        public void register​(Class<?> componentClass)
      • register

        public void register​(Class<?> componentClass,
                             int priority)
      • register

        public void register​(Class<?> componentClass,
                             Class<?>... contracts)
      • register

        public void register​(Object component)
      • register

        public void register​(Object component,
                             Class<?>[] contracts)
      • register

        public void register​(Object component,
                             int priority)
      • getRequestFilters

        public List<javax.ws.rs.client.ClientRequestFilter> getRequestFilters()
      • getResponseFilters

        public List<javax.ws.rs.client.ClientResponseFilter> getResponseFilters()
      • getWriterInterceptors

        public List<javax.ws.rs.ext.WriterInterceptor> getWriterInterceptors()
      • getReaderInterceptors

        public List<javax.ws.rs.ext.ReaderInterceptor> getReaderInterceptors()
      • getRxInvokerProvider

        public javax.ws.rs.client.RxInvokerProvider<?> getRxInvokerProvider​(Class<?> wantedClass)
      • getResourceReaders

        public javax.ws.rs.core.MultivaluedMap<Class<?>,​ResourceReader> getResourceReaders()
      • getResourceWriters

        public javax.ws.rs.core.MultivaluedMap<Class<?>,​ResourceWriter> getResourceWriters()