Class NOOPClientHelper
java.lang.Object
org.jboss.resteasy.core.providerfactory.CommonProviders
org.jboss.resteasy.core.providerfactory.ClientHelper
org.jboss.resteasy.core.providerfactory.NOOPClientHelper
A ClientHelper that does nothing, useful to save memory when creating a ResteasyProviderFactory for server side only
-
Field Summary
Fields inherited from class org.jboss.resteasy.core.providerfactory.ClientHelper
asyncClientResponseProviders, attachedAsyncClientResponseProviders, attachedReactive, attachedRequestFilters, attachedResponseFilters, reactiveClasses, requestFilters, responseFilters
Fields inherited from class org.jboss.resteasy.core.providerfactory.CommonProviders
attachedFeatures, attachedMessageBodyReaders, attachedMessageBodyWriters, attachedReaderInterceptors, attachedWriterInterceptors, dynamicFeatures, lockSnapshots, messageBodyReaders, messageBodyWriters, readerInterceptorRegistry, rpf, writerInterceptorRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAsyncClientResponseProvider
(Class provider) void
addClientRequestFilter
(Class provider, int priority) void
addClientResponseFilter
(Class provider, int priority) void
addCompositeWildcardMBR
(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr, String baseSubtype) void
addCompositeWildcardMBW
(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw, String baseSubtype) void
addDynamicFeature
(Class provider) protected void
addMessageBodyReader
(jakarta.ws.rs.ext.MessageBodyReader provider, Class<?> providerClass, int priority, boolean isBuiltin) protected void
addMessageBodyWriter
(jakarta.ws.rs.ext.MessageBodyWriter provider, Class<?> providerClass, int priority, boolean isBuiltin) void
addReactiveClass
(Class provider) void
addReactiveClass
(Class provider, Class<?> clazz) void
addReaderInterceptor
(Class provider, int priority) void
addRegularMBR
(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr) void
addRegularMBW
(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw) void
addSubtypeWildMBR
(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr) void
addSubtypeWildMBW
(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw) void
addWildcardCompositeMBR
(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr, String baseSubtype) void
addWildcardCompositeMBW
(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw, String baseSubtype) void
addWildcardMBR
(SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr) void
addWildcardMBW
(SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw) void
addWriterInterceptor
(Class provider, int priority) protected Map<Class<?>,
AsyncClientResponseProvider> Set<jakarta.ws.rs.container.DynamicFeature>
protected Set<jakarta.ws.rs.container.DynamicFeature>
MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyReader>>
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyReader>>
MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyWriter>>
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyWriter>>
JaxrsInterceptorRegistry<jakarta.ws.rs.ext.ReaderInterceptor>
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.ReaderInterceptor>
JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientRequestFilter>
protected JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientRequestFilter>
JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientResponseFilter>
protected JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientResponseFilter>
protected jakarta.ws.rs.client.RxInvokerProvider<?>
getRxInvokerProviderFromReactiveClass
(Class<?> clazz) JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor>
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor>
protected boolean
isReactive
(Class<?> clazz) protected void
processProviderContracts
(Class provider, Integer priorityOverride, boolean isBuiltin, Map<Class<?>, Integer> contracts, Map<Class<?>, Integer> newContracts) protected void
processProviderInstanceContracts
(Object provider, Map<Class<?>, Integer> contracts, Integer priorityOverride, boolean builtIn, Map<Class<?>, Integer> newContracts) Methods inherited from class org.jboss.resteasy.core.providerfactory.ClientHelper
initializeClientProviders
Methods inherited from class org.jboss.resteasy.core.providerfactory.CommonProviders
lockSnapshots
-
Field Details
-
SINGLETON
-
-
Method Details
-
getRxInvokerProviderFromReactiveClass
protected jakarta.ws.rs.client.RxInvokerProvider<?> getRxInvokerProviderFromReactiveClass(Class<?> clazz) - Overrides:
getRxInvokerProviderFromReactiveClass
in classClientHelper
-
isReactive
- Overrides:
isReactive
in classClientHelper
-
processProviderContracts
protected void processProviderContracts(Class provider, Integer priorityOverride, boolean isBuiltin, Map<Class<?>, Integer> contracts, Map<Class<?>, Integer> newContracts) - Overrides:
processProviderContracts
in classClientHelper
-
processProviderInstanceContracts
protected void processProviderInstanceContracts(Object provider, Map<Class<?>, Integer> contracts, Integer priorityOverride, boolean builtIn, Map<Class<?>, Integer> newContracts) - Overrides:
processProviderInstanceContracts
in classClientHelper
-
getRequestFiltersForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientRequestFilter> getRequestFiltersForWrite()- Overrides:
getRequestFiltersForWrite
in classClientHelper
-
getResponseFiltersForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.client.ClientResponseFilter> getResponseFiltersForWrite()- Overrides:
getResponseFiltersForWrite
in classClientHelper
-
getAsyncClientResponseProvidersForWrite
- Overrides:
getAsyncClientResponseProvidersForWrite
in classClientHelper
-
getReactiveClassesForWrite
protected Map<Class<?>,Class<? extends jakarta.ws.rs.client.RxInvokerProvider<?>>> getReactiveClassesForWrite()- Overrides:
getReactiveClassesForWrite
in classClientHelper
-
getRequestFilters
- Overrides:
getRequestFilters
in classClientHelper
-
getResponseFilters
- Overrides:
getResponseFilters
in classClientHelper
-
getAsyncClientResponseProviders
- Overrides:
getAsyncClientResponseProviders
in classClientHelper
-
getReactiveClasses
public Map<Class<?>,Class<? extends jakarta.ws.rs.client.RxInvokerProvider<?>>> getReactiveClasses()- Overrides:
getReactiveClasses
in classClientHelper
-
addMessageBodyReader
protected void addMessageBodyReader(jakarta.ws.rs.ext.MessageBodyReader provider, Class<?> providerClass, int priority, boolean isBuiltin) - Overrides:
addMessageBodyReader
in classCommonProviders
-
addMessageBodyWriter
protected void addMessageBodyWriter(jakarta.ws.rs.ext.MessageBodyWriter provider, Class<?> providerClass, int priority, boolean isBuiltin) - Overrides:
addMessageBodyWriter
in classCommonProviders
-
getMessageBodyReadersForWrite
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyReader>> getMessageBodyReadersForWrite()- Overrides:
getMessageBodyReadersForWrite
in classCommonProviders
-
getMessageBodyWritersForWrite
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyWriter>> getMessageBodyWritersForWrite()- Overrides:
getMessageBodyWritersForWrite
in classCommonProviders
-
getReaderInterceptorRegistryForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.ReaderInterceptor> getReaderInterceptorRegistryForWrite()- Overrides:
getReaderInterceptorRegistryForWrite
in classCommonProviders
-
getWriterInterceptorRegistryForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor> getWriterInterceptorRegistryForWrite()- Overrides:
getWriterInterceptorRegistryForWrite
in classCommonProviders
-
getDynamicFeaturesForWrite
- Overrides:
getDynamicFeaturesForWrite
in classCommonProviders
-
getMessageBodyReaders
- Overrides:
getMessageBodyReaders
in classCommonProviders
-
getMessageBodyWriters
- Overrides:
getMessageBodyWriters
in classCommonProviders
-
getReaderInterceptorRegistry
- Overrides:
getReaderInterceptorRegistry
in classCommonProviders
-
getWriterInterceptorRegistry
- Overrides:
getWriterInterceptorRegistry
in classCommonProviders
-
getDynamicFeatures
- Overrides:
getDynamicFeatures
in classCommonProviders
-
addReactiveClass
- Overrides:
addReactiveClass
in classClientHelper
-
addReactiveClass
- Overrides:
addReactiveClass
in classClientHelper
-
addAsyncClientResponseProvider
- Overrides:
addAsyncClientResponseProvider
in classClientHelper
-
addClientResponseFilter
- Overrides:
addClientResponseFilter
in classClientHelper
-
addClientRequestFilter
- Overrides:
addClientRequestFilter
in classClientHelper
-
addDynamicFeature
- Overrides:
addDynamicFeature
in classCommonProviders
-
addWriterInterceptor
- Overrides:
addWriterInterceptor
in classCommonProviders
-
addReaderInterceptor
- Overrides:
addReaderInterceptor
in classCommonProviders
-
addWildcardMBR
- Overrides:
addWildcardMBR
in classCommonProviders
-
addSubtypeWildMBR
public void addSubtypeWildMBR(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr) - Overrides:
addSubtypeWildMBR
in classCommonProviders
-
addRegularMBR
public void addRegularMBR(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr) - Overrides:
addRegularMBR
in classCommonProviders
-
addCompositeWildcardMBR
public void addCompositeWildcardMBR(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr, String baseSubtype) - Overrides:
addCompositeWildcardMBR
in classCommonProviders
-
addWildcardCompositeMBR
public void addWildcardCompositeMBR(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr, String baseSubtype) - Overrides:
addWildcardCompositeMBR
in classCommonProviders
-
addWildcardMBW
- Overrides:
addWildcardMBW
in classCommonProviders
-
addRegularMBW
public void addRegularMBW(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw) - Overrides:
addRegularMBW
in classCommonProviders
-
addSubtypeWildMBW
public void addSubtypeWildMBW(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw) - Overrides:
addSubtypeWildMBW
in classCommonProviders
-
addCompositeWildcardMBW
public void addCompositeWildcardMBW(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw, String baseSubtype) - Overrides:
addCompositeWildcardMBW
in classCommonProviders
-
addWildcardCompositeMBW
public void addWildcardCompositeMBW(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw, String baseSubtype) - Overrides:
addWildcardCompositeMBW
in classCommonProviders
-