Interface TypeSerializerRegistryCustomizer
- All Superinterfaces:
Ordered
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface for customizing a
TypeSerializerRegistry.
Users can provide beans of this type via @Configuration classes with @Bean methods
to register, override, or remove serializers before configs are bound.
Customizers can be ordered by implementing Ordered.getOrder().
Lower values are applied first.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(@NotNull TypeSerializerRegistry registry) Customize the given registry.
-
Method Details
-
customize
Customize the given registry.- Parameters:
registry- the registry to customize, not null
-