@Singleton public class StringToWriteConcernConverter extends Object implements io.micronaut.core.convert.TypeConverter<CharSequence,com.mongodb.WriteConcern>
Constructor and Description |
---|
StringToWriteConcernConverter() |
Modifier and Type | Method and Description |
---|---|
Optional<com.mongodb.WriteConcern> |
convert(CharSequence object,
Class<com.mongodb.WriteConcern> targetType,
io.micronaut.core.convert.ConversionContext context) |
public Optional<com.mongodb.WriteConcern> convert(CharSequence object, Class<com.mongodb.WriteConcern> targetType, io.micronaut.core.convert.ConversionContext context)
convert
in interface io.micronaut.core.convert.TypeConverter<CharSequence,com.mongodb.WriteConcern>