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

A

AbstractRepositoryEventListener<T> - Class in org.springframework.data.rest.core.event
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.core.event.AbstractRepositoryEventListener
 
addAllErrors(Errors) - Method in class org.springframework.data.rest.core.ValidationErrors
 
addItem(P) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.ArrayProperty
 
addProperty(String, JsonSchema.Property) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
addResourceMappingFor(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
addResourceMappings(Map<String, ResourceMapping>) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
addValidator(String, Validator) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
Add a Validator that will be triggered on the given event.
AfterCreateEvent - Class in org.springframework.data.rest.core.event
Event that is emitted after a new entity is saved.
AfterCreateEvent(Object) - Constructor for class org.springframework.data.rest.core.event.AfterCreateEvent
 
AfterDeleteEvent - Class in org.springframework.data.rest.core.event
Emitted after the entity is deleted from the repository.
AfterDeleteEvent(Object) - Constructor for class org.springframework.data.rest.core.event.AfterDeleteEvent
 
AfterLinkDeleteEvent - Class in org.springframework.data.rest.core.event
Emitted after a link to a related object is deleted from the parent.
AfterLinkDeleteEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.AfterLinkDeleteEvent
 
AfterLinkSaveEvent - Class in org.springframework.data.rest.core.event
Emitted after saving a linked object to its parent in the repository.
AfterLinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.AfterLinkSaveEvent
 
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.core.event
Emitted after a save to the repository.
AfterSaveEvent(Object) - Constructor for class org.springframework.data.rest.core.event.AfterSaveEvent
 
AnnotatedHandlerBeanPostProcessor - Class in org.springframework.data.rest.core.event
 
AnnotatedHandlerBeanPostProcessor() - Constructor for class org.springframework.data.rest.core.event.AnnotatedHandlerBeanPostProcessor
 
annotatedHandlerBeanPostProcessor() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
BeanPostProcessor to turn beans annotated as org.springframework.data.rest.repository.annotation.RepositoryEventHandlers.
apply(S) - Method in interface org.springframework.data.rest.core.util.Function
 

B

BaseUriLinkBuilder - Class in org.springframework.data.rest.webmvc.support
 
BaseUriLinkBuilder(UriComponentsBuilder) - Constructor for class org.springframework.data.rest.webmvc.support.BaseUriLinkBuilder
 
BeforeCreateEvent - Class in org.springframework.data.rest.core.event
Event emitted before an entity is saved for the first time.
BeforeCreateEvent(Object) - Constructor for class org.springframework.data.rest.core.event.BeforeCreateEvent
 
BeforeDeleteEvent - Class in org.springframework.data.rest.core.event
Emitted before an entity is deleted from the repository.
BeforeDeleteEvent(Object) - Constructor for class org.springframework.data.rest.core.event.BeforeDeleteEvent
 
BeforeLinkDeleteEvent - Class in org.springframework.data.rest.core.event
Emitted before a link to a related object is deleted from the parent.
BeforeLinkDeleteEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.BeforeLinkDeleteEvent
 
BeforeLinkSaveEvent - Class in org.springframework.data.rest.core.event
Emitted before a linked object is saved to the repository.
BeforeLinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.BeforeLinkSaveEvent
 
BeforeSaveEvent - Class in org.springframework.data.rest.core.event
Emitted before an entity is saved into the repository.
BeforeSaveEvent(Object) - Constructor for class org.springframework.data.rest.core.event.BeforeSaveEvent
 
buildUri(URI, String...) - Static method in class org.springframework.data.rest.core.util.UriUtils
Create a new URI out of the components.

C

canRead(Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
canWrite(Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
CollectionResourceMapping - Interface in org.springframework.data.rest.core.mapping
A custom resource mapping for collection resources.
config() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Main configuration for the REST exporter.
configureConversionService(ConfigurableConversionService) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Override this method to add your own converters.
configureExceptionHandlerExceptionResolver(ExceptionHandlerExceptionResolver) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
configureHttpMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Configure the available HttpMessageConverters by adding your own.
configureJacksonObjectMapper(ObjectMapper) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Configure the Jackson ObjectMapper directly.
configureObjectMapper(ObjectMapper) - Static method in class org.springframework.data.rest.webmvc.json.Jackson2DatatypeHelper
 
configureRepositoryRestConfiguration(RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Override this method to add additional configuration.
configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Override this method to add validators manually.
ConstraintViolationExceptionMessage - Class in org.springframework.data.rest.webmvc.support
 
ConstraintViolationExceptionMessage(ConstraintViolationException, MessageSource, Locale) - Constructor for class org.springframework.data.rest.webmvc.support.ConstraintViolationExceptionMessage
 
ConstraintViolationMessage - Class in org.springframework.data.rest.webmvc.support
A helper class to encapsulate ConstraintViolation errors.
ConstraintViolationMessage(ConstraintViolation<?>, MessageSource, Locale) - Constructor for class org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
 
ControllerUtils - Class in org.springframework.data.rest.webmvc
 
ControllerUtils() - Constructor for class org.springframework.data.rest.webmvc.ControllerUtils
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.UriToEntityConverter
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.util.UUIDConverter
 
convert(Class<?>) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
 
create(URI) - Static method in class org.springframework.data.rest.webmvc.support.BaseUriLinkBuilder
 
createNewInstance(UriComponentsBuilder) - Method in class org.springframework.data.rest.webmvc.support.BaseUriLinkBuilder
 
createNewInstance(UriComponentsBuilder) - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
CrudMethod - Enum in org.springframework.data.rest.core.invoke
Represents one of the CRUD methods supported by PagingAndSortingRepository or CrudRepository.

D

defaultConversionService() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
defaultFor(PersistentProperty<?>, String) - Static method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
defaultFor(String) - Static method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
defaultForCollection(Class<?>) - Static method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
defaultForMethod(RepositoryMethodResourceMapping) - Static method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
defaultMessageConverters() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
DefaultRepositoryInvokerFactory - Class in org.springframework.data.rest.core.invoke
Default implementation of RepositoryInvokerFactory to inspect the requested repository type and create a matching RepositoryInvoker that suits the repository best.
DefaultRepositoryInvokerFactory(Repositories, ConversionService) - Constructor for class org.springframework.data.rest.core.invoke.DefaultRepositoryInvokerFactory
Description - Annotation Type in org.springframework.data.rest.core.annotation
Annotation to descibe semantics of a resource.
domainClassConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
DomainObjectMerger - Class in org.springframework.data.rest.core.support
Component to be able to merge the first level of two objects.
DomainObjectMerger(Repositories, ConversionService) - Constructor for class org.springframework.data.rest.core.support.DomainObjectMerger
Creates a new DomainObjectMerger for the given Repositories and ConversionService.
domainObjectMerger() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
For merging incoming objects materialized from JSON with existing domain objects loaded from the repository.
DomainObjectMerger.NullHandlingPolicy - Enum in org.springframework.data.rest.core.support
Strategy to express whether null values should be ignored or set on the target domain object.

E

EMPTY_RESOURCE_LIST - Static variable in class org.springframework.data.rest.webmvc.ControllerUtils
 
entityLinks() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
A special EntityLinks implementation that takes repository and current configuration into account when generating links.
equals(Object) - Method in class org.springframework.data.rest.core.Path
 
ExceptionEvent - Class in org.springframework.data.rest.core.event
An event to encapsulate an exception occurring anywhere within the REST exporter.
ExceptionEvent(Throwable) - Constructor for class org.springframework.data.rest.core.event.ExceptionEvent
 
exceptionHandlerExceptionResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Bean for looking up methods annotated with ExceptionHandler.
ExceptionMessage - Class in org.springframework.data.rest.webmvc.support
A helper that renders an Exception JSON-friendly.
ExceptionMessage(Throwable) - Constructor for class org.springframework.data.rest.webmvc.support.ExceptionMessage
 
exportsMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.ResourceMappings
Returns whether we have a ResourceMapping for the given type and it is exported.
exportsTopLevelResourceFor(String) - Method in class org.springframework.data.rest.core.mapping.ResourceMappings
Returns whether we export a top-level resource for the given path.
exposeIdsFor(Class<?>...) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the list of domain types for which we will expose the ID value as a normal property.
exposesDelete() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository exposes the delete method.
exposesFindAll() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository exposes the method to find all objects.
exposesFindOne() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository exposes the method to find a single object.
exposesSave() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository exposes the save method.
extendInterceptors(List<Object>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 

F

findExported(Class<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findExported(Method) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findPath(Class<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findPath(Method) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findRel(Class<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findRel(Method) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
findRepositoryMappingForPath(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
 
findTypeForPath(String) - Method in class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
formatRel(RepositoryRestConfiguration, RepositoryInformation, PersistentProperty<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
fromMethod(Method) - Static method in enum org.springframework.data.rest.core.invoke.CrudMethod
Get an enum from a Method.
Function<S,T> - Interface in org.springframework.data.rest.core.util
Simple function interface.

G

getArguments() - Method in class org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport
 
getArrayProperty(String) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
getBaseUri() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
The base URI against which the exporter should calculate its links.
getCause() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationExceptionMessage
 
getCause() - Method in class org.springframework.data.rest.webmvc.support.ExceptionMessage
 
getCodes() - Method in class org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport
 
getCollectionResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.RepositoryRelProvider
 
getCollectionResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.SimpleRelProvider
 
getContent() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
getConvertibleTypes() - Method in class org.springframework.data.rest.core.UriToEntityConverter
 
getConvertibleTypes() - Method in class org.springframework.data.rest.core.util.UUIDConverter
 
getConvertibleTypes() - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
 
getDefaultMediaType() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the MediaType to use as a default when none is specified.
getDefaultMessage() - Method in class org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport
 
getDefaultPageSize() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the default size of Pageables.
getDescription() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns the resource's description.
getDescription() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
getDescription() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
getDescription() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.Property
 
getDomainType() - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the domain type that is exposed through the resource.
getDomainType(Class<?>) - Static method in class org.springframework.data.rest.core.support.RepositoriesUtils
Resolves the domain type from the given type.
getDomainTypesResourceMappingConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the ResourceMappingConfiguration that is currently configured.
getEntity() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
 
getEntity() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
 
getErrors() - Method in exception org.springframework.data.rest.core.RepositoryConstraintViolationException
 
getErrors() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage
 
getException() - Method in class org.springframework.data.rest.core.event.ExceptionEvent
Get the source of this exception event.
getFieldErrors() - Method in class org.springframework.data.rest.core.ValidationErrors
 
getFieldValue(String) - Method in class org.springframework.data.rest.core.ValidationErrors
 
getGlobalErrors() - Method in class org.springframework.data.rest.core.ValidationErrors
 
getInterceptors() - Method in class org.springframework.data.rest.webmvc.support.JpaHelper
 
getInvalidValue() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
 
getInvalidValue() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
 
getInvokerFor(Class<?>) - Method in class org.springframework.data.rest.core.invoke.DefaultRepositoryInvokerFactory
 
getInvokerFor(Class<?>) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvokerFactory
Returns the RepositoryInvoker for a repository managing the given domain type.
getItemResourceDescription() - Method in interface org.springframework.data.rest.core.mapping.CollectionResourceMapping
Returns the ResourceDescription for the item resource.
getItemResourceRel() - Method in interface org.springframework.data.rest.core.mapping.CollectionResourceMapping
Returns the relation type pointing to the item resource within a collection.
getItemResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.RepositoryRelProvider
 
getItemResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.SimpleRelProvider
 
getItems() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.ArrayProperty
 
getLimitParamName() - Method in class org.springframework.data.rest.core.config.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.core.event.LinkSaveEvent
Get the linked object.
getMappedMethod(String) - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
Returns the method mapped to the given path.
getMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.ResourceMappings
Returns a ResourceMetadata for the given type if available.
getMappingFor(PersistentProperty<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the ResourceMapping for the given PersistentProperty or null if not managed.
getMaxPageSize() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the maximum size of pages.
getMessage() - Method in interface org.springframework.data.rest.core.mapping.ResourceDescription
Returns the description.
getMessage() - Method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
getMessage() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
 
getMessage() - Method in class org.springframework.data.rest.webmvc.support.ExceptionMessage
 
getMessage() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
 
getMessages() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationExceptionMessage
 
getMethod() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns the Method backing the resource.
getName() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
getNameForPath(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getObjectName() - Method in class org.springframework.data.rest.core.ValidationErrors
 
getOrder() - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
 
getPageParamName() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates what page to return.
getParameterNames() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns the names of the parameters the method exposes.
getPath() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getPath() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns the path the resource is exposed under.
getPath() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
getPersistentEntity() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource
 
getProperty() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
 
getProperty() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
 
getRel() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getRel() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns the relation for the resource exported.
getRel() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
getResourceMapping(RepositoryRestConfiguration, RepositoryInformation) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
getResourceMapping(RepositoryRestConfiguration, PersistentEntity<?, ?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
getResourceMappingFor(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getResourceMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
getResourceMappingForDomainType(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the ResourceMapping for a specific domain type.
getResourceMappingForRepository(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the ResourceMapping for a specific repository interface.
getResourceMappings() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
getSearchResourceMappings(Class<?>) - Method in class org.springframework.data.rest.core.mapping.ResourceMappings
Returns the ResourceMappings for the search resources of the given type.
getSearchResourceMappings() - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the SearchResourceMappings, i.e. the mappings for the search resource exposed for the current resource.
getSelfLinkFor(Object) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler
 
getSortParamName() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the name of the URL query string parameter that indicates what direction to sort results.
getSupportedMediaTypes() - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
getThis() - Method in class org.springframework.data.rest.webmvc.support.BaseUriLinkBuilder
 
getThis() - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
getType() - Method in interface org.springframework.data.rest.core.mapping.ResourceDescription
 
getType() - Method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
getType() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.Property
 

H

halJacksonHttpMessageConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
halObjectMapper() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
HandleAfterCreate - Annotation Type in org.springframework.data.rest.core.annotation
 
HandleAfterDelete - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the afterDelete event.
HandleAfterLinkDelete - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the afterLinkDelete event.
HandleAfterLinkSave - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the afterLinkSave event.
HandleAfterSave - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the afterSave event.
HandleBeforeCreate - Annotation Type in org.springframework.data.rest.core.annotation
 
HandleBeforeDelete - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the beforeDelete event.
HandleBeforeLinkDelete - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the beforeLinkDelete event.
HandleBeforeLinkSave - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the beforeLinkSave event.
HandleBeforeSave - Annotation Type in org.springframework.data.rest.core.annotation
Denotes a component that should handle the beforeSave event.
handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.data.rest.webmvc.ResourceProcessorHandlerMethodReturnValueHandler
 
handleValidationException(RuntimeException, MessageSource, Locale) - Method in class org.springframework.data.rest.webmvc.support.ValidationExceptionHandler
 
hasDeleteMethod() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository has a method to delete objects.
hasFindAllMethod() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository has a method to find all objects.
hasFindOneMethod() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository has a method to find a single object.
hashCode() - Method in class org.springframework.data.rest.core.Path
 
hasMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.ResourceMappings
Returns whether we have a ResourceMapping for the given type.
hasResourceMappingFor(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
hasResourceMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
hasResourceMappingForDomainType(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether there is a ResourceMapping for the given domain type.
hasResourceMappingForRepository(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether there is a ResourceMapping configured for this Repository class.
hasSaveMethod() - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvocationInformation
Returns whether the repository has a method to save objects.
hasTextExceptSlash(CharSequence) - Static method in class org.springframework.data.rest.core.support.ResourceStringUtils
Checks whether the given input contains actual text (slash excluded).
HttpMethodHandlerMethodArgumentResolver - Enum in org.springframework.data.rest.webmvc.support
HandlerMethodArgumentResolver to provide HttpMethod instances for innjection into MVC controller methods.
HttpRequestUtils - Class in org.springframework.data.rest.webmvc.support
Helper class to HttpServletRequest helpers.
HttpRequestUtils() - Constructor for class org.springframework.data.rest.webmvc.support.HttpRequestUtils
 

I

INSTANCE - Static variable in class org.springframework.data.rest.core.util.UUIDConverter
 
invokeDelete(Serializable) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeFindAll(Pageable) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeFindAll(Sort) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeFindOne(Serializable) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeQueryMethod(Method, Map<String, String[]>, Pageable, Sort) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
invokeSave(T) - Method in interface org.springframework.data.rest.core.invoke.RepositoryInvoker
 
isArrayProperty(String) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
isDefault() - Method in interface org.springframework.data.rest.core.mapping.ResourceDescription
Returns whether this is the default description.
isDefault() - Method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
isExported() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
isExported() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns whether the component shall be exported at all.
isExported(PersistentProperty<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns whether the given PersistentProperty is a managed resource and in fact exported.
isExported() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
isHandler(Class<?>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 
isIdExposedFor(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Should we expose the ID property for this domain type?
isManagedResource(PersistentProperty<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns whether the type of the given PersistentProperty is exposed as resource itself.
isMapped(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.ResourceMappings
 
isPagingResource() - Method in interface org.springframework.data.rest.core.mapping.ResourceMapping
Returns whether the resource is paging one.
isPagingResource() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
isRepositoryInterface(Class<?>) - Static method in class org.springframework.data.rest.core.support.RepositoriesUtils
 
isRequired() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.Property
 
isReturnBodyOnCreate() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether to return a response body after creating an entity.
isReturnBodyOnUpdate() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether to return a response body after updating an entity.
iterator() - Method in class org.springframework.data.rest.core.mapping.ResourceMappings
 
iterator() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 

J

Jackson2DatatypeHelper - Class in org.springframework.data.rest.webmvc.json
Helper class to register datatype modules based on their presence in the classpath.
Jackson2DatatypeHelper() - Constructor for class org.springframework.data.rest.webmvc.json.Jackson2DatatypeHelper
 
jacksonHttpMessageConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
The HttpMessageConverter used by Spring MVC to read and write JSON data.
jpaHelper() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
JpaHelper - Class in org.springframework.data.rest.webmvc.support
 
JpaHelper() - Constructor for class org.springframework.data.rest.webmvc.support.JpaHelper
 
JsonSchema - Class in org.springframework.data.rest.webmvc.json
Model class to render JSON schema documents.
JsonSchema(String, String) - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchema
 
JsonSchema.ArrayProperty - Class in org.springframework.data.rest.webmvc.json
 
JsonSchema.ArrayProperty(String, String, boolean) - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchema.ArrayProperty
 
JsonSchema.Property - Class in org.springframework.data.rest.webmvc.json
 
JsonSchema.Property(String, String, boolean) - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchema.Property
 
jsonSchemaConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Turns a domain class into a JsonSchema.

L

linkFor(Class<?>) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
 
linkFor(Class<?>, Object...) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
 
LinkSaveEvent - Class in org.springframework.data.rest.core.event
Base class for RepositoryEvents that deal with saving/updating or deleting a linked object.
LinkSaveEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.LinkSaveEvent
 
linkToCollectionResource(Class<?>) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
 
linkToSingleResource(Class<?>, Object) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
 
listRepositories() - Method in class org.springframework.data.rest.webmvc.RepositoryController
Lists all repositories exported by creating a link list pointing to resources exposing the repositories.
lookupHandlerMethod(String, HttpServletRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 

M

MapUtils - Class in org.springframework.data.rest.core.util
Helper methods to work with Maps.
MapUtils() - Constructor for class org.springframework.data.rest.core.util.MapUtils
 
matches(String) - Method in class org.springframework.data.rest.core.Path
Returns whether the given reference String matches the current Path.
matches(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.UriToEntityConverter
 
matches(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.core.util.UUIDConverter
 
matches(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
 
maybeAddAssociationLink(RepositoryLinkBuilder, ResourceMappings, PersistentProperty<?>, List<Link>) - Static method in class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module
 
merge(Object, Object, DomainObjectMerger.NullHandlingPolicy) - Method in class org.springframework.data.rest.core.support.DomainObjectMerger
Merges the given target object into the source one.
merge(Method, ResourceMapping) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
merge(Class<?>, ResourceMapping) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
MethodNotAllowedException - Exception in org.springframework.data.rest.webmvc
 
MethodNotAllowedException() - Constructor for exception org.springframework.data.rest.webmvc.MethodNotAllowedException
 
MethodResourceMapping - Interface in org.springframework.data.rest.core.mapping
A ResourceMapping that is backed by a Method.
Methods - Class in org.springframework.data.rest.core.support
 

N

NAME_DISCOVERER - Static variable in class org.springframework.data.rest.core.support.Methods
 

O

objectMapper() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
The Jackson ObjectMapper used internally.
onAfterCreate(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterCreate events.
onAfterCreate(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onAfterDelete(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterDelete events.
onAfterDelete(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onAfterLinkDelete(T, Object) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterLinkDelete events.
onAfterLinkSave(T, Object) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterLinkSave events.
onAfterLinkSave(Object, Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onAfterSave(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in afterSave events.
onAfterSave(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onApplicationEvent(RepositoryEvent) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
 
onApplicationEvent(RepositoryEvent) - Method in class org.springframework.data.rest.core.event.AnnotatedHandlerBeanPostProcessor
 
onBeforeCreate(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeCreate events.
onBeforeCreate(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onBeforeDelete(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeDelete events.
onBeforeDelete(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onBeforeLinkDelete(T, Object) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeLinkDelete events.
onBeforeLinkSave(T, Object) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeLinkSave events.
onBeforeLinkSave(Object, Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
onBeforeSave(T) - Method in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener
Override this method if you are interested in beforeSave events.
onBeforeSave(Object) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
 
org.springframework.data.rest.core - package org.springframework.data.rest.core
 
org.springframework.data.rest.core.annotation - package org.springframework.data.rest.core.annotation
 
org.springframework.data.rest.core.config - package org.springframework.data.rest.core.config
 
org.springframework.data.rest.core.event - package org.springframework.data.rest.core.event
 
org.springframework.data.rest.core.invoke - package org.springframework.data.rest.core.invoke
 
org.springframework.data.rest.core.mapping - package org.springframework.data.rest.core.mapping
 
org.springframework.data.rest.core.support - package org.springframework.data.rest.core.support
 
org.springframework.data.rest.core.util - package org.springframework.data.rest.core.util
 
org.springframework.data.rest.webmvc - package org.springframework.data.rest.webmvc
 
org.springframework.data.rest.webmvc.config - package org.springframework.data.rest.webmvc.config
 
org.springframework.data.rest.webmvc.convert - package org.springframework.data.rest.webmvc.convert
 
org.springframework.data.rest.webmvc.json - package org.springframework.data.rest.webmvc.json
 
org.springframework.data.rest.webmvc.support - package org.springframework.data.rest.webmvc.support
 

P

Path - Class in org.springframework.data.rest.core
Simple value object to build up (URI) paths.
Path(String) - Constructor for class org.springframework.data.rest.core.Path
Creates a new Path from the given String.
persistentEntityArgumentResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Reads incoming JSON into an entity.
persistentEntityJackson2Module() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Jackson module responsible for intelligently serializing and deserializing JSON that corresponds to an entity.
PersistentEntityJackson2Module - Class in org.springframework.data.rest.webmvc.json
Jackson 2 module to serialize and deserialize PersistentEntityResources.
PersistentEntityJackson2Module(ResourceMappings, Repositories, RepositoryRestConfiguration, UriToEntityConverter) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module
PersistentEntityResource<T> - Class in org.springframework.data.rest.webmvc
A Spring HATEOAS Resource subclass that holds a reference to the entity's PersistentEntity metadata.
PersistentEntityResource(PersistentEntity<?, ?>, T, Link...) - Constructor for class org.springframework.data.rest.webmvc.PersistentEntityResource
 
persistentEntityResourceAssembler() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
PersistentEntityResourceAssembler<T> - Class in org.springframework.data.rest.webmvc
 
PersistentEntityResourceAssembler(Repositories, EntityLinks) - Constructor for class org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler
PersistentEntityResourceHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc
PersistentEntityResourceHandlerMethodArgumentResolver(List<HttpMessageConverter<?>>, RootResourceInformationHandlerMethodArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.PersistentEntityResourceHandlerMethodArgumentResolver
PersistentEntityResourceProcessor - Class in org.springframework.data.rest.webmvc.support
 
PersistentEntityResourceProcessor(Repositories, List<ResourceProcessor<Resource<?>>>) - Constructor for class org.springframework.data.rest.webmvc.support.PersistentEntityResourceProcessor
 
PersistentEntityToJsonSchemaConverter - Class in org.springframework.data.rest.webmvc.json
 
PersistentEntityToJsonSchemaConverter(Repositories, ResourceMappings, MessageSourceAccessor) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
postProcessAfterInitialization(Object, String) - Method in class org.springframework.data.rest.core.event.AnnotatedHandlerBeanPostProcessor
 
postProcessBeforeInitialization(Object, String) - Method in class org.springframework.data.rest.core.event.AnnotatedHandlerBeanPostProcessor
 
process(PersistentEntityResource<?>) - Method in class org.springframework.data.rest.webmvc.support.PersistentEntityResourceProcessor
 

R

read(Class<? extends ResourceSupport>, HttpInputMessage) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
reject(String, Object[], String) - Method in class org.springframework.data.rest.core.ValidationErrors
 
rejectValue(String, String, Object[], String) - Method in class org.springframework.data.rest.core.ValidationErrors
 
removeLeadingSlash(String) - Static method in class org.springframework.data.rest.core.support.ResourceStringUtils
Returns a string without the leading slash, if any.
repoRequestArgumentResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
A convenience resolver that pulls together all the information needed to service a request.
repositories() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
RepositoriesUtils - Class in org.springframework.data.rest.core.support
 
RepositoriesUtils() - Constructor for class org.springframework.data.rest.core.support.RepositoriesUtils
 
RepositoryConstraintViolationException - Exception in org.springframework.data.rest.core
Exception that is thrown when a Spring Validator throws an error.
RepositoryConstraintViolationException(Errors) - Constructor for exception org.springframework.data.rest.core.RepositoryConstraintViolationException
 
RepositoryConstraintViolationExceptionMessage - Class in org.springframework.data.rest.webmvc.support
 
RepositoryConstraintViolationExceptionMessage(RepositoryConstraintViolationException, MessageSource, Locale) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage
 
RepositoryConstraintViolationExceptionMessage.ValidationError - Class in org.springframework.data.rest.webmvc.support
 
RepositoryConstraintViolationExceptionMessage.ValidationError(String, String, String, String) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
 
RepositoryController - Class in org.springframework.data.rest.webmvc
 
RepositoryController(PagedResourcesAssembler<Object>, PersistentEntityResourceAssembler<Object>, Repositories, EntityLinks, ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.RepositoryController
 
RepositoryEntityLinks - Class in org.springframework.data.rest.webmvc.support
EntityLinks implementation that is able to create Link for domain classes managed by Spring Data REST.
RepositoryEntityLinks(Repositories, ResourceMappings, RepositoryRestConfiguration, HateoasPageableHandlerMethodArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
Creates a new RepositoryEntityLinks.
RepositoryEvent - Class in org.springframework.data.rest.core.event
Abstract base class for events emitted by the REST exporter.
RepositoryEvent(Object) - Constructor for class org.springframework.data.rest.core.event.RepositoryEvent
 
RepositoryEventHandler - Annotation Type in org.springframework.data.rest.core.annotation
Advertises classes annotated with this that they are event handlers.
repositoryExporterHandlerAdapter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Special HandlerAdapter that only recognizes handler methods defined in the provided controller classes.
repositoryExporterHandlerMapping() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Special HandlerMapping that only recognizes handler methods defined in the provided controller classes.
RepositoryInvocationInformation - Interface in org.springframework.data.rest.core.invoke
Meta-information about the methods a repository exposes.
RepositoryInvoker - Interface in org.springframework.data.rest.core.invoke
 
RepositoryInvokerFactory - Interface in org.springframework.data.rest.core.invoke
Interface for a factory to create RepositoryInvoker instances for repositories managing a particular domain type.
repositoryInvokerFactory() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
RepositoryLinkBuilder - Class in org.springframework.data.rest.webmvc.support
 
RepositoryLinkBuilder(ResourceMetadata, URI) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
RepositoryLinksResource - Class in org.springframework.data.rest.webmvc
 
RepositoryLinksResource() - Constructor for class org.springframework.data.rest.webmvc.RepositoryLinksResource
 
RepositoryRelProvider - Class in org.springframework.data.rest.core.support
A RelProvider based on the ResourceMappings for the registered repositories.
RepositoryRelProvider(ResourceMappings) - Constructor for class org.springframework.data.rest.core.support.RepositoryRelProvider
Creates a new RepositoryRelProvider for the given ResourceMappings.
RepositoryRestConfiguration - Class in org.springframework.data.rest.core.config
 
RepositoryRestConfiguration() - Constructor for class org.springframework.data.rest.core.config.RepositoryRestConfiguration
 
RepositoryRestController - Annotation Type in org.springframework.data.rest.webmvc
Annotation to demarcate Spring MVC controllers provided by Spring Data REST.
RepositoryRestDispatcherServlet - Class in org.springframework.data.rest.webmvc
Special DispatcherServlet subclass that certain exporter components can recognize.
RepositoryRestDispatcherServlet() - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestDispatcherServlet
 
RepositoryRestDispatcherServlet(WebApplicationContext) - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestDispatcherServlet
 
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(List<HandlerMethodArgumentResolver>, List<ResourceProcessor<?>>) - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
Creates a new RepositoryRestHandlerAdapter using the given HandlerMethodArgumentResolver and ResourceProcessors.
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(ResourceMappings, RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
RepositoryRestMvcConfiguration - Class in org.springframework.data.rest.webmvc.config
Main application configuration for Spring Data REST.
RepositoryRestMvcConfiguration() - Constructor for class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
RepositoryRestResource - Annotation Type in org.springframework.data.rest.core.annotation
Annotate a Repository with this to customize export mapping and rels.
ResolvableResourceDescriptionSupport - Class in org.springframework.data.rest.core.mapping
Adapter class for the MessageSourceResolvable part of a ResourceDescription.
ResolvableResourceDescriptionSupport() - Constructor for class org.springframework.data.rest.core.mapping.ResolvableResourceDescriptionSupport
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResourceHandlerMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.ResourceMetadataHandlerMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.RootResourceInformationHandlerMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in enum org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
 
ResourceDescription - Interface in org.springframework.data.rest.core.mapping
A description of a resource.
resourceDescriptionMessageSourceAccessor() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
The MessageSourceAccessor to provide messages for ResourceDescriptions being rendered.
ResourceMapping - Class in org.springframework.data.rest.core.config
Deprecated.
ResourceMapping() - Constructor for class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
ResourceMapping(Class<?>) - Constructor for class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
ResourceMapping(String, String) - Constructor for class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
ResourceMapping(String, String, boolean) - Constructor for class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
ResourceMapping - Interface in org.springframework.data.rest.core.mapping
Mapping information for components to be exported as REST resources.
ResourceMappingConfiguration - Class in org.springframework.data.rest.core.config
Manages the ResourceMapping configurations for any resources being exported.
ResourceMappingConfiguration() - Constructor for class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
ResourceMappings - Class in org.springframework.data.rest.core.mapping
Central abstraction obtain ResourceMetadata and ResourceMapping instances for domain types and repositories.
ResourceMappings(RepositoryRestConfiguration, Repositories) - Constructor for class org.springframework.data.rest.core.mapping.ResourceMappings
Creates a new ResourceMappings using the given RepositoryRestConfiguration and Repositories .
ResourceMappings(RepositoryRestConfiguration, Repositories, RelProvider) - Constructor for class org.springframework.data.rest.core.mapping.ResourceMappings
Creates a new ResourceMappings from the given RepositoryRestConfiguration, Repositories and RelProvider.
resourceMappings() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
ResourceMappingUtils - Class in org.springframework.data.rest.core.support
Deprecated.
ResourceMappingUtils() - Constructor for class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
ResourceMetadata - Interface in org.springframework.data.rest.core.mapping
Interface for metadata of resources exposed throught the system.
resourceMetadataHandlerMethodArgumentResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
ResourceMetadataHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc
 
ResourceMetadataHandlerMethodArgumentResolver(Repositories, ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.ResourceMetadataHandlerMethodArgumentResolver
 
ResourceNotFoundException - Exception in org.springframework.data.rest.webmvc
Indicates a resource was not found.
ResourceNotFoundException() - Constructor for exception org.springframework.data.rest.webmvc.ResourceNotFoundException
 
ResourceNotFoundException(String) - Constructor for exception org.springframework.data.rest.webmvc.ResourceNotFoundException
 
ResourceNotFoundException(String, Throwable) - Constructor for exception org.springframework.data.rest.webmvc.ResourceNotFoundException
 
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 ResourceProcessor s found in the application context and eventually delegate to the originally configured HandlerMethodReturnValueHandler.
ResourceProcessorInvokingHandlerAdapter(List<ResourceProcessor<?>>) - Constructor for class org.springframework.data.rest.webmvc.ResourceProcessorInvokingHandlerAdapter
Creates a new ResourceProcessorInvokingHandlerAdapter with the given ResourceProcessors.
ResourceStringUtils - Class in org.springframework.data.rest.core.support
Helper methods aiming at handling String representations of resources.
ResourceStringUtils() - Constructor for class org.springframework.data.rest.core.support.ResourceStringUtils
 
ResourceType - Enum in org.springframework.data.rest.webmvc
An enum listing all supported resource types.
RestResource - Annotation Type in org.springframework.data.rest.core.annotation
Annotate a Repository with this to influence how it is exported and what the value of the rel attribute will be in links.
RootResourceInformationHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc
HandlerMethodArgumentResolver to create RootResourceInformation for injection into Spring MVC controller methods.
RootResourceInformationHandlerMethodArgumentResolver(Repositories, RepositoryInvokerFactory, ResourceMetadataHandlerMethodArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.RootResourceInformationHandlerMethodArgumentResolver

S

SearchResourceMappings - Class in org.springframework.data.rest.core.mapping
ResourceMapping for all search resources.
SearchResourceMappings(List<MethodResourceMapping>) - Constructor for class org.springframework.data.rest.core.mapping.SearchResourceMappings
Creates a new SearchResourceMappings from the given
serverHttpRequestMethodArgumentResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Turns an HttpServletRequest into a ServerHttpRequest.
ServerHttpRequestMethodArgumentResolver - Class in org.springframework.data.rest.webmvc
 
ServerHttpRequestMethodArgumentResolver() - Constructor for class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
 
setBaseUri(URI) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
The base URI against which the exporter should calculate its links.
setBeanFactory(BeanFactory) - Method in class org.springframework.data.rest.webmvc.support.JpaHelper
 
setDefaultMediaType(MediaType) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the MediaType to use as a default when none is specified.
setDefaultPageSize(int) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the default size of Pageables.
setExported(boolean) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
setItems(List<JsonSchema.Property>) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.ArrayProperty
 
setJpaHelper(JpaHelper) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 
setLimitParamName(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates how many results to return at once.
setMaxPageSize(int) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the maximum size of pages.
setPageParamName(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates what page to return.
setPath(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
setRel(String) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
setResourceMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ResourceMappingConfiguration
 
setResourceMappingForDomainType(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Start configuration a ResourceMapping for a specific domain type.
setResourceMappingForRepository(Class<?>) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Start configuration a ResourceMapping for a specific repository interface.
setReturnBodyOnCreate(boolean) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set whether to return a response body after creating an entity.
setReturnBodyOnUpdate(boolean) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Sets whether to return a response body after updating an entity.
setRootLinksAsHeaders(boolean) - Method in class org.springframework.data.rest.webmvc.ResourceProcessorHandlerMethodReturnValueHandler
 
setSortParamName(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Set the name of the URL query string parameter that indicates what direction to sort results.
setValidators(Map<String, Collection<Validator>>) - Method in class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
Assign a Map of Validators that are assigned to the various RepositoryEvents.
SimpleRelProvider - Class in org.springframework.data.rest.core.support
 
SimpleRelProvider() - Constructor for class org.springframework.data.rest.core.support.SimpleRelProvider
 
SimpleResourceDescription - Class in org.springframework.data.rest.core.mapping
 
slash(String) - Method in class org.springframework.data.rest.core.Path
Appends the given String to the current Path.
slash(Path) - Method in class org.springframework.data.rest.core.Path
 
slash(Object) - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
slash(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
stripRegistrationMapping(String, ServletContext) - Static method in class org.springframework.data.rest.webmvc.support.HttpRequestUtils
Strip a servlet registration mapping from the request URI.
supports(Class<?>) - Method in class org.springframework.data.rest.core.support.RepositoryRelProvider
 
supports(Class<?>) - Method in class org.springframework.data.rest.core.support.SimpleRelProvider
 
supports(Class<?>) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
 
supportsInternal(HandlerMethod) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResourceHandlerMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.ResourceMetadataHandlerMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.RootResourceInformationHandlerMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in enum org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
 
supportsReturnType(MethodParameter) - Method in class org.springframework.data.rest.webmvc.ResourceProcessorHandlerMethodReturnValueHandler
 

T

toEmptyResponse(HttpStatus) - Static method in class org.springframework.data.rest.webmvc.ControllerUtils
Return an empty response that is only comprised of a status
toEmptyResponse(HttpStatus, HttpHeaders) - Static method in class org.springframework.data.rest.webmvc.ControllerUtils
Return an empty response that is only comprised of headers and a status
toMap(MultiValueMap<K, V>) - Static method in class org.springframework.data.rest.core.util.MapUtils
Turns a MultiValueMap into its Map equivalent.
toMethodName() - Method in enum org.springframework.data.rest.core.invoke.CrudMethod
Turn this enum into a method name.
toResource(T) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler
 
toResponseEntity(HttpStatus, HttpHeaders, R) - Static method in class org.springframework.data.rest.webmvc.ControllerUtils
Wrap a resource as a ResourceEntity and attach given headers and status.
toString() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
toString() - Method in class org.springframework.data.rest.core.Path
 

U

uriListHttpMessageConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
The HttpMessageConverter used to create text/uri-list responses.
UriListHttpMessageConverter - Class in org.springframework.data.rest.webmvc.convert
Converter to render all Links contained in a ResourceSupport as text/uri-list and parse a request of that media type back into a ResourceSupport instance.
UriListHttpMessageConverter() - Constructor for class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
UriToEntityConverter - Class in org.springframework.data.rest.core
A ConditionalGenericConverter that can convert a URI domain entity.
UriToEntityConverter(Repositories, DomainClassConverter<?>) - Constructor for class org.springframework.data.rest.core.UriToEntityConverter
Creates a new UriToEntityConverter using the given Repositories and DomainClassConverter.
uriToEntityConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
UriUtils - Class in org.springframework.data.rest.core.util
Helper methods for dealing with URIs.
UriUtils() - Constructor for class org.springframework.data.rest.core.util.UriUtils
 
USER_METHODS - Static variable in class org.springframework.data.rest.core.support.Methods
 
UUIDConverter - Class in org.springframework.data.rest.core.util
For converting a UUID into a String.
UUIDConverter() - Constructor for class org.springframework.data.rest.core.util.UUIDConverter
 

V

ValidatingRepositoryEventListener - Class in org.springframework.data.rest.core.event
ApplicationListener implementation that dispatches RepositoryEvents to a specific Validator.
ValidatingRepositoryEventListener(ObjectFactory<Repositories>) - Constructor for class org.springframework.data.rest.core.event.ValidatingRepositoryEventListener
Creates a new ValidatingRepositoryEventListener using the given repositories.
validatingRepositoryEventListener(ObjectFactory<Repositories>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
ApplicationListener implementation for invoking Validator instances assigned to specific domain types.
ValidationErrors - Class in org.springframework.data.rest.core
An Errors implementation for use in the events mechanism of Spring Data REST.
ValidationErrors(String, Object, PersistentEntity<?, ?>) - Constructor for class org.springframework.data.rest.core.ValidationErrors
 
validationExceptionHandler() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
ValidationExceptionHandler - Class in org.springframework.data.rest.webmvc.support
 
ValidationExceptionHandler() - Constructor for class org.springframework.data.rest.webmvc.support.ValidationExceptionHandler
 
valueOf(String) - Static method in enum org.springframework.data.rest.core.invoke.CrudMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.rest.core.support.DomainObjectMerger.NullHandlingPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.rest.webmvc.ResourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.data.rest.core.invoke.CrudMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.rest.core.support.DomainObjectMerger.NullHandlingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.rest.webmvc.ResourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
Returns an array containing the constants of this enum type, in the order they are declared.

W

withResourceRel() - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
wrap(PersistentEntity<?, ?>, T) - Static method in class org.springframework.data.rest.webmvc.PersistentEntityResource
 
write(ResourceSupport, MediaType, HttpOutputMessage) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
A B C D E F G H I J L M N O P R S T U V W 
Spring Data REST

Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.