Class TMF630MediaTypeConfiguration
java.lang.Object
com.orange.spring.tmf630.config.TMF630MediaTypeConfiguration
- All Implemented Interfaces:
org.springframework.hateoas.config.HypermediaMappingInformation
@AutoConfiguration
public class TMF630MediaTypeConfiguration
extends Object
implements org.springframework.hateoas.config.HypermediaMappingInformation
Spring configuration for TMF630 media type support.
-
Constructor Summary
ConstructorsConstructorDescriptionTMF630MediaTypeConfiguration(org.springframework.hateoas.server.LinkRelationProvider linkRelProvider, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapperconfigureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) com.fasterxml.jackson.databind.ModuleList<org.springframework.http.MediaType> Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.hateoas.config.HypermediaMappingInformation
getRootType
-
Constructor Details
-
TMF630MediaTypeConfiguration
public TMF630MediaTypeConfiguration(org.springframework.hateoas.server.LinkRelationProvider linkRelProvider, org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory)
-
-
Method Details
-
getMediaTypes
- Specified by:
getMediaTypesin interfaceorg.springframework.hateoas.config.HypermediaMappingInformation
-
getJacksonModule
public com.fasterxml.jackson.databind.Module getJacksonModule()- Specified by:
getJacksonModulein interfaceorg.springframework.hateoas.config.HypermediaMappingInformation
-
tmf630LinkDiscoverer
-
configureObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) - Specified by:
configureObjectMapperin interfaceorg.springframework.hateoas.config.HypermediaMappingInformation
-