Interface SerializerRegistrar<T>

Type Parameters:
T - The serde type
All Superinterfaces:
io.micronaut.core.order.Ordered, Serializer<T>
All Known Subinterfaces:
SerdeRegistrar<T>
All Known Implementing Classes:
ByteBufferSerde, InetAddressSerde, InstantSerde, LocalDateSerde, LocalDateTimeSerde, LocalTimeSerde, ObjectArraySerde, OffsetDateTimeSerde, YearSerde, ZonedDateTimeSerde

@Internal public interface SerializerRegistrar<T> extends Serializer<T>, io.micronaut.core.order.Ordered
The registrar of Serializer.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.serde.Serializer

    Serializer.EncoderContext
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull io.micronaut.core.type.Argument<T>
     
    default @NonNull Iterable<io.micronaut.core.type.Argument<?>>
     

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder

    Methods inherited from interface io.micronaut.serde.Serializer

    createSpecific, isAbsent, isEmpty, serialize
  • Method Details

    • getType

      @NonNull @NonNull io.micronaut.core.type.Argument<T> getType()
      Returns:
      The serde argument type
    • getTypes

      @NonNull default @NonNull Iterable<io.micronaut.core.type.Argument<?>> getTypes()
      Returns:
      The multiple serde argument types