Class RepositoryRestProperties

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

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

    • RepositoryRestProperties

      public RepositoryRestProperties()
  • Method Details

    • getBasePath

      public @Nullable String getBasePath()
    • setBasePath

      public void setBasePath(@Nullable String basePath)
    • getDefaultPageSize

      public @Nullable Integer getDefaultPageSize()
    • setDefaultPageSize

      public void setDefaultPageSize(@Nullable Integer defaultPageSize)
    • getMaxPageSize

      public @Nullable Integer getMaxPageSize()
    • setMaxPageSize

      public void setMaxPageSize(@Nullable Integer maxPageSize)
    • getPageParamName

      public @Nullable String getPageParamName()
    • setPageParamName

      public void setPageParamName(@Nullable String pageParamName)
    • getLimitParamName

      public @Nullable String getLimitParamName()
    • setLimitParamName

      public void setLimitParamName(@Nullable String limitParamName)
    • getSortParamName

      public @Nullable String getSortParamName()
    • setSortParamName

      public void setSortParamName(@Nullable 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 @Nullable MediaType getDefaultMediaType()
    • setDefaultMediaType

      public void setDefaultMediaType(@Nullable MediaType defaultMediaType)
    • getReturnBodyOnCreate

      public @Nullable Boolean getReturnBodyOnCreate()
    • setReturnBodyOnCreate

      public void setReturnBodyOnCreate(@Nullable Boolean returnBodyOnCreate)
    • getReturnBodyOnUpdate

      public @Nullable Boolean getReturnBodyOnUpdate()
    • setReturnBodyOnUpdate

      public void setReturnBodyOnUpdate(@Nullable Boolean returnBodyOnUpdate)
    • getEnableEnumTranslation

      public @Nullable Boolean getEnableEnumTranslation()
    • setEnableEnumTranslation

      public void setEnableEnumTranslation(@Nullable Boolean enableEnumTranslation)
    • applyTo

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