Class ClientConfiguration

java.lang.Object
org.jboss.resteasy.client.jaxrs.internal.ClientConfiguration
All Implemented Interfaces:
jakarta.ws.rs.core.Configurable<ClientConfiguration>, jakarta.ws.rs.core.Configuration, jakarta.ws.rs.ext.Providers, HeaderValueProcessor

public class ClientConfiguration extends Object implements jakarta.ws.rs.core.Configuration, jakarta.ws.rs.core.Configurable<ClientConfiguration>, jakarta.ws.rs.ext.Providers, HeaderValueProcessor
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

  • Constructor Details

  • Method Details

    • setProperties

      public void setProperties(Map<String,Object> newProps)
    • getProviderFactory

      protected ResteasyProviderFactory getProviderFactory()
    • getMutableProperties

      public Map<String,Object> getMutableProperties()
    • toHeaderString

      public String toHeaderString(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 - header object
      Returns:
      header string
    • getMessageBodyWriter

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

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

      public jakarta.ws.rs.ext.WriterInterceptor[] getWriterInterceptors(Class declaring, AccessibleObject target)
    • getReaderInterceptors

      public jakarta.ws.rs.ext.ReaderInterceptor[] getReaderInterceptors(Class declaring, AccessibleObject target)
    • getRequestFilters

      public jakarta.ws.rs.client.ClientRequestFilter[] getRequestFilters(Class declaring, AccessibleObject target)
    • getResponseFilters

      public jakarta.ws.rs.client.ClientResponseFilter[] getResponseFilters(Class declaring, AccessibleObject target)
    • getDynamicFeatures

      public Set<jakarta.ws.rs.container.DynamicFeature> getDynamicFeatures()
    • getParamConverter

      public jakarta.ws.rs.ext.ParamConverter getParamConverter(Class<?> clazz, Type genericType, Annotation[] annotations)
    • toString

      public String toString(Object object)
    • toString

      public String toString(Object object, Type type, Annotation[] annotations)
    • getExceptionMapper

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

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

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

      public Object getProperty(String name)
      Specified by:
      getProperty in interface jakarta.ws.rs.core.Configuration
    • getClasses

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

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

      public ClientConfiguration register(Class<?> providerClass)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<ClientConfiguration>
    • register

      public ClientConfiguration register(Object provider)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<ClientConfiguration>
    • register

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

      public ClientConfiguration register(Object provider, int Priority)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<ClientConfiguration>
    • property

      public ClientConfiguration property(String name, Object value)
      Specified by:
      property in interface jakarta.ws.rs.core.Configurable<ClientConfiguration>
    • getConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

      public <I extends jakarta.ws.rs.client.RxInvoker<?>> jakarta.ws.rs.client.RxInvokerProvider<I> getRxInvokerProvider(Class<I> clazz)
    • getRxInvokerProviderFromReactiveClass

      public jakarta.ws.rs.client.RxInvokerProvider<?> getRxInvokerProviderFromReactiveClass(Class<?> clazz)
    • isReactive

      public boolean isReactive(Class<?> clazz)
    • addHeaderDelegate

      public void addHeaderDelegate(Class<?> clazz, jakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate header)