Class RegisteredServiceYamlSerializer

java.lang.Object
org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer<org.apereo.cas.services.RegisteredService>
All Implemented Interfaces:
Serializable, org.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>

public class RegisteredServiceYamlSerializer extends RegisteredServiceJsonSerializer
Since:
5.0.0
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegisteredServiceYamlSerializer(org.springframework.context.ConfigurableApplicationContext applicationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.springframework.http.MediaType>
     
    boolean
    supports(File file)
     
    boolean
    supports(String content)
     

    Methods inherited from class org.apereo.cas.services.util.RegisteredServiceJsonSerializer

    getTypeToSerialize

    Methods inherited from class org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer

    from, from, from, from, from, fromList, fromList, getObjectMapper, getPrettyPrinter, merge, to, to, to, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apereo.cas.util.serialization.StringSerializer

    load, load
  • Constructor Details

    • RegisteredServiceYamlSerializer

      public RegisteredServiceYamlSerializer(org.springframework.context.ConfigurableApplicationContext applicationContext)
  • Method Details

    • supports

      public boolean supports(File file)
      Specified by:
      supports in interface org.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>
      Overrides:
      supports in class RegisteredServiceJsonSerializer
    • supports

      public boolean supports(String content)
      Specified by:
      supports in interface org.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>
      Overrides:
      supports in class RegisteredServiceJsonSerializer
    • getContentTypes

      public List<org.springframework.http.MediaType> getContentTypes()
      Specified by:
      getContentTypes in interface org.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>
      Overrides:
      getContentTypes in class RegisteredServiceJsonSerializer