@ConfigurationProperties(prefix="spring.data.rest") public class RepositoryRestProperties extends Object
Constructor and Description |
---|
RepositoryRestProperties() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(org.springframework.data.rest.core.config.RepositoryRestConfiguration rest) |
String |
getBasePath() |
MediaType |
getDefaultMediaType() |
Integer |
getDefaultPageSize() |
org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies |
getDetectionStrategy() |
Boolean |
getEnableEnumTranslation() |
String |
getLimitParamName() |
Integer |
getMaxPageSize() |
String |
getPageParamName() |
Boolean |
getReturnBodyOnCreate() |
Boolean |
getReturnBodyOnUpdate() |
String |
getSortParamName() |
void |
setBasePath(String basePath) |
void |
setDefaultMediaType(MediaType defaultMediaType) |
void |
setDefaultPageSize(Integer defaultPageSize) |
void |
setDetectionStrategy(org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies detectionStrategy) |
void |
setEnableEnumTranslation(Boolean enableEnumTranslation) |
void |
setLimitParamName(String limitParamName) |
void |
setMaxPageSize(Integer maxPageSize) |
void |
setPageParamName(String pageParamName) |
void |
setReturnBodyOnCreate(Boolean returnBodyOnCreate) |
void |
setReturnBodyOnUpdate(Boolean returnBodyOnUpdate) |
void |
setSortParamName(String sortParamName) |
public String getBasePath()
public void setBasePath(String basePath)
public Integer getDefaultPageSize()
public void setDefaultPageSize(Integer defaultPageSize)
public Integer getMaxPageSize()
public void setMaxPageSize(Integer maxPageSize)
public String getPageParamName()
public void setPageParamName(String pageParamName)
public String getLimitParamName()
public void setLimitParamName(String limitParamName)
public String getSortParamName()
public void setSortParamName(String sortParamName)
public org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies getDetectionStrategy()
public void setDetectionStrategy(org.springframework.data.rest.core.mapping.RepositoryDetectionStrategy.RepositoryDetectionStrategies detectionStrategy)
public MediaType getDefaultMediaType()
public void setDefaultMediaType(MediaType defaultMediaType)
public Boolean getReturnBodyOnCreate()
public void setReturnBodyOnCreate(Boolean returnBodyOnCreate)
public Boolean getReturnBodyOnUpdate()
public void setReturnBodyOnUpdate(Boolean returnBodyOnUpdate)
public Boolean getEnableEnumTranslation()
public void setEnableEnumTranslation(Boolean enableEnumTranslation)
public void applyTo(org.springframework.data.rest.core.config.RepositoryRestConfiguration rest)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.