Package io.micronaut.jaxrs.common
Class JaxRsMessageBodyHandlerRegistry
java.lang.Object
io.micronaut.jaxrs.common.JaxRsMessageBodyHandlerRegistry
Stores JAX-RS message body readers and writers.
- Since:
- 4.9.0
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorsConstructorDescriptionJaxRsMessageBodyHandlerRegistry
(BeanContext beanLocators) Default constructor. -
Method Summary
Modifier and TypeMethodDescription<T> Optional<MessageBodyReader<T>>
findReader
(Argument<T> type, List<MediaType> mediaTypes) <T> Optional<MessageBodyWriter<T>>
findWriter
(Argument<T> type, List<MediaType> mediaTypes)
-
Constructor Details
-
JaxRsMessageBodyHandlerRegistry
Default constructor.- Parameters:
beanLocators
- The bean locator.
-
-
Method Details
-
findReader
-
findWriter
-