Package org.apereo.cas.services.util
Class RegisteredServiceYamlSerializer
- java.lang.Object
-
- org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer<org.apereo.cas.services.RegisteredService>
-
- org.apereo.cas.services.util.RegisteredServiceJsonSerializer
-
- org.apereo.cas.services.util.RegisteredServiceYamlSerializer
-
- All Implemented Interfaces:
java.io.Serializable
,org.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>
public class RegisteredServiceYamlSerializer extends RegisteredServiceJsonSerializer
This isRegisteredServiceYamlSerializer
.- Since:
- 5.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisteredServiceYamlSerializer()
-
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.services.util.RegisteredServiceJsonSerializer
getTypeToSerialize, initializeObjectMapper
-
Methods inherited from class org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer
configureObjectMapper, from, from, from, from, from, getObjectMapper, getPrettyPrinter, isDefaultTypingEnabled, readJsonFrom, readObjectFromString, to, to, to, toString
-
-
-
-
Method Detail
-
getJsonFactory
protected com.fasterxml.jackson.core.JsonFactory getJsonFactory()
- Overrides:
getJsonFactory
in classorg.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer<org.apereo.cas.services.RegisteredService>
-
supports
public boolean supports(java.io.File file)
- Specified by:
supports
in interfaceorg.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>
- Overrides:
supports
in classRegisteredServiceJsonSerializer
-
supports
public boolean supports(java.lang.String content)
- Specified by:
supports
in interfaceorg.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>
- Overrides:
supports
in classRegisteredServiceJsonSerializer
-
getContentTypes
public java.util.List<org.springframework.http.MediaType> getContentTypes()
- Specified by:
getContentTypes
in interfaceorg.apereo.cas.util.serialization.StringSerializer<org.apereo.cas.services.RegisteredService>
- Overrides:
getContentTypes
in classRegisteredServiceJsonSerializer
-
-