Spring Data REST 1.0.0.RELEASE API
A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractRepositoryEventListener<T extends AbstractRepositoryEventListener<? super T>> - Class in org.springframework.data.rest.repository.context
Abstract class that listens for generic RepositoryEvents and dispatches them to a specific method based on the event type.
AbstractRepositoryEventListener() - Constructor for class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
 
ACCEPT_ALL_TYPES - Static variable in class org.springframework.data.rest.webmvc.MediaTypes
 
addAllErrors(Errors) - Method in class org.springframework.data.rest.repository.ValidationErrors
 
addAllResults(Iterator) - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
addConversionService(int, ConversionService) - Method in class org.springframework.data.rest.core.convert.DelegatingConversionService
Add a ConversionService to the internal list at a specific index for controlling the priority.
addConversionServices(ConversionService...) - Method in class org.springframework.data.rest.core.convert.DelegatingConversionService
Add ConversionServices to the internal list of those to delegate to.
addLink(Link) - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
addResult(Object) - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
addSortParameters(UriComponentsBuilder) - Method in class org.springframework.data.rest.webmvc.PagingAndSorting
Add the current sort parameters to the URI.
addValidator(String, Validator) - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
Add a Validator that will be triggered on the given event.
AfterDeleteEvent - Class in org.springframework.data.rest.repository.context
Emitted after the entity is deleted from the repository.
AfterDeleteEvent(Object) - Constructor for class org.springframework.data.rest.repository.context.AfterDeleteEvent
 
AfterLinkDeleteEvent - Class in org.springframework.data.rest.repository.context
Emitted after a link to a related object is deleted from the parent.
AfterLinkDeleteEvent(Object, Object) - Constructor for class org.springframework.data.rest.repository.context.AfterLinkDeleteEvent
 
AfterLinkSaveEvent - Class in org.springframework.data.rest.repository.context
Emitted after saving a linked object to its parent in the repository.
AfterLinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.repository.context.AfterLinkSaveEvent
 
afterPropertiesSet() - Method in class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
 
afterPropertiesSet() - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
 
afterPropertiesSet() - Method in class org.springframework.data.rest.repository.RepositoryExporter
 
afterPropertiesSet() - Method in class org.springframework.data.rest.webmvc.json.RepositoryAwareJacksonModule
 
afterPropertiesSet() - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
afterPropertiesSet() - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
afterPropertiesSet() - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
 
afterPropertiesSet() - Method in class org.springframework.data.rest.webmvc.ResourceProcessorInvokingHandlerAdapter
 
AfterSaveEvent - Class in org.springframework.data.rest.repository.context
Emitted after a save to the repository.
AfterSaveEvent(Object) - Constructor for class org.springframework.data.rest.repository.context.AfterSaveEvent
 
AnnotatedHandlerRepositoryEventListener - Class in org.springframework.data.rest.repository.context
ApplicationListener that will dispatch RepositoryEvents to handlers annotated with RepositoryEventHandler.
AnnotatedHandlerRepositoryEventListener() - Constructor for class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
 
AnnotatedHandlerRepositoryEventListener(String) - Constructor for class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
 
annotation(Class<A>) - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Get the given annotation.
annotation(Class<A>) - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
APPLICATION_JAVASCRIPT - Static variable in class org.springframework.data.rest.webmvc.MediaTypes
 
applicationContext - Variable in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
 
applicationContext - Variable in class org.springframework.data.rest.repository.RepositoryExporter
 
asCollection(Object) - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Get the path of this attribute as a Collection.
asCollection(Object) - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
asHttpEntity() - Method in class org.springframework.data.rest.core.util.RestHelper
 
asMap(Object) - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Get the path of this attribute as a Map.
asMap(Object) - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
asResponseEntity() - Method in class org.springframework.data.rest.core.util.RestHelper
 
asSet(Object) - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Get the path of this attribute as a Set.
asSet(Object) - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
attribute(String) - Method in interface org.springframework.data.rest.repository.EntityMetadata
Get AttributeMetadata by name.
attribute(String) - Method in class org.springframework.data.rest.repository.jpa.JpaEntityMetadata
 
AttributeMetadata - Interface in org.springframework.data.rest.repository
Encapsulates necessary information about an attribute of a generic entity.

B

basePackage() - Method in class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
Get the base package in which to search for event handlers.
basePackage(String) - Method in class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
Set the base package in which to search for event handlers.
BaseUriMethodArgumentResolver - Class in org.springframework.data.rest.webmvc
 
BaseUriMethodArgumentResolver() - Constructor for class org.springframework.data.rest.webmvc.BaseUriMethodArgumentResolver
 
baseUriMethodArgumentResolver() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
 
BeanUtils - Class in org.springframework.data.rest.core.util
 
BeforeDeleteEvent - Class in org.springframework.data.rest.repository.context
Emitted before an entity is deleted from the repository.
BeforeDeleteEvent(Object) - Constructor for class org.springframework.data.rest.repository.context.BeforeDeleteEvent
 
BeforeLinkDeleteEvent - Class in org.springframework.data.rest.repository.context
Emitted before a link to a related object is deleted from the parent.
BeforeLinkDeleteEvent(Object, Object) - Constructor for class org.springframework.data.rest.repository.context.BeforeLinkDeleteEvent
 
BeforeLinkSaveEvent - Class in org.springframework.data.rest.repository.context
Emitted before a linked object is saved to the repository.
BeforeLinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.repository.context.BeforeLinkSaveEvent
 
BeforeSaveEvent - Class in org.springframework.data.rest.repository.context
Emitted before an entity is saved into the repository.
BeforeSaveEvent(Object) - Constructor for class org.springframework.data.rest.repository.context.BeforeSaveEvent
 
body - Variable in class org.springframework.data.rest.core.util.RestHelper
 
buildUri(URI, String...) - Static method in class org.springframework.data.rest.core.util.UriUtils
Create a new URI out of the components.

C

canConvert(Class<?>, Class<?>) - Method in class org.springframework.data.rest.core.convert.DelegatingConversionService
 
canConvert(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.convert.DelegatingConversionService
 
canConvert(Class<?>, MethodParameter) - Method in class org.springframework.data.rest.repository.invoke.MethodParameterConversionService
 
canConvert(TypeDescriptor, MethodParameter) - Method in class org.springframework.data.rest.repository.invoke.MethodParameterConversionService
 
canRead(Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
canWrite(Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
clearLinks(ServletServerHttpRequest, String, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Clear all linked entities of a specific property.
COMPACT_JSON - Static variable in class org.springframework.data.rest.webmvc.MediaTypes
 
containsType(Class<?>, List<Object>) - Static method in class org.springframework.data.rest.core.util.BeanUtils
 
containsType(Class<?>, Object[]) - Static method in class org.springframework.data.rest.core.util.BeanUtils
 
CONVERSION_SERVICE - Static variable in class org.springframework.data.rest.core.util.BeanUtils
 
conversionService() - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
conversionServices - Variable in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
conversionServices(List<ConversionService>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
convert(Object, Class<T>) - Method in class org.springframework.data.rest.core.convert.DelegatingConversionService
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.convert.DelegatingConversionService
 
convert(String) - Method in class org.springframework.data.rest.core.convert.StringToUUIDConverter
 
convert(UUID) - Method in class org.springframework.data.rest.core.convert.UUIDToStringConverter
 
convert(Object, MethodParameter) - Method in class org.springframework.data.rest.repository.invoke.MethodParameterConversionService
 
convert(Object, TypeDescriptor, MethodParameter) - Method in class org.springframework.data.rest.repository.invoke.MethodParameterConversionService
 
convert(Object) - Method in class org.springframework.data.rest.webmvc.EntityToResourceConverter
 
ConvertWith - Annotation Type in org.springframework.data.rest.repository.annotation
 
create(ServletServerHttpRequest, URI, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Create a new entity by reading the incoming data and calling CrudRepository.save(Object) and letting the ID be auto-generated.
createJacksonHttpMessageConverter(ObjectMapper) - Static method in class org.springframework.data.rest.webmvc.json.JacksonUtil
 
createOrUpdate(ServletServerHttpRequest, URI, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Create an entity with a specific ID or update an existing entity.
createRepositoryMetadata(String, Class<?>, Class<?>, Repositories) - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryExporter
 
createRepositoryMetadata(String, Class<?>, Class<?>, Repositories) - Method in class org.springframework.data.rest.repository.RepositoryExporter
 
CrudMethod - Enum in org.springframework.data.rest.repository.invoke
Represents one of the CRUD methods supported by PagingAndSortingRepository or CrudRepository.
customJpaRepositoryExporter - Variable in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
RepositoryExporter implementation for exporting JPA repositories.

D

DEFAULT - Static variable in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
 
DelegatingConversionService - Class in org.springframework.data.rest.core.convert
This ConversionService implementation delegates the actual conversion the ConversionService if finds in its internal List that claims to be able to convert a given class.
DelegatingConversionService() - Constructor for class org.springframework.data.rest.core.convert.DelegatingConversionService
 
DelegatingConversionService(ConversionService...) - Constructor for class org.springframework.data.rest.core.convert.DelegatingConversionService
 
deleteEntity(ServletServerHttpRequest, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Delete an entity.
deleteLink(ServletServerHttpRequest, String, String, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Delete a specific relationship between a child entity and its parent.
domainObjectResolver - Variable in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
domainObjectResolver() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
A UriResolver implementation that takes a URI and turns it into a top-level domain object.
domainType() - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
domainType() - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
The type of domain object this Repository is repsonsible for.
domainTypeMappings - Variable in class org.springframework.data.rest.repository.RepositoryExporter
 

E

elementType() - Method in interface org.springframework.data.rest.repository.AttributeMetadata
The element type of this attribute, if this attribute is a "plural"-like attribute (a Collection, Map, etc...).
elementType() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
embeddedAttributes() - Method in interface org.springframework.data.rest.repository.EntityMetadata
A Map of attribute metadata keyed on the attribute's name.
embeddedAttributes() - Method in class org.springframework.data.rest.repository.jpa.JpaEntityMetadata
 
entity(ServletServerHttpRequest, URI, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Retrieve a specific entity.
entityManager - Variable in class org.springframework.data.rest.repository.jpa.JpaRepositoryExporter
 
EntityMetadata<A extends AttributeMetadata> - Interface in org.springframework.data.rest.repository
Encapsulates necessary metadata about a generic entity.
entityMetadata() - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
entityMetadata() - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
The EntityMetadata associated with the domain type of this Repository.
EntityResource - Class in org.springframework.data.rest.webmvc
 
EntityResource(Map<String, Object>, Set<Link>) - Constructor for class org.springframework.data.rest.webmvc.EntityResource
 
EntityToResourceConverter - Class in org.springframework.data.rest.webmvc
A Converter to turn domain entities into Resources by segregating embedded entities (those entities not managed by a Repository) from linked or related entities (which don't get inlined into an entity's representation but are replaced by links instead.
EntityToResourceConverter(RepositoryRestConfiguration, RepositoryMetadata) - Constructor for class org.springframework.data.rest.webmvc.EntityToResourceConverter
 
eventPublisher - Variable in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
exceptionHandlerExceptionResolver() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
Bean for looking up methods annotated with ExceptionHandler.
explode(URI, URI) - Static method in class org.springframework.data.rest.core.util.UriUtils
Explode the given URI into its component parts, as compared to the base URI.
exportOnlyTheseClasses - Variable in class org.springframework.data.rest.repository.RepositoryExporter
 
exportsMethod(CrudMethod) - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
exportsMethod(CrudMethod) - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
Does this Repository all this method to be exported?
extendInterceptors(List<Object>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 

F

fieldNames() - Method in class org.springframework.data.rest.core.util.FluentBeanUtils.Metadata
 
fields() - Method in class org.springframework.data.rest.core.util.FluentBeanUtils.Metadata
 
findFirst(Class<T>, List<?>) - Static method in class org.springframework.data.rest.core.util.BeanUtils
 
findFirst(Object, Object...) - Static method in class org.springframework.data.rest.core.util.BeanUtils
 
findFirst(String, Object...) - Static method in class org.springframework.data.rest.core.util.BeanUtils
 
FluentBeanUtils - Class in org.springframework.data.rest.core.util
Helper methods for dealing with the metadata of "fluent" beans.
FluentBeanUtils() - Constructor for class org.springframework.data.rest.core.util.FluentBeanUtils
 
FluentBeanUtils.Metadata - Class in org.springframework.data.rest.core.util
 
FluentBeanUtils.Metadata() - Constructor for class org.springframework.data.rest.core.util.FluentBeanUtils.Metadata
 
foreach(URI, URI, Handler<URI, V>) - Static method in class org.springframework.data.rest.core.util.UriUtils
Execute the given Handler for each segment in the URI.
fromMethod(Method) - Static method in enum org.springframework.data.rest.repository.invoke.CrudMethod
Get an enum from a Method.

G

get(String, Object) - Static method in class org.springframework.data.rest.core.util.FluentBeanUtils
Get the value of a property.
get(Object) - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Get the path of this attribute.
get(Object) - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
getBasePackage() - Method in class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
Get the base package in which to search for event handlers.
getBaseUri() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
The base URI against which the exporter should calculate its links.
getContent() - Method in class org.springframework.data.rest.webmvc.EntityResource
 
getConversionService() - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Get the ConversionService in use by the controller.
getConversionServices() - Method in class org.springframework.data.rest.repository.UriToDomainObjectUriResolver
 
getConversionServices() - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
getCurrentPage() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
getCustomConverters() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the list of custom HttpMessageConverters to be used to convert user input to objects and visa versa.
getDefaultMediaType() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the MediaType to use as a default when none is specified.
getDefaultPageSize() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the default size of Pageables.
getDomainObjectResolver() - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
getDomainObjectResolver() - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
getDomainTypeMappings() - Method in class org.springframework.data.rest.repository.RepositoryExporter
 
getDomainTypeToRepositoryMappings() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the list of domain type to repository implementation mappings that will help the exporters narrow down the correct Repository to return for a given domain type.
getErrors() - Method in exception org.springframework.data.rest.repository.RepositoryConstraintViolationException
 
getExportOnlyTheseClasses() - Method in class org.springframework.data.rest.repository.RepositoryExporter
Get the list of class names of Repositories to export.
getFieldErrors() - Method in class org.springframework.data.rest.repository.ValidationErrors
 
getFieldValue(String) - Method in class org.springframework.data.rest.repository.ValidationErrors
 
getGlobalErrors() - Method in class org.springframework.data.rest.repository.ValidationErrors
 
getHttpMessageConverters() - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Get the list of default HttpMessageConverters.
getJsonpOnErrParamName() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates the name of the javascript function to use as the error handler JSONP wrapper for errors.
getJsonpParamName() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates the name of the javascript function to use as the JSONP wrapper for results.
getLimitParamName() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates how many results to return at once.
getLinked() - Method in class org.springframework.data.rest.repository.context.LinkSaveEvent
Get the linked object.
getLinks() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
getMappingHttpMessageConverter() - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
getModules() - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
getNumber() - Method in class org.springframework.data.rest.repository.PagingMetadata
 
getObjectName() - Method in class org.springframework.data.rest.repository.ValidationErrors
 
getOffset() - Method in class org.springframework.data.rest.webmvc.PagingAndSorting
 
getOrder() - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
 
getPageNumber() - Method in class org.springframework.data.rest.webmvc.PagingAndSorting
 
getPageParamName() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates what page to return.
getPageSize() - Method in class org.springframework.data.rest.webmvc.PagingAndSorting
 
getRepositoryExporters() - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Get a List of RepositoryExporters.
getRepositoryExporters() - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
getRepositoryRestConfig() - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Get the configuration currently in use.
getResults() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
getSize() - Method in class org.springframework.data.rest.repository.PagingMetadata
 
getSort() - Method in class org.springframework.data.rest.webmvc.PagingAndSorting
 
getSortParamName() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates what direction to sort results.
getters() - Method in class org.springframework.data.rest.core.util.FluentBeanUtils.Metadata
 
getTotalCount() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
getTotalElements() - Method in class org.springframework.data.rest.repository.PagingMetadata
 
getTotalPages() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
getTotalPages() - Method in class org.springframework.data.rest.repository.PagingMetadata
 
getValidators() - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
Get a Map of Validators that are assigned to the various RepositoryEvents.

H

handle(T) - Method in interface org.springframework.data.rest.core.Handler
Accept an argument and possibly produce a result.
HandleAfterDelete - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleAfterLinkDelete - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleAfterLinkSave - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleAfterSave - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleBeforeDelete - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleBeforeLinkDelete - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleBeforeLinkSave - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleBeforeRenderResource - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleBeforeRenderResources - Annotation Type in org.springframework.data.rest.repository.annotation
 
HandleBeforeSave - Annotation Type in org.springframework.data.rest.repository.annotation
 
handleConflict(Exception, ServletServerHttpRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Send a 409 Conflict in case of concurrent modification.
handleJsr303ValidationFailure(ConstraintViolationException, ServletServerHttpRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Send a 400 Bad Request in case of a validation failure.
handleMessageConversionFailure(Exception, HttpServletRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Send a 400 Bad Request in case no converter was found to process the input or output.
handleMiscFailures(Throwable, ServletServerHttpRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Handle failures commonly thrown from code tries to read incoming data and convert or cast it to the right type.
handleNPE(NullPointerException, ServletServerHttpRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Handle NPEs as a regular 500 error.
Handler<T,V> - Interface in org.springframework.data.rest.core
Generic interface used as a callback in any place you need extensibility.
handleRepositoryNotFoundFailure(RepositoryNotFoundException, ServletServerHttpRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Send a 404 if no repository was found.
handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.data.rest.webmvc.ResourceProcessorHandlerMethodReturnValueHandler
 
handleValidationFailure(RepositoryConstraintViolationException, ServletServerHttpRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Send a 400 Bad Request in case of a validation failure.
hasAnnotation(Class<? extends Annotation>) - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Does this attribute have the given annotation on it?
hasAnnotation(Class<? extends Annotation>) - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
hasProperty(String, Object...) - Static method in class org.springframework.data.rest.core.util.BeanUtils
 
hasRepositoryFor(Class<?>) - Method in class org.springframework.data.rest.repository.RepositoryExporter
Is a Repository being exporter that supports this domain type?
hasRepositoryMetadataFor(String) - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Does a Repository exist for this name?
hasRepositoryMetadataFor(Class<?>) - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Is there a Repository responsible for this domain type?
hasResults() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
header(String, String) - Method in class org.springframework.data.rest.core.util.RestHelper
 
headers - Variable in class org.springframework.data.rest.core.util.RestHelper
 
httpMessageConverters() - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
httpMessageConverters(List<HttpMessageConverter>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 

I

idAttribute() - Method in interface org.springframework.data.rest.repository.EntityMetadata
The AttributeMetadata representing the ID of the entity.
idAttribute() - Method in class org.springframework.data.rest.repository.jpa.JpaEntityMetadata
 
invoke(String, Object, Object...) - Static method in class org.springframework.data.rest.core.util.BeanUtils
 
invoke(String, Object, Class<T>, Object...) - Static method in class org.springframework.data.rest.core.util.BeanUtils
 
isCollectionLike() - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Can this attribute look like a Collection?
isCollectionLike() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
isDumpErrors() - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Should exception messages be logged to the body of the response in a JSON object?
isFluentBean(Class<?>) - Static method in class org.springframework.data.rest.core.util.FluentBeanUtils
Determines whether a given type looks like a fluent bean.
isHandler(Class<?>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 
isMapLike() - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Can this attribute look like a Map?
isMapLike() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
isNullable() - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Whether this attribute can be nulled or not.
isNullable() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
ISO_8859_1 - Static variable in class org.springframework.data.rest.webmvc.MediaTypes
 
isSetLike() - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Can this attribute look like a Set?
isSetLike() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 

J

jacksonModule - Variable in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
jacksonModule() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
A special Jackson Module implementation that configures converters for entities.
JacksonUtil - Class in org.springframework.data.rest.webmvc.json
Utility class for creating a custom-configured MappingJacksonHttpMessageConverter that has our own serializers and MediaType mappings on it.
JpaAttributeMetadata - Class in org.springframework.data.rest.repository.jpa
Implementation of AttributeMetadata for JPA.
JpaAttributeMetadata(EntityType<?>, Attribute) - Constructor for class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
JpaEntityMetadata - Class in org.springframework.data.rest.repository.jpa
Implementation of EntityMetadata for JPA.
JpaEntityMetadata(Repositories, EntityType<?>) - Constructor for class org.springframework.data.rest.repository.jpa.JpaEntityMetadata
 
JpaRepositoryExporter - Class in org.springframework.data.rest.repository.jpa
Implementation of RepositoryExporter for exporting JPA Repository subinterfaces.
JpaRepositoryExporter() - Constructor for class org.springframework.data.rest.repository.jpa.JpaRepositoryExporter
 
jpaRepositoryExporter() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
Use the pre-defined JpaRepositoryExporter defined by the user or create a default one.
JpaRepositoryMetadata - Class in org.springframework.data.rest.repository.jpa
Implementation of RepositoryMetadata for JPA.
JpaRepositoryMetadata(String, Class<?>, Class<?>, Repositories, EntityManager) - Constructor for class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
JsonSchemaController - Class in org.springframework.data.rest.webmvc.json
A controller to output JSON schema based on Jackson's schema generator.
JsonSchemaController() - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchemaController
 
jsonSchemaController() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
 

K

keyType() - Method in interface org.springframework.data.rest.repository.AttributeMetadata
The type of this map's key, if it's map-like.
keyType() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 

L

linkedAttributes() - Method in interface org.springframework.data.rest.repository.EntityMetadata
A Map of linked attribute metadata keyed on the attribute's name.
linkedAttributes() - Method in class org.springframework.data.rest.repository.jpa.JpaEntityMetadata
 
linkedEntity(ServletServerHttpRequest, URI, String, String, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Retrieve a linked entity from a parent entity.
LinkSaveEvent - Class in org.springframework.data.rest.repository.context
Base class for RepositoryEvents that deal with saving/updating or deleting a linked object.
LinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.repository.context.LinkSaveEvent
 
listEntities(ServletServerHttpRequest, PagingAndSorting, URI, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
List entities of a CrudRepository by invoking CrudRepository.findAll() and applying any available paging parameters.
listQueryMethods(ServletServerHttpRequest, URI, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
List the URIs of query methods found on this repository interface.
listRepositories(ServletServerHttpRequest, URI) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
List available CrudRepositorys that are being exported.
LOCATION - Static variable in class org.springframework.data.rest.webmvc.RepositoryRestController
 
lookupHandlerMethod(String, HttpServletRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 

M

mappingHttpMessageConverter() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
Special Repository-aware HttpMessageConverter that can deal with entities and links.
MediaTypes - Class in org.springframework.data.rest.webmvc
 
merge(URI, URI...) - Static method in class org.springframework.data.rest.core.util.UriUtils
Merge the components of these URIs into a single URI.
metadata(Class<?>) - Static method in class org.springframework.data.rest.core.util.FluentBeanUtils
Interrogate a bean and collect FluentBeanUtils.Metadata on it.
method() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethod
 
method() - Method in class org.springframework.data.rest.repository.invoke.RepositoryQueryMethod
The Method to invoke.
MethodParameterConversionService - Class in org.springframework.data.rest.repository.invoke
A special conversion service that can convert MethodParameters and their values to a target type, taking into account any specific conversion instructions annotated on the parameter with ConvertWith.
MethodParameterConversionService(ConversionService) - Constructor for class org.springframework.data.rest.repository.invoke.MethodParameterConversionService
 
Methods - Class in org.springframework.data.rest.repository.support
 
modules - Variable in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 

N

name() - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Name of the attribute.
name() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
name() - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
name() - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
The name this Repository is exported under.
NAME_DISCOVERER - Static variable in class org.springframework.data.rest.repository.support.Methods
 

O

onAfterDelete(Object) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
Override this method if you are interested in afterDelete events.
onAfterDelete(Object) - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
 
onAfterLinkDelete(Object, Object) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
Override this method if you are interested in afterLinkDelete events.
onAfterLinkSave(Object, Object) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
Override this method if you are interested in afterLinkSave events.
onAfterLinkSave(Object, Object) - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
 
onAfterSave(Object) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
Override this method if you are interested in afterSave events.
onAfterSave(Object) - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
 
onApplicationEvent(RepositoryEvent) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
 
onApplicationEvent(RepositoryEvent) - Method in class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
 
onBeforeDelete(Object) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
Override this method if you are interested in beforeDelete events.
onBeforeDelete(Object) - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
 
onBeforeLinkDelete(Object, Object) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
Override this method if you are interested in beforeLinkDelete events.
onBeforeLinkSave(Object, Object) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
Override this method if you are interested in beforeLinkSave events.
onBeforeLinkSave(Object, Object) - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
 
onBeforeSave(Object) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
Override this method if you are interested in beforeSave events.
onBeforeSave(Object) - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
 
org.springframework.data.rest.core - package org.springframework.data.rest.core
 
org.springframework.data.rest.core.convert - package org.springframework.data.rest.core.convert
 
org.springframework.data.rest.core.util - package org.springframework.data.rest.core.util
 
org.springframework.data.rest.repository - package org.springframework.data.rest.repository
 
org.springframework.data.rest.repository.annotation - package org.springframework.data.rest.repository.annotation
 
org.springframework.data.rest.repository.context - package org.springframework.data.rest.repository.context
 
org.springframework.data.rest.repository.invoke - package org.springframework.data.rest.repository.invoke
 
org.springframework.data.rest.repository.jpa - package org.springframework.data.rest.repository.jpa
 
org.springframework.data.rest.repository.support - package org.springframework.data.rest.repository.support
 
org.springframework.data.rest.webmvc - package org.springframework.data.rest.webmvc
 
org.springframework.data.rest.webmvc.json - package org.springframework.data.rest.webmvc.json
 

P

pageable() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethod
 
PagingAndSorting - Class in org.springframework.data.rest.webmvc
Implementation of Pageable that is URL-aware.
PagingAndSorting(RepositoryRestConfiguration, PageRequest) - Constructor for class org.springframework.data.rest.webmvc.PagingAndSorting
 
PagingAndSortingMethodArgumentResolver - Class in org.springframework.data.rest.webmvc
HandlerMethodArgumentResolver implementation responsible for inspecting a request for page and sort parameters for use by the repositories.
PagingAndSortingMethodArgumentResolver() - Constructor for class org.springframework.data.rest.webmvc.PagingAndSortingMethodArgumentResolver
 
pagingAndSortingMethodArgumentResolver() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
 
PagingMetadata - Class in org.springframework.data.rest.repository
 
PagingMetadata() - Constructor for class org.springframework.data.rest.repository.PagingMetadata
 
PagingMetadata(int, int, int, long) - Constructor for class org.springframework.data.rest.repository.PagingMetadata
 
paramNames() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethod
 
paramNames() - Method in class org.springframework.data.rest.repository.invoke.RepositoryQueryMethod
The parameter names as pulled from the Param annotations.
paramTypes() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethod
 
paramTypes() - Method in class org.springframework.data.rest.repository.invoke.RepositoryQueryMethod
The method's parameter types.
path(URI) - Static method in class org.springframework.data.rest.core.util.UriUtils
Just the path portion of the URI, but with any trailing slash "/" removed.
persistenceAnnotationBeanPostProcessor() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
For getting access to the EntityManagerFactory.
propertyOfEntity(ServletServerHttpRequest, URI, String, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Retrieve the property of an entity.

Q

query(ServletServerHttpRequest, PagingAndSorting, URI, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Invoke a custom query method on a repository and page the results based on URL parameters supplied by the user or the default page size.
queryMethod(String) - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
queryMethod(String) - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
Get a RepositoryQueryMethod by key.
queryMethods() - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
queryMethods() - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
Get a Map of all RepositoryQueryMethods, keyed by name.

R

readInternal(Class<?>, HttpInputMessage) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
readInternal(Class<?>, HttpInputMessage) - Method in class org.springframework.data.rest.webmvc.UriListHttpMessageConverter
 
refresh() - Method in class org.springframework.data.rest.repository.RepositoryExporter
 
reject(String, Object[], String) - Method in class org.springframework.data.rest.repository.ValidationErrors
 
rejectValue(String, String, Object[], String) - Method in class org.springframework.data.rest.repository.ValidationErrors
 
rel() - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
rel() - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
Get the string value to be used as part of a link rel attribute.
repositories - Variable in class org.springframework.data.rest.repository.RepositoryExporter
 
repository() - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
repository() - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
The Repository instance.
RepositoryAwareJacksonModule - Class in org.springframework.data.rest.webmvc.json
Special implementation of a Jackson Module to handle properly serializing and deserializing entities with links.
RepositoryAwareJacksonModule() - Constructor for class org.springframework.data.rest.webmvc.json.RepositoryAwareJacksonModule
 
RepositoryAwareMappingHttpMessageConverter - Class in org.springframework.data.rest.webmvc
 
RepositoryAwareMappingHttpMessageConverter() - Constructor for class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
repositoryClass() - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
repositoryClass() - Method in interface org.springframework.data.rest.repository.RepositoryMetadata
The Class of the Repository subinterface.
RepositoryConstraintViolationException - Exception in org.springframework.data.rest.repository
 
RepositoryConstraintViolationException(Errors) - Constructor for exception org.springframework.data.rest.repository.RepositoryConstraintViolationException
 
RepositoryEvent - Class in org.springframework.data.rest.repository.context
Abstract base class for events emitted by the REST exporter.
RepositoryEvent(Object) - Constructor for class org.springframework.data.rest.repository.context.RepositoryEvent
 
RepositoryEventHandler - Annotation Type in org.springframework.data.rest.repository.annotation
Advertises classes annotated with this that they are event handlers.
RepositoryExporter<R extends RepositoryExporter<? super R,M,E>,M extends RepositoryMetadata<E>,E extends EntityMetadata<? extends AttributeMetadata>> - Class in org.springframework.data.rest.repository
Abstract class that contains the basic functionality that any exporter will need to export a Repository implementation.
RepositoryExporter() - Constructor for class org.springframework.data.rest.repository.RepositoryExporter
 
repositoryExporterHandlerAdapter() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
Special HandlerAdapter that only recognizes handler methods defined in the RepositoryRestController class.
repositoryExporterHandlerMapping() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
Special HandlerMapping that only recognizes handler methods defined in the RepositoryRestController class.
repositoryExporters - Variable in class org.springframework.data.rest.repository.RepositoryExporterSupport
 
repositoryExporters() - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Get a List of RepositoryExporters.
repositoryExporters(List<RepositoryExporter>) - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Set the List of RepositoryExporters.
repositoryExporters(RepositoryExporter...) - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Set the RepositoryExporters to use.
repositoryExporters - Variable in class org.springframework.data.rest.webmvc.json.RepositoryAwareJacksonModule
 
repositoryExporters - Variable in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
RepositoryExporterSupport<S extends RepositoryExporterSupport<? super S>> - Class in org.springframework.data.rest.repository
Abstract class used as a helper for those classes that need access to the exported repositories.
RepositoryExporterSupport() - Constructor for class org.springframework.data.rest.repository.RepositoryExporterSupport
 
repositoryMetadata - Variable in class org.springframework.data.rest.repository.RepositoryExporter
 
RepositoryMetadata<E extends EntityMetadata<? extends AttributeMetadata>> - Interface in org.springframework.data.rest.repository
Encapsulates necessary metadata about a Repository.
repositoryMetadataFor(Class<?>) - Method in class org.springframework.data.rest.repository.RepositoryExporter
Get the RepositoryMetadata for the Repository responsible for this domain type.
repositoryMetadataFor(String) - Method in class org.springframework.data.rest.repository.RepositoryExporter
Get the RepositoryMetadata for the Repository exported under the given name.
repositoryMetadataFor(String) - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Find RepositoryMetadata for the Repository exported under this name.
repositoryMetadataFor(Class<?>) - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Find the RepositoryMetadata for the Repository responsible for the given domain type.
repositoryMetadataFor(AttributeMetadata) - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Find the RepositoryMetadata for an attribute of an entity which is possibly managed by a Repository.
RepositoryMethod - Class in org.springframework.data.rest.repository.invoke
 
RepositoryMethod(Method) - Constructor for class org.springframework.data.rest.repository.invoke.RepositoryMethod
 
RepositoryMethodResponse - Class in org.springframework.data.rest.repository.invoke
JSON-serializable response for returns that have a mix of results and links.
RepositoryMethodResponse() - Constructor for class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
repositoryNames() - Method in class org.springframework.data.rest.repository.RepositoryExporter
Get the list of Repository names being exported.
RepositoryNotFoundException - Exception in org.springframework.data.rest.repository
 
RepositoryNotFoundException(String) - Constructor for exception org.springframework.data.rest.repository.RepositoryNotFoundException
 
RepositoryNotFoundException(String, Throwable) - Constructor for exception org.springframework.data.rest.repository.RepositoryNotFoundException
 
RepositoryQueryMethod - Class in org.springframework.data.rest.repository.invoke
Represents a query method on a repository interface.
RepositoryQueryMethod(Method) - Constructor for class org.springframework.data.rest.repository.invoke.RepositoryQueryMethod
 
repositoryRestConfig - Variable in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
Main configuration for the REST exporter.
RepositoryRestConfiguration - Class in org.springframework.data.rest.webmvc
Central configuration helper class for the REST exporter.
RepositoryRestConfiguration() - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
 
RepositoryRestController - Class in org.springframework.data.rest.webmvc
Exports Spring Data Repositories over the web in a RESTful manner that is HATEOAS friendly.
RepositoryRestController() - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestController
 
repositoryRestController() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
The main REST exporter Spring MVC controller.
RepositoryRestExporterServlet - Class in org.springframework.data.rest.webmvc
Convenience DispatcherServlet that sets the 'contextClass' and 'contextConfigLocation' properties to the correct values for using the REST exporter in a web.xml file.
RepositoryRestExporterServlet() - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestExporterServlet
 
RepositoryRestExporterServlet(WebApplicationContext) - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestExporterServlet
 
RepositoryRestHandlerAdapter - Class in org.springframework.data.rest.webmvc
RequestMappingHandlerAdapter implementation that adds a couple argument resolvers for controller method parameters used in the REST exporter controller.
RepositoryRestHandlerAdapter() - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
 
RepositoryRestHandlerMapping - Class in org.springframework.data.rest.webmvc
RequestMappingHandlerMapping implementation that will only find a handler method if a Repository is exported under that URL path segment.
RepositoryRestHandlerMapping() - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 
RepositoryRestMvcConfiguration - Class in org.springframework.data.rest.webmvc
Main Spring MVC configuration for the REST exporter.
RepositoryRestMvcConfiguration() - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
 
resolve(URI, URI) - Method in interface org.springframework.data.rest.core.UriResolver
Take a URI and resolve it to an actual object.
resolve(URI, URI) - Method in class org.springframework.data.rest.repository.UriToDomainObjectUriResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.BaseUriMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.PagingAndSortingMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
 
resource(T) - Static method in class org.springframework.data.rest.core.util.RestHelper
 
ResourceProcessorHandlerMethodReturnValueHandler - Class in org.springframework.data.rest.webmvc
HandlerMethodReturnValueHandler to post-process the objects returned from controller methods using the configured ResourceProcessors.
ResourceProcessorHandlerMethodReturnValueHandler(HandlerMethodReturnValueHandler, List<ResourceProcessor<?>>) - Constructor for class org.springframework.data.rest.webmvc.ResourceProcessorHandlerMethodReturnValueHandler
ResourceProcessorInvokingHandlerAdapter - Class in org.springframework.data.rest.webmvc
Special RequestMappingHandlerAdapter that tweaks the HandlerMethodReturnValueHandlerComposite to be proxied by a ResourceProcessorHandlerMethodReturnValueHandler which will invoke the ResourceProcessors found in the application context and eventually delegate to the originally configured HandlerMethodReturnValueHandler.
ResourceProcessorInvokingHandlerAdapter() - Constructor for class org.springframework.data.rest.webmvc.ResourceProcessorInvokingHandlerAdapter
Empty constructor to setup a ResourceProcessorInvokingHandlerAdapter.
ResourceProcessorInvokingHandlerAdapter(RequestMappingHandlerAdapter) - Constructor for class org.springframework.data.rest.webmvc.ResourceProcessorInvokingHandlerAdapter
Copy constructor to copy configuration of HttpMessageConverters, WebBindingInitializer, custom HandlerMethodArgumentResolvers and custom HandlerMethodReturnValueHandlers.
RestHelper<T> - Class in org.springframework.data.rest.core.util
 
RestResource - Annotation Type in org.springframework.data.rest.repository.annotation
Annotate a Repository with this to influence how it is exported and what the value of the rel attribute will be in links.

S

schemaForRepository(URI, String) - Method in class org.springframework.data.rest.webmvc.json.JsonSchemaController
 
SELF - Static variable in class org.springframework.data.rest.webmvc.RepositoryRestController
 
serverHttpRequestMethodArgumentResolver() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
 
ServerHttpRequestMethodArgumentResolver - Class in org.springframework.data.rest.webmvc
 
ServerHttpRequestMethodArgumentResolver() - Constructor for class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
 
set(String, Object, Object) - Static method in class org.springframework.data.rest.core.util.FluentBeanUtils
Set the property of a fluent bean.
set(Object, Object) - Method in interface org.springframework.data.rest.repository.AttributeMetadata
Set the path of this attribute.
set(Object, Object) - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.data.rest.repository.RepositoryExporter
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
setBasePackage(String) - Method in class org.springframework.data.rest.repository.context.AnnotatedHandlerRepositoryEventListener
Set the base package in which to search for event handlers.
setBaseUri(URI) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
The base URI against which the exporter should calculate its links.
setConversionServices(List<ConversionService>) - Method in class org.springframework.data.rest.repository.UriToDomainObjectUriResolver
 
setConversionServices(List<ConversionService>) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
setConversionServices(List<ConversionService>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Add these ConversionServices to the list of those being delegated to by the internal DelegatingConversionService.
setCurrentPage(int) - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
setCustomConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the list of custom HttpMessageConverters to be used to convert user input to objects and visa versa.
setDefaultMediaType(MediaType) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the MediaType to use as a default when none is specified.
setDefaultPageSize(int) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the default size of Pageables.
setDomainObjectResolver(UriToDomainObjectUriResolver) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
setDomainObjectResolver(UriToDomainObjectUriResolver) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
setDomainTypeMappings(Map<Class<?>, Class<?>>) - Method in class org.springframework.data.rest.repository.RepositoryExporter
 
setDomainTypeToRepositoryMappings(Map<Class<?>, Class<?>>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the list of domain type to repository implementation mappings that will help the exporters narrow down the correct Repository to return for a given domain type.
setDumpErrors(boolean) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set whether exception messages should be logged to the body of the response as a JSON object.
setEntityManager(EntityManager) - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryExporter
 
setExportOnlyTheseClasses(List<String>) - Method in class org.springframework.data.rest.repository.RepositoryExporter
Set the class names of only those Repositories you want exported.
setHttpMessageConverters(List<HttpMessageConverter>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Set the list of available HttpMessageConverters, clobbering the defaults.
setJsonpOnErrParamName(String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates the name of the javascript function to use as the error handler JSONP wrapper for errors.
setJsonpParamName(String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates the name of the javascript function to use as the JSONP wrapper for results.
setLimitParamName(String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates how many results to return at once.
setLinks(List<Link>) - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
setMappingHttpMessageConverter(RepositoryAwareMappingHttpMessageConverter) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
 
setModules(List<Module>) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
setNumber(int) - Method in class org.springframework.data.rest.repository.PagingMetadata
 
setPageParamName(String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates what page to return.
setRepositoryExporters(List<RepositoryExporter>) - Method in class org.springframework.data.rest.repository.context.AbstractRepositoryEventListener
 
setRepositoryExporters(List<RepositoryExporter>) - Method in class org.springframework.data.rest.repository.RepositoryExporterSupport
Set the List of RepositoryExporters.
setRepositoryExporters(List<RepositoryExporter>) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
setRepositoryRestConfig(RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Set the configuration this controller will use to inflence its behavior.
setResults(List<Object>) - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
setSize(int) - Method in class org.springframework.data.rest.repository.PagingMetadata
 
setSortParamName(String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates what direction to sort results.
setters() - Method in class org.springframework.data.rest.core.util.FluentBeanUtils.Metadata
 
setTotalCount(long) - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
setTotalElements(long) - Method in class org.springframework.data.rest.repository.PagingMetadata
 
setTotalPages(int) - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethodResponse
 
setTotalPages(int) - Method in class org.springframework.data.rest.repository.PagingMetadata
 
setupModule(Module.SetupContext) - Method in class org.springframework.data.rest.webmvc.json.RepositoryAwareJacksonModule
 
setValidators(Map<String, Collection<Validator>>) - Method in class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
Assign a Map of Validators that are assigned to the various RepositoryEvents.
sortable() - Method in class org.springframework.data.rest.repository.invoke.RepositoryMethod
 
status - Variable in class org.springframework.data.rest.core.util.RestHelper
 
status(HttpStatus) - Method in class org.springframework.data.rest.core.util.RestHelper
 
StringToUUIDConverter - Class in org.springframework.data.rest.core.convert
 
StringToUUIDConverter() - Constructor for class org.springframework.data.rest.core.convert.StringToUUIDConverter
 
supports(Class<?>) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
supports(Class<?>) - Method in class org.springframework.data.rest.webmvc.UriListHttpMessageConverter
 
supportsInternal(HandlerMethod) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.BaseUriMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.PagingAndSortingMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
 
supportsReturnType(MethodParameter) - Method in class org.springframework.data.rest.webmvc.ResourceProcessorHandlerMethodReturnValueHandler
 

T

tail(URI, URI) - Static method in class org.springframework.data.rest.core.util.UriUtils
The very last segment of the URI.
toMethodName() - Method in enum org.springframework.data.rest.repository.invoke.CrudMethod
Turn this enum into a method name.
toString() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
toString() - Method in class org.springframework.data.rest.repository.jpa.JpaEntityMetadata
 
toString() - Method in class org.springframework.data.rest.repository.jpa.JpaRepositoryMetadata
 
type() - Method in interface org.springframework.data.rest.repository.AttributeMetadata
The type of this attribute.
type() - Method in interface org.springframework.data.rest.repository.EntityMetadata
The class of this entity.
type() - Method in class org.springframework.data.rest.repository.jpa.JpaAttributeMetadata
 
type() - Method in class org.springframework.data.rest.repository.jpa.JpaEntityMetadata
 

U

updatePropertyOfEntity(ServletServerHttpRequest, URI, String, String, String) - Method in class org.springframework.data.rest.webmvc.RepositoryRestController
Update the property of an entity if that property is also managed by a CrudRepository.
URI_LIST - Static variable in class org.springframework.data.rest.webmvc.MediaTypes
 
UriListHttpMessageConverter - Class in org.springframework.data.rest.webmvc
A special HttpMessageConverter that can take various input formats and produce a plain-text list of URIs (or read the same).
UriListHttpMessageConverter() - Constructor for class org.springframework.data.rest.webmvc.UriListHttpMessageConverter
 
UriResolver<T> - Interface in org.springframework.data.rest.core
Implementations of this interface are responsible for turning URIs into real objects.
UriToDomainObjectUriResolver - Class in org.springframework.data.rest.repository
 
UriToDomainObjectUriResolver() - Constructor for class org.springframework.data.rest.repository.UriToDomainObjectUriResolver
 
UriUtils - Class in org.springframework.data.rest.core.util
Helper methods for dealing with URIs.
USER_METHODS - Static variable in class org.springframework.data.rest.repository.support.Methods
 
UUIDToStringConverter - Class in org.springframework.data.rest.core.convert
 
UUIDToStringConverter() - Constructor for class org.springframework.data.rest.core.convert.UUIDToStringConverter
 

V

ValidatingRepositoryEventListener - Class in org.springframework.data.rest.repository.context
ApplicationListener implementation that dispatches RepositoryEvents to a specific Validator.
ValidatingRepositoryEventListener() - Constructor for class org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener
 
validatingRepositoryEventListener - Variable in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
ApplicationListener implementation for invoking Validator instances assigned to specific domain types.
validatingRepositoryEventListener() - Method in class org.springframework.data.rest.webmvc.RepositoryRestMvcConfiguration
Use the pre-defined ValidatingRepositoryEventListener defined by the user or create a default one.
ValidationErrors - Class in org.springframework.data.rest.repository
An Errors implementation for use in the events mechanism of Spring Data REST.
ValidationErrors(String, Object, EntityMetadata) - Constructor for class org.springframework.data.rest.repository.ValidationErrors
 
validBaseUri(URI, URI) - Static method in class org.springframework.data.rest.core.util.UriUtils
Is the given URI based on the "base" URI?
valueOf(String) - Static method in enum org.springframework.data.rest.repository.invoke.CrudMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.data.rest.repository.invoke.CrudMethod
Returns an array containing the constants of this enum type, in the order they are declared.
VERBOSE_JSON - Static variable in class org.springframework.data.rest.webmvc.MediaTypes
 
versionAttribute() - Method in interface org.springframework.data.rest.repository.EntityMetadata
The AttributeMetadata representing the version of the entity, if applicable.
versionAttribute() - Method in class org.springframework.data.rest.repository.jpa.JpaEntityMetadata
 

W

wrap(Object, RepositoryMetadata, URI) - Static method in class org.springframework.data.rest.webmvc.EntityResource
 
writeInternal(Object, HttpOutputMessage) - Method in class org.springframework.data.rest.webmvc.RepositoryAwareMappingHttpMessageConverter
 
writeInternal(Object, HttpOutputMessage) - Method in class org.springframework.data.rest.webmvc.UriListHttpMessageConverter
 
A B C D E F G H I J K L M N O P Q R S T U V W 
Spring Data REST 1.0.0.RELEASE API