public class DataRestHalProvider extends HateoasHalProvider
objectMapperProvider| Constructor and Description |
|---|
DataRestHalProvider(Optional<org.springframework.data.rest.core.config.RepositoryRestConfiguration> repositoryRestConfigurationOptional,
Optional<org.springframework.boot.autoconfigure.hateoas.HateoasProperties> hateoasPropertiesOptional,
org.springdoc.core.providers.ObjectMapperProvider objectMapperProvider)
Instantiates a new Data rest hal provider.
|
public DataRestHalProvider(Optional<org.springframework.data.rest.core.config.RepositoryRestConfiguration> repositoryRestConfigurationOptional, Optional<org.springframework.boot.autoconfigure.hateoas.HateoasProperties> hateoasPropertiesOptional, org.springdoc.core.providers.ObjectMapperProvider objectMapperProvider)
repositoryRestConfigurationOptional - the repository rest configuration optionalhateoasPropertiesOptional - the hateoas properties optionalobjectMapperProvider - the object mapper provider@PostConstruct protected void init()
init in class HateoasHalProviderpublic boolean isHalEnabled()
isHalEnabled in class HateoasHalProviderCopyright © 2024. All rights reserved.