Class AddressTypeConverter

  • All Implemented Interfaces:
    io.micronaut.core.convert.TypeConverter<java.lang.CharSequence,​com.rabbitmq.client.Address>

    @Singleton
    public class AddressTypeConverter
    extends java.lang.Object
    implements io.micronaut.core.convert.TypeConverter<java.lang.CharSequence,​com.rabbitmq.client.Address>
    Converts a CharSequence to an Address.
    Since:
    1.1.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.rabbitmq.client.Address> convert​(java.lang.CharSequence object, java.lang.Class<com.rabbitmq.client.Address> targetType, io.micronaut.core.convert.ConversionContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.micronaut.core.convert.TypeConverter

        convert
    • Constructor Detail

      • AddressTypeConverter

        public AddressTypeConverter()
    • Method Detail

      • convert

        public java.util.Optional<com.rabbitmq.client.Address> convert​(java.lang.CharSequence object,
                                                                       java.lang.Class<com.rabbitmq.client.Address> targetType,
                                                                       io.micronaut.core.convert.ConversionContext context)
        Specified by:
        convert in interface io.micronaut.core.convert.TypeConverter<java.lang.CharSequence,​com.rabbitmq.client.Address>