クラス DataRestProperties
java.lang.ObjectSE
org.springframework.boot.data.rest.autoconfigure.DataRestProperties
Spring Data REST の構成プロパティ。
- 導入:
- 4.0.0
- 作成者:
- Stephane Nicoll
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明voidapplyTo(org.springframework.data.rest.core.config.RepositoryRestConfiguration rest) @Nullable StringSE@Nullable MediaType@Nullable IntegerSEorg.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies@Nullable BooleanSE@Nullable StringSE@Nullable IntegerSE@Nullable StringSE@Nullable BooleanSE@Nullable BooleanSE@Nullable StringSEvoidsetBasePath(@Nullable StringSE basePath) voidsetDefaultMediaType(@Nullable MediaType defaultMediaType) voidsetDefaultPageSize(@Nullable IntegerSE defaultPageSize) voidsetDetectionStrategy(org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies detectionStrategy) voidsetEnableEnumTranslation(@Nullable BooleanSE enableEnumTranslation) voidsetLimitParamName(@Nullable StringSE limitParamName) voidsetMaxPageSize(@Nullable IntegerSE maxPageSize) voidsetPageParamName(@Nullable StringSE pageParamName) voidsetReturnBodyOnCreate(@Nullable BooleanSE returnBodyOnCreate) voidsetReturnBodyOnUpdate(@Nullable BooleanSE returnBodyOnUpdate) voidsetSortParamName(@Nullable StringSE sortParamName)
コンストラクターの詳細
DataRestProperties
public DataRestProperties()
方法の詳細
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)