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.

@FunctionalInterface public interface TypeSerializerRegistryCustomizer extends Ordered
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 Type
    Method
    Description
    void
    customize(@NotNull TypeSerializerRegistry registry)
    Customize the given registry.

    Methods inherited from interface tech.guilhermekaua.spigotboot.core.context.lifecycle.Ordered

    getOrder
  • Method Details

    • customize

      void customize(@NotNull @NotNull TypeSerializerRegistry registry)
      Customize the given registry.
      Parameters:
      registry - the registry to customize, not null