クラス RepositoryRestProperties
java.lang.ObjectSE
org.springframework.boot.autoconfigure.data.rest.RepositoryRestProperties
@ConfigurationProperties(prefix="spring.data.rest")
public class RepositoryRestProperties
extends ObjectSE
Spring Data REST の構成プロパティ。
- 導入:
- 1.3.0
- 作成者:
- Stephane Nicoll
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
applyTo
(org.springframework.data.rest.core.config.RepositoryRestConfiguration rest) org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies
void
setBasePath
(StringSE basePath) void
setDefaultMediaType
(MediaType defaultMediaType) void
setDefaultPageSize
(IntegerSE defaultPageSize) void
setDetectionStrategy
(org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies detectionStrategy) void
setEnableEnumTranslation
(BooleanSE enableEnumTranslation) void
setLimitParamName
(StringSE limitParamName) void
setMaxPageSize
(IntegerSE maxPageSize) void
setPageParamName
(StringSE pageParamName) void
setReturnBodyOnCreate
(BooleanSE returnBodyOnCreate) void
setReturnBodyOnUpdate
(BooleanSE returnBodyOnUpdate) void
setSortParamName
(StringSE sortParamName)
コンストラクターの詳細
RepositoryRestProperties
public RepositoryRestProperties()
メソッドの詳細
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)