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 Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHeaderDelegate
(Class<?> clazz, jakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate header) jakarta.ws.rs.core.Configuration
<T> jakarta.ws.rs.ext.ContextResolver
<T> getContextResolver
(Class<T> contextType, jakarta.ws.rs.core.MediaType mediaType) getContracts
(Class<?> componentClass) Set
<jakarta.ws.rs.container.DynamicFeature> <T extends Throwable>
jakarta.ws.rs.ext.ExceptionMapper<T> getExceptionMapper
(Class<T> type) <T> jakarta.ws.rs.ext.MessageBodyReader
<T> getMessageBodyReader
(Class<T> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) <T> jakarta.ws.rs.ext.MessageBodyWriter
<T> getMessageBodyWriter
(Class<T> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) jakarta.ws.rs.ext.ParamConverter
getParamConverter
(Class<?> clazz, Type genericType, Annotation[] annotations) getProperty
(String name) protected ResteasyProviderFactory
jakarta.ws.rs.ext.ReaderInterceptor[]
getReaderInterceptors
(Class declaring, AccessibleObject target) jakarta.ws.rs.client.ClientRequestFilter[]
getRequestFilters
(Class declaring, AccessibleObject target) jakarta.ws.rs.client.ClientResponseFilter[]
getResponseFilters
(Class declaring, AccessibleObject target) jakarta.ws.rs.RuntimeType
<I extends jakarta.ws.rs.client.RxInvoker<?>>
jakarta.ws.rs.client.RxInvokerProvider<I> getRxInvokerProvider
(Class<I> clazz) jakarta.ws.rs.client.RxInvokerProvider
<?> getRxInvokerProviderFromReactiveClass
(Class<?> clazz) jakarta.ws.rs.ext.WriterInterceptor[]
getWriterInterceptors
(Class declaring, AccessibleObject target) boolean
isEnabled
(jakarta.ws.rs.core.Feature feature) boolean
boolean
isReactive
(Class<?> clazz) boolean
isRegistered
(Class<?> componentClass) boolean
isRegistered
(Object component) void
setProperties
(Map<String, Object> newProps) toHeaderString
(Object object) Convert an object to a header string.toString
(Object object, Type type, Annotation[] annotations) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.core.Configuration
hasProperty
-
Field Details
-
providerFactory
-
-
Constructor Details
-
ClientConfiguration
-
ClientConfiguration
-
-
Method Details
-
setProperties
-
getProviderFactory
-
getMutableProperties
-
toHeaderString
Convert an object to a header string. First try StringConverter, then HeaderDelegate, then object.toString()- Specified by:
toHeaderString
in interfaceHeaderValueProcessor
- 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 interfacejakarta.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 interfacejakarta.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
-
getParamConverter
public jakarta.ws.rs.ext.ParamConverter getParamConverter(Class<?> clazz, Type genericType, Annotation[] annotations) -
toString
-
toString
-
getExceptionMapper
-
getContextResolver
public <T> jakarta.ws.rs.ext.ContextResolver<T> getContextResolver(Class<T> contextType, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
getContextResolver
in interfacejakarta.ws.rs.ext.Providers
-
getProperties
-
getProperty
-
getClasses
-
getInstances
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
property
- Specified by:
property
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
getConfiguration
public jakarta.ws.rs.core.Configuration getConfiguration()- Specified by:
getConfiguration
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<ClientConfiguration>
-
getRuntimeType
public jakarta.ws.rs.RuntimeType getRuntimeType()- Specified by:
getRuntimeType
in interfacejakarta.ws.rs.core.Configuration
-
getPropertyNames
- Specified by:
getPropertyNames
in interfacejakarta.ws.rs.core.Configuration
-
isEnabled
public boolean isEnabled(jakarta.ws.rs.core.Feature feature) - Specified by:
isEnabled
in interfacejakarta.ws.rs.core.Configuration
-
isEnabled
- Specified by:
isEnabled
in interfacejakarta.ws.rs.core.Configuration
-
isRegistered
- Specified by:
isRegistered
in interfacejakarta.ws.rs.core.Configuration
-
isRegistered
- Specified by:
isRegistered
in interfacejakarta.ws.rs.core.Configuration
-
getContracts
-
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
-
addHeaderDelegate
public void addHeaderDelegate(Class<?> clazz, jakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate header)
-