Class AddressTypeConverter

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

@Singleton public class AddressTypeConverter extends Object implements io.micronaut.core.convert.TypeConverter<CharSequence,com.rabbitmq.client.Address>
Converts a CharSequence to an Address.
Since:
1.1.0
Author:
James Kleeh
  • Constructor Details

    • AddressTypeConverter

      public AddressTypeConverter()
  • Method Details

    • convert

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