Class RepositoryRestProperties
java.lang.Object
org.springframework.boot.data.rest.autoconfigure.RepositoryRestProperties
Configuration properties for Spring Data REST.
- Since:
- 4.0.0
- Author:
- Stephane Nicoll
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(org.springframework.data.rest.core.config.RepositoryRestConfiguration rest) @Nullable String
@Nullable MediaType
@Nullable Integer
org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies
@Nullable Boolean
@Nullable String
@Nullable Integer
@Nullable String
@Nullable Boolean
@Nullable Boolean
@Nullable String
void
setBasePath
(@Nullable String basePath) void
setDefaultMediaType
(@Nullable MediaType defaultMediaType) void
setDefaultPageSize
(@Nullable Integer defaultPageSize) void
setDetectionStrategy
(org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies detectionStrategy) void
setEnableEnumTranslation
(@Nullable Boolean enableEnumTranslation) void
setLimitParamName
(@Nullable String limitParamName) void
setMaxPageSize
(@Nullable Integer maxPageSize) void
setPageParamName
(@Nullable String pageParamName) void
setReturnBodyOnCreate
(@Nullable Boolean returnBodyOnCreate) void
setReturnBodyOnUpdate
(@Nullable Boolean returnBodyOnUpdate) void
setSortParamName
(@Nullable String sortParamName)
-
Constructor Details
-
RepositoryRestProperties
public RepositoryRestProperties()
-
-
Method Details
-
getBasePath
-
setBasePath
-
getDefaultPageSize
-
setDefaultPageSize
-
getMaxPageSize
-
setMaxPageSize
-
getPageParamName
-
setPageParamName
-
getLimitParamName
-
setLimitParamName
-
getSortParamName
-
setSortParamName
-
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
-
setDefaultMediaType
-
getReturnBodyOnCreate
-
setReturnBodyOnCreate
-
getReturnBodyOnUpdate
-
setReturnBodyOnUpdate
-
getEnableEnumTranslation
-
setEnableEnumTranslation
-
applyTo
public void applyTo(org.springframework.data.rest.core.config.RepositoryRestConfiguration rest)
-