Class ClaimConversionService

  • All Implemented Interfaces:
    org.springframework.core.convert.ConversionService, org.springframework.core.convert.converter.ConverterRegistry, org.springframework.core.convert.support.ConfigurableConversionService

    public final class ClaimConversionService
    extends org.springframework.core.convert.support.GenericConversionService
    A ConversionService configured with converters that provide type conversion for claim values.
    Since:
    5.2
    See Also:
    GenericConversionService, ClaimAccessor
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addConverters​(org.springframework.core.convert.converter.ConverterRegistry converterRegistry)
      Adds the converters that provide type conversion for claim values to the provided ConverterRegistry.
      static ClaimConversionService getSharedInstance()
      Returns a shared instance of ClaimConversionService.
      • Methods inherited from class org.springframework.core.convert.support.GenericConversionService

        addConverter, addConverter, addConverter, addConverterFactory, canBypassConvert, canConvert, canConvert, convert, convert, convert, convertNullSource, getConverter, getDefaultConverter, removeConvertible, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getSharedInstance

        public static ClaimConversionService getSharedInstance()
        Returns a shared instance of ClaimConversionService.
        Returns:
        a shared instance of ClaimConversionService
      • addConverters

        public static void addConverters​(org.springframework.core.convert.converter.ConverterRegistry converterRegistry)
        Adds the converters that provide type conversion for claim values to the provided ConverterRegistry.
        Parameters:
        converterRegistry - the registry of converters to add to