Package io.micronaut.rabbitmq.connect
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 Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionOptional<com.rabbitmq.client.Address>convert(CharSequence object, 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, waitMethods inherited from interface io.micronaut.core.convert.TypeConverter
convert 
- 
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:
 convertin interfaceio.micronaut.core.convert.TypeConverter<CharSequence,com.rabbitmq.client.Address> 
 
 -