Class RepositoryRestProperties

java.lang.Object
org.springframework.boot.autoconfigure.data.rest.RepositoryRestProperties

@ConfigurationProperties(prefix="spring.data.rest") public class RepositoryRestProperties extends Object
Configuration properties for Spring Data REST.
Since:
1.3.0
Author:
Stephane Nicoll
  • Constructor Details

    • RepositoryRestProperties

      public RepositoryRestProperties()
  • Method Details

    • getBasePath

      public String getBasePath()
    • setBasePath

      public void setBasePath(String basePath)
    • getDefaultPageSize

      public Integer getDefaultPageSize()
    • setDefaultPageSize

      public void setDefaultPageSize(Integer defaultPageSize)
    • getMaxPageSize

      public Integer getMaxPageSize()
    • setMaxPageSize

      public void setMaxPageSize(Integer maxPageSize)
    • getPageParamName

      public String getPageParamName()
    • setPageParamName

      public void setPageParamName(String pageParamName)
    • getLimitParamName

      public String getLimitParamName()
    • setLimitParamName

      public void setLimitParamName(String limitParamName)
    • getSortParamName

      public String getSortParamName()
    • setSortParamName

      public void setSortParamName(String sortParamName)
    • getDetectionStrategy

      public org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies getDetectionStrategy()
    • setDetectionStrategy

      public void setDetectionStrategy(org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies detectionStrategy)
    • getDefaultMediaType

      public MediaType getDefaultMediaType()
    • setDefaultMediaType

      public void setDefaultMediaType(MediaType defaultMediaType)
    • getReturnBodyOnCreate

      public Boolean getReturnBodyOnCreate()
    • setReturnBodyOnCreate

      public void setReturnBodyOnCreate(Boolean returnBodyOnCreate)
    • getReturnBodyOnUpdate

      public Boolean getReturnBodyOnUpdate()
    • setReturnBodyOnUpdate

      public void setReturnBodyOnUpdate(Boolean returnBodyOnUpdate)
    • getEnableEnumTranslation

      public Boolean getEnableEnumTranslation()
    • setEnableEnumTranslation

      public void setEnableEnumTranslation(Boolean enableEnumTranslation)
    • applyTo

      public void applyTo(org.springframework.data.rest.core.config.RepositoryRestConfiguration rest)