Class ClientConfiguration

    • Method Detail

      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> newProps)
      • getMutableProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getMutableProperties()
      • toHeaderString

        public java.lang.String toHeaderString​(java.lang.Object object)
        Convert an object to a header string. First try StringConverter, then HeaderDelegate, then object.toString()
        Specified by:
        toHeaderString in interface HeaderValueProcessor
        Parameters:
        object -
        Returns:
      • getMessageBodyWriter

        public <T> javax.ws.rs.ext.MessageBodyWriter<T> getMessageBodyWriter​(java.lang.Class<T> type,
                                                                             java.lang.reflect.Type genericType,
                                                                             java.lang.annotation.Annotation[] annotations,
                                                                             javax.ws.rs.core.MediaType mediaType)
        Specified by:
        getMessageBodyWriter in interface javax.ws.rs.ext.Providers
      • getMessageBodyReader

        public <T> javax.ws.rs.ext.MessageBodyReader<T> getMessageBodyReader​(java.lang.Class<T> type,
                                                                             java.lang.reflect.Type genericType,
                                                                             java.lang.annotation.Annotation[] annotations,
                                                                             javax.ws.rs.core.MediaType mediaType)
        Specified by:
        getMessageBodyReader in interface javax.ws.rs.ext.Providers
      • getWriterInterceptors

        public javax.ws.rs.ext.WriterInterceptor[] getWriterInterceptors​(java.lang.Class declaring,
                                                                         java.lang.reflect.AccessibleObject target)
      • getReaderInterceptors

        public javax.ws.rs.ext.ReaderInterceptor[] getReaderInterceptors​(java.lang.Class declaring,
                                                                         java.lang.reflect.AccessibleObject target)
      • getRequestFilters

        public javax.ws.rs.client.ClientRequestFilter[] getRequestFilters​(java.lang.Class declaring,
                                                                          java.lang.reflect.AccessibleObject target)
      • getResponseFilters

        public javax.ws.rs.client.ClientResponseFilter[] getResponseFilters​(java.lang.Class declaring,
                                                                            java.lang.reflect.AccessibleObject target)
      • getDynamicFeatures

        public java.util.Set<javax.ws.rs.container.DynamicFeature> getDynamicFeatures()
      • toString

        public java.lang.String toString​(java.lang.Object object)
      • getExceptionMapper

        public <T extends java.lang.Throwable> javax.ws.rs.ext.ExceptionMapper<T> getExceptionMapper​(java.lang.Class<T> type)
        Specified by:
        getExceptionMapper in interface javax.ws.rs.ext.Providers
      • getContextResolver

        public <T> javax.ws.rs.ext.ContextResolver<T> getContextResolver​(java.lang.Class<T> contextType,
                                                                         javax.ws.rs.core.MediaType mediaType)
        Specified by:
        getContextResolver in interface javax.ws.rs.ext.Providers
      • getProperties

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

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

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

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

        public ClientConfiguration register​(java.lang.Class<?> providerClass,
                                            int priority)
        Specified by:
        register in interface javax.ws.rs.core.Configurable<ClientConfiguration>
      • getConfiguration

        public javax.ws.rs.core.Configuration getConfiguration()
        Specified by:
        getConfiguration in interface javax.ws.rs.core.Configurable<ClientConfiguration>
      • register

        public ClientConfiguration register​(java.lang.Class<?> componentClass,
                                            java.lang.Class<?>... contracts)
        Specified by:
        register in interface javax.ws.rs.core.Configurable<ClientConfiguration>
      • register

        public ClientConfiguration register​(java.lang.Class<?> componentClass,
                                            java.util.Map<java.lang.Class<?>,​java.lang.Integer> contracts)
        Specified by:
        register in interface javax.ws.rs.core.Configurable<ClientConfiguration>
      • register

        public ClientConfiguration register​(java.lang.Object component,
                                            java.lang.Class<?>... contracts)
        Specified by:
        register in interface javax.ws.rs.core.Configurable<ClientConfiguration>
      • register

        public ClientConfiguration register​(java.lang.Object component,
                                            java.util.Map<java.lang.Class<?>,​java.lang.Integer> contracts)
        Specified by:
        register in interface javax.ws.rs.core.Configurable<ClientConfiguration>
      • getRuntimeType

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

        public java.util.Collection<java.lang.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​(java.lang.Class<? extends javax.ws.rs.core.Feature> featureClass)
        Specified by:
        isEnabled in interface javax.ws.rs.core.Configuration
      • isRegistered

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

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

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