Class CommonProviders

java.lang.Object
org.jboss.resteasy.core.providerfactory.CommonProviders
Direct Known Subclasses:
ClientHelper, ServerHelper

public class CommonProviders extends Object
  • Field Details

    • rpf

    • lockSnapshots

      protected boolean lockSnapshots
    • attachedMessageBodyReaders

      protected boolean attachedMessageBodyReaders
    • messageBodyReaders

      protected volatile MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyReader>> messageBodyReaders
    • attachedMessageBodyWriters

      protected boolean attachedMessageBodyWriters
    • messageBodyWriters

      protected volatile MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyWriter>> 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

      protected volatile Set<jakarta.ws.rs.container.DynamicFeature> dynamicFeatures
  • Constructor Details

  • Method Details

    • processProviderContracts

      protected void processProviderContracts(Class provider, Integer priorityOverride, boolean isBuiltin, Map<Class<?>,Integer> contracts, Map<Class<?>,Integer> newContracts)
    • processProviderInstanceContracts

      protected void processProviderInstanceContracts(Object provider, Map<Class<?>,Integer> contracts, Integer priorityOverride, boolean builtIn, Map<Class<?>,Integer> newContracts)
    • 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

      protected Set<jakarta.ws.rs.container.DynamicFeature> getDynamicFeaturesForWrite()
    • getMessageBodyReaders

      public MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyReader>> getMessageBodyReaders()
    • getMessageBodyWriters

      public MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyWriter>> getMessageBodyWriters()
    • getReaderInterceptorRegistry

      public JaxrsInterceptorRegistry<jakarta.ws.rs.ext.ReaderInterceptor> getReaderInterceptorRegistry()
    • getWriterInterceptorRegistry

      public JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor> getWriterInterceptorRegistry()
    • getDynamicFeatures

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

      public void lockSnapshots()
    • addDynamicFeature

      public void addDynamicFeature(Class provider)
    • addWriterInterceptor

      public void addWriterInterceptor(Class provider, int priority)
    • addReaderInterceptor

      public void addReaderInterceptor(Class provider, int priority)
    • addWildcardMBR

      public void addWildcardMBR(SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr)
    • 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

      public void addCompositeWildcardMBR(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr, String baseSubtype)
    • addWildcardCompositeMBR

      public void addWildcardCompositeMBR(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyReader> mbr, String baseSubtype)
    • addWildcardMBW

      public void addWildcardMBW(SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw)
    • 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

      public void addCompositeWildcardMBW(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw, String baseSubtype)
    • addWildcardCompositeMBW

      public void addWildcardCompositeMBW(jakarta.ws.rs.core.MediaType mediaType, SortedKey<jakarta.ws.rs.ext.MessageBodyWriter> mbw, String baseSubtype)