Class NOOPServerHelper
java.lang.Object
org.jboss.resteasy.core.providerfactory.CommonProviders
org.jboss.resteasy.core.providerfactory.ServerHelper
org.jboss.resteasy.core.providerfactory.NOOPServerHelper
A ServerHelper that does nothing, useful to save memory when creating a ResteasyProviderFactory for client side only
-
Field Summary
Fields inherited from class org.jboss.resteasy.core.providerfactory.ServerHelper
asyncResponseProviders, asyncStreamProviders, attachedAsyncResponseProviders, attachedAsyncStreamProviders, attachedExceptionMappers, attachedRequestFilters, attachedResponseFilters, exceptionMappers, 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
addAsyncResponseProvider
(Class provider) void
addAsyncStreamProvider
(Class provider) 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
addContainerRequestFilter
(Class provider, int priority) void
addContainerResponseFilter
(Class provider, int priority) void
addDynamicFeature
(Class provider) void
addExceptionMapper
(Class provider, boolean isBuiltin) 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) protected Map
<Class<?>, AsyncResponseProvider> protected Map
<Class<?>, AsyncStreamProvider> 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.container.ContainerRequestFilter> protected JaxrsInterceptorRegistry
<jakarta.ws.rs.container.ContainerRequestFilter> JaxrsInterceptorRegistry
<jakarta.ws.rs.container.ContainerResponseFilter> protected JaxrsInterceptorRegistry
<jakarta.ws.rs.container.ContainerResponseFilter> JaxrsInterceptorRegistry
<jakarta.ws.rs.ext.WriterInterceptor> protected JaxrsInterceptorRegistry
<jakarta.ws.rs.ext.WriterInterceptor> 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.ServerHelper
getExceptionMappersForWrite
Methods inherited from class org.jboss.resteasy.core.providerfactory.CommonProviders
lockSnapshots
-
Field Details
-
SINGLETON
-
-
Method Details
-
processProviderContracts
protected void processProviderContracts(Class provider, Integer priorityOverride, boolean isBuiltin, Map<Class<?>, Integer> contracts, Map<Class<?>, Integer> newContracts) - Overrides:
processProviderContracts
in classServerHelper
-
processProviderInstanceContracts
protected void processProviderInstanceContracts(Object provider, Map<Class<?>, Integer> contracts, Integer priorityOverride, boolean builtIn, Map<Class<?>, Integer> newContracts) - Overrides:
processProviderInstanceContracts
in classServerHelper
-
getRequestFiltersForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.container.ContainerRequestFilter> getRequestFiltersForWrite()- Overrides:
getRequestFiltersForWrite
in classServerHelper
-
getResponseFiltersForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.container.ContainerResponseFilter> getResponseFiltersForWrite()- Overrides:
getResponseFiltersForWrite
in classServerHelper
-
getAsyncResponseProvidersForWrite
- Overrides:
getAsyncResponseProvidersForWrite
in classServerHelper
-
getAsyncStreamProvidersForWrite
- Overrides:
getAsyncStreamProvidersForWrite
in classServerHelper
-
getRequestFilters
- Overrides:
getRequestFilters
in classServerHelper
-
getResponseFilters
public JaxrsInterceptorRegistry<jakarta.ws.rs.container.ContainerResponseFilter> getResponseFilters()- Overrides:
getResponseFilters
in classServerHelper
-
getAsyncResponseProviders
- Overrides:
getAsyncResponseProviders
in classServerHelper
-
getAsyncStreamProviders
- Overrides:
getAsyncStreamProviders
in classServerHelper
-
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 classServerHelper
-
getMessageBodyWritersForWrite
protected MediaTypeMap<SortedKey<jakarta.ws.rs.ext.MessageBodyWriter>> getMessageBodyWritersForWrite()- Overrides:
getMessageBodyWritersForWrite
in classServerHelper
-
getReaderInterceptorRegistryForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.ReaderInterceptor> getReaderInterceptorRegistryForWrite()- Overrides:
getReaderInterceptorRegistryForWrite
in classServerHelper
-
getWriterInterceptorRegistryForWrite
protected JaxrsInterceptorRegistry<jakarta.ws.rs.ext.WriterInterceptor> getWriterInterceptorRegistryForWrite()- Overrides:
getWriterInterceptorRegistryForWrite
in classServerHelper
-
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
-
getExceptionMappers
- Overrides:
getExceptionMappers
in classServerHelper
-
addExceptionMapper
- Overrides:
addExceptionMapper
in classServerHelper
-
addAsyncStreamProvider
- Overrides:
addAsyncStreamProvider
in classServerHelper
-
addAsyncResponseProvider
- Overrides:
addAsyncResponseProvider
in classServerHelper
-
addContainerResponseFilter
- Overrides:
addContainerResponseFilter
in classServerHelper
-
addContainerRequestFilter
- Overrides:
addContainerRequestFilter
in classServerHelper
-
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
-