Class RegisteredServiceYamlSerializer

    • Field Summary

      • Fields inherited from class org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer

        MINIMAL_PRETTY_PRINTER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.springframework.http.MediaType> getContentTypes()  
      protected com.fasterxml.jackson.core.JsonFactory getJsonFactory()  
      boolean supports​(java.io.File file)  
      boolean supports​(java.lang.String content)  
      • Methods inherited from class org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer

        configureObjectMapper, from, from, from, from, from, getObjectMapper, getPrettyPrinter, initializeObjectMapper, isDefaultTypingEnabled, readJsonFrom, readObjectFromString, to, to, to, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.util.serialization.StringSerializer

        load, load
    • Constructor Detail

      • RegisteredServiceYamlSerializer

        public RegisteredServiceYamlSerializer()
    • Method Detail

      • getJsonFactory

        protected com.fasterxml.jackson.core.JsonFactory getJsonFactory()
        Overrides:
        getJsonFactory in class org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer<org.apereo.cas.services.RegisteredService>
      • supports

        public boolean supports​(java.io.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​(java.lang.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 java.util.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