Package io.micronaut.http.converters
Class HttpConverterRegistrar
java.lang.Object
io.micronaut.http.converters.HttpConverterRegistrar
- All Implemented Interfaces:
TypeConverterRegistrar
Converter registrar for HTTP classes.
- Since:
- 2.0
- Author:
- graemerocher
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpConverterRegistrar(BeanProvider<ResourceResolver> resourceResolver) Default constructor.protectedHttpConverterRegistrar(Provider<ResourceResolver> resourceResolver) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidregister(MutableConversionService conversionService) Interface for registrars ofTypeConverterinstances.
-
Constructor Details
-
HttpConverterRegistrar
Default constructor.- Parameters:
resourceResolver- The resource resolver
-
HttpConverterRegistrar
@Deprecated(forRemoval=true) protected HttpConverterRegistrar(Provider<ResourceResolver> resourceResolver) Deprecated, for removal: This API element is subject to removal in a future version.Replaced byHttpConverterRegistrar(BeanProvider).The constructor.- Parameters:
resourceResolver- The resource resolver
-
-
Method Details
-
register
Description copied from interface:TypeConverterRegistrarInterface for registrars ofTypeConverterinstances.- Specified by:
registerin interfaceTypeConverterRegistrar- Parameters:
conversionService- TheConversionService
-
HttpConverterRegistrar(BeanProvider).