Class CommonProviders
java.lang.Object
org.jboss.resteasy.core.providerfactory.CommonProviders
- Direct Known Subclasses:
ClientHelper
,ServerHelper
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected Set<jakarta.ws.rs.container.DynamicFeature>
protected boolean
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyReader>>
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyWriter>>
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.ReaderInterceptor>
protected ResteasyProviderFactoryImpl
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor>
-
Constructor Summary
ConstructorDescriptionCommonProviders
(ResteasyProviderFactoryImpl rpf, CommonProviders parent) Shallow Copy of a parent. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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) 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.ext.WriterInterceptor>
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor>
void
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)
-
Field Details
-
rpf
-
lockSnapshots
protected boolean lockSnapshots -
attachedMessageBodyReaders
protected boolean attachedMessageBodyReaders -
messageBodyReaders
-
attachedMessageBodyWriters
protected boolean attachedMessageBodyWriters -
messageBodyWriters
-
attachedReaderInterceptors
protected boolean attachedReaderInterceptors -
readerInterceptorRegistry
protected volatile JaxrsInterceptorRegistry<jakarta.ws.rs.ext.ReaderInterceptor> readerInterceptorRegistry -
attachedWriterInterceptors
protected boolean attachedWriterInterceptors -
writerInterceptorRegistry
protected volatile JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor> writerInterceptorRegistry -
attachedFeatures
protected boolean attachedFeatures -
dynamicFeatures
-
-
Constructor Details
-
CommonProviders
-
CommonProviders
Shallow Copy of a parent.- Parameters:
rpf
-parent
-
-
-
Method Details
-
processProviderContracts
-
processProviderInstanceContracts
-
addMessageBodyReader
protected void addMessageBodyReader(jakarta.ws.rs.ext.MessageBodyReader provider, Class<?> providerClass, int priority, boolean isBuiltin) -
addMessageBodyWriter
protected void addMessageBodyWriter(jakarta.ws.rs.ext.MessageBodyWriter provider, Class<?> providerClass, int priority, boolean isBuiltin) -
getMessageBodyReadersForWrite
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyReader>> getMessageBodyReadersForWrite() -
getMessageBodyWritersForWrite
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyWriter>> getMessageBodyWritersForWrite() -
getReaderInterceptorRegistryForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.ReaderInterceptor> getReaderInterceptorRegistryForWrite() -
getWriterInterceptorRegistryForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor> getWriterInterceptorRegistryForWrite() -
getDynamicFeaturesForWrite
-
getMessageBodyReaders
-
getMessageBodyWriters
-
getReaderInterceptorRegistry
-
getWriterInterceptorRegistry
-
getDynamicFeatures
-
lockSnapshots
public void lockSnapshots() -
addDynamicFeature
-
addWriterInterceptor
-
addReaderInterceptor
-
addWildcardMBR
-
addSubtypeWildMBR
public void addSubtypeWildMBR(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr) -
addRegularMBR
public void addRegularMBR(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr) -
addCompositeWildcardMBR
-
addWildcardCompositeMBR
-
addWildcardMBW
-
addRegularMBW
public void addRegularMBW(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw) -
addSubtypeWildMBW
public void addSubtypeWildMBW(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw) -
addCompositeWildcardMBW
-
addWildcardCompositeMBW
-