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