クラス 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
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明voidapplyTo(org.springframework.data.rest.core.config.RepositoryRestConfiguration rest) org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategiesvoidsetBasePath(StringSE basePath) voidsetDefaultMediaType(MediaType defaultMediaType) voidsetDefaultPageSize(IntegerSE defaultPageSize) voidsetDetectionStrategy(org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies detectionStrategy) voidsetEnableEnumTranslation(BooleanSE enableEnumTranslation) voidsetLimitParamName(StringSE limitParamName) voidsetMaxPageSize(IntegerSE maxPageSize) voidsetPageParamName(StringSE pageParamName) voidsetReturnBodyOnCreate(BooleanSE returnBodyOnCreate) voidsetReturnBodyOnUpdate(BooleanSE returnBodyOnUpdate) voidsetSortParamName(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)