@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() |
org.springframework.http.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(org.springframework.http.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 org.springframework.http.MediaType getDefaultMediaType()
public void setDefaultMediaType(org.springframework.http.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 © 2019 Pivotal Software, Inc.. All rights reserved.