@Singleton
public class KeyTypeConverter
extends java.lang.Object
implements io.micronaut.core.convert.TypeConverter<java.lang.CharSequence,com.nimbusds.jose.jwk.KeyType>
KeyType
.Constructor and Description |
---|
KeyTypeConverter() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<com.nimbusds.jose.jwk.KeyType> |
convert(java.lang.CharSequence object,
java.lang.Class<com.nimbusds.jose.jwk.KeyType> targetType,
io.micronaut.core.convert.ConversionContext context) |
public java.util.Optional<com.nimbusds.jose.jwk.KeyType> convert(java.lang.CharSequence object, java.lang.Class<com.nimbusds.jose.jwk.KeyType> targetType, io.micronaut.core.convert.ConversionContext context)
convert
in interface io.micronaut.core.convert.TypeConverter<java.lang.CharSequence,com.nimbusds.jose.jwk.KeyType>
object
- e.g. ECtargetType
- The target type being converted to KeyType
context
- The ConversionContext
KeyType