@ConfigurationProperties(value="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 configuration) |
String |
getBasePath() |
MediaType |
getDefaultMediaType() |
Integer |
getDefaultPageSize() |
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 |
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 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 configuration)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.