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