Skip navigation links
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
 
addProjection(Class<?>) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Adds the given projection type to the configuration.
addProjection(Class<?>, Class<?>...) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Adds a projection type for the given source types.
addProjection(Class<?>, String, Class<?>...) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Adds the given projection type for the given source types under the given name.
addResourceHandlers(ResourceHandlerRegistry) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
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.
 
addTo(HttpHeaders) - Method in class org.springframework.data.rest.webmvc.support.ETag
Adds the current ETag to the given headers.
addToCache(Class<?>, ResourceMetadata) - Method in class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
Adds the given ResourceMetadata to the cache.
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.BasePathAwareHandlerMapping
 
afterPropertiesSet() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
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
 
ALPS_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
ALPS_JSON_VALUE - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
AlpsController - Class in org.springframework.data.rest.webmvc.alps
Controller exposing semantic documentation for the resources exposed using the Application Level Profile Semantics format.
AlpsController(RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.alps.AlpsController
Creates a new AlpsController for the given ResourceMappings.
alpsConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
alpsEnabled() - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Returns whether the ALPS resources are exposed.
AlpsJsonHttpMessageConverter - Class in org.springframework.data.rest.webmvc.alps
HttpMessageConverter to render Alps and RootResourceInformation instances as application/alps+json.
AlpsJsonHttpMessageConverter(RootResourceInformationToAlpsDescriptorConverter) - Constructor for class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
Creates a new AlpsJsonHttpMessageConverter for the given Converter.
alpsJsonHttpMessageConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
AnnotatedEventHandlerInvoker - Class in org.springframework.data.rest.core.event
Component to discover annotated repository event handlers and trigger them on ApplicationEvents.
AnnotatedEventHandlerInvoker() - Constructor for class org.springframework.data.rest.core.event.AnnotatedEventHandlerInvoker
 
annotatedEventHandlerInvoker() - Static method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
BeanPostProcessor to turn beans annotated as org.springframework.data.rest.repository.annotation.RepositoryEventHandlers.
AnnotationBasedResourceDescription - Class in org.springframework.data.rest.core.mapping
A ResourceDescription that is customized based on a Description annotation.
AnnotationBasedResourceDescription(Description, ResourceDescription) - Constructor for class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
Creates a new AnnotationBasedResourceDescription for the given Description and fallback.
AnnotationBasedResourceDescription(Class<?>, ResourceDescription) - Constructor for class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
apply(S) - Method in interface org.springframework.data.rest.core.util.Function
 
AssociationLinks - Class in org.springframework.data.rest.webmvc.mapping
A value object to for Links representing an association.
AssociationLinks(ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.mapping.AssociationLinks
Creates a new AssociationLinks using the given ResourceMappings.
AssociationUriResolvingDeserializerModifier(PersistentEntities, UriToEntityConverter, AssociationLinks) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module.AssociationUriResolvingDeserializerModifier
asText(Enum<?>) - Method in class org.springframework.data.rest.webmvc.json.EnumTranslator
Resolves the given enum value into a String consulting the configured MessageSourceAccessor potentially falling back to the default translation if configured.
auditableBeanWrapperFactory() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 

B

BackendId - Annotation Type in org.springframework.data.rest.webmvc.support
Annotation to bind the backend id of an entity.
BackendIdConverter - Interface in org.springframework.data.rest.webmvc.spi
SPI to allow the customization of how entity ids are exposed in URIs generated.
BackendIdConverter.DefaultIdConverter - Enum in org.springframework.data.rest.webmvc.spi
The default BackendIdConverter that will simply use ids as they are.
backendIdConverterRegistry() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
backendIdHandlerMethodArgumentResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
BackendIdHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc.support
HandlerMethodArgumentResolver to resolve entity ids for injection int handler method arguments annotated with BackendId.
BackendIdHandlerMethodArgumentResolver(PluginRegistry<BackendIdConverter, Class<?>>, ResourceMetadataHandlerMethodArgumentResolver, BaseUri) - Constructor for class org.springframework.data.rest.webmvc.support.BackendIdHandlerMethodArgumentResolver
BasePathAwareController - Annotation Type in org.springframework.data.rest.webmvc
Annotation to declare a controller that declares request mappings to be augmented with a base URI in the Spring Data REST configuration.
BasePathAwareHandlerMapping - Class in org.springframework.data.rest.webmvc
A RequestMappingHandlerMapping that augments the request mappings
BasePathAwareHandlerMapping(RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping
BaseUri - Class in org.springframework.data.rest.webmvc
Value object to be able to extract the lookup path within a configured base URI that forms a URI namespace.
BaseUri(URI) - Constructor for class org.springframework.data.rest.webmvc.BaseUri
Creates a new BaseUri with the given URI as base.
BaseUri(String) - Constructor for class org.springframework.data.rest.webmvc.BaseUri
Creates a new BaseUri with the given URI as base.
baseUri() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
BaseUriLinkBuilder - Class in org.springframework.data.rest.webmvc.support
 
BaseUriLinkBuilder(UriComponentsBuilder) - Constructor for class org.springframework.data.rest.webmvc.support.BaseUriLinkBuilder
 
basicObjectMapper() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
beforeBodyWrite(Object, MethodParameter, MediaType, Class<? extends HttpMessageConverter<?>>, ServerHttpRequest, ServerHttpResponse) - Method in class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
 
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
 
browser() - Method in class org.springframework.data.rest.webmvc.halbrowser.HalBrowser
Redirects to the actual index.html.
BROWSER_INDEX - Static variable in class org.springframework.data.rest.webmvc.halbrowser.HalBrowser
 
build(Object, PersistentEntity<?, ?>) - Static method in class org.springframework.data.rest.webmvc.PersistentEntityResource
Creates a new PersistentEntityResource.Builder to create PersistentEntityResources eventually.
build() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
Finally creates the PersistentEntityResource instance.

C

canRead(Type, Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
 
canRead(Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
canWrite(Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
 
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 interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
Override this method to add your own converters.
configureConversionService(ConfigurableConversionService) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter
 
configureConversionService(ConfigurableConversionService) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Deprecated.
configureExceptionHandlerExceptionResolver(ExceptionHandlerExceptionResolver) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
configureExceptionHandlerExceptionResolver(ExceptionHandlerExceptionResolver) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter
 
configureExceptionHandlerExceptionResolver(ExceptionHandlerExceptionResolver) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
configureHttpMessageConverters(List<HttpMessageConverter<?>>) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
Configure the available HttpMessageConverters by adding your own.
configureHttpMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter
 
configureHttpMessageConverters(List<HttpMessageConverter<?>>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Deprecated.
since 2.4, implement RepositoryRestConfigurer.configureHttpMessageConverters(List) either directly or extend RepositoryRestConfigurerAdapter and override the method.
configureJacksonObjectMapper(ObjectMapper) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
Configure the Jackson ObjectMapper directly.
configureJacksonObjectMapper(ObjectMapper) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter
 
configureJacksonObjectMapper(ObjectMapper) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Deprecated.
since 2.4, implement RepositoryRestConfigurer.configureJacksonObjectMapper(ObjectMapper) either directly or extend RepositoryRestConfigurerAdapter and override the method.
configureObjectMapper(ObjectMapper) - Static method in class org.springframework.data.rest.webmvc.json.Jackson2DatatypeHelper
 
configureRepositoryRestConfiguration(RepositoryRestConfiguration) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
Override this method to add additional configuration.
configureRepositoryRestConfiguration(RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter
 
configureRepositoryRestConfiguration(RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Deprecated.
configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
Override this method to add validators manually.
configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter
 
configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
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(RootResourceInformation) - Method in class org.springframework.data.rest.webmvc.alps.RootResourceInformationToAlpsDescriptorConverter
 
convert(Class<?>) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
Converts the given type into a JsonSchema instance.
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
 
createContextual(DeserializationContext, BeanProperty) - Method in class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingDeserializer
 
createNewInstance(UriComponentsBuilder) - Method in class org.springframework.data.rest.webmvc.support.BaseUriLinkBuilder
 
createNewInstance(UriComponentsBuilder) - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
CrudMethodsSupportedHttpMethods - Class in org.springframework.data.rest.core.mapping
SupportedHttpMethods that are determined by a CrudMethods instance.
CrudMethodsSupportedHttpMethods(CrudMethods) - Constructor for class org.springframework.data.rest.core.mapping.CrudMethodsSupportedHttpMethods
Creates a new CrudMethodsSupportedHttpMethods for the given CrudMethods.
customize(PatternsRequestCondition, String) - Method in class org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping
Customize the given PatternsRequestCondition and prefix.
customize(ProducesRequestCondition) - Method in class org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping
Customize the given ProducesRequestCondition.
customize(JsonSchema.JsonSchemaProperty, TypeInformation<?>) - Method in class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingSerializer
 
customize(JsonSchema.JsonSchemaProperty, TypeInformation<?>) - Method in interface org.springframework.data.rest.webmvc.json.JsonSchemaPropertyCustomizer
Returns the customized JsonSchema.JsonSchemaProperty based on the given one and the given type.
customize(ProducesRequestCondition) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 

D

DEFAULT_KEY_PREFIX - Static variable in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
DEFAULT_MEDIA_TYPE - Static variable in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
defaultConversionService() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
DefaultedPageable - Class in org.springframework.data.rest.webmvc.support
Value object to capture a Pageable as well it is the default one configured.
DefaultedPageable(Pageable, boolean) - Constructor for class org.springframework.data.rest.webmvc.support.DefaultedPageable
Creates a new DefaultedPageable with the given Pageable and default flag.
DefaultedPageableHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc.support
DefaultedPageableHandlerMethodArgumentResolver(PageableHandlerMethodArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.support.DefaultedPageableHandlerMethodArgumentResolver
defaultFor(String) - Static method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
defaultFor(String, PersistentProperty<?>) - Static method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
defaultFor(String, String, Class<?>) - Static method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
defaultFor(String, Class<?>) - Static method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
defaultMessageConverters() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
defaultMethodArgumentResolvers() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
Definitions() - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchema.Definitions
 
DelegatingHandlerMapping - Class in org.springframework.data.rest.webmvc.support
A HandlerMapping that considers a List of delegates.
DelegatingHandlerMapping(List<HandlerMapping>) - Constructor for class org.springframework.data.rest.webmvc.support.DelegatingHandlerMapping
Creates a new DelegatingHandlerMapping for the given delegates.
Description - Annotation Type in org.springframework.data.rest.core.annotation
Annotation to describe semantics of a resource.
description - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
 
deserialize(JsonParser, DeserializationContext) - Method in class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingDeserializer
 
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.
DomainObjectReader - Class in org.springframework.data.rest.webmvc.json
Component to apply an ObjectNode to an existing domain object.
DomainObjectReader(PersistentEntities, ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.json.DomainObjectReader
Creates a new DomainObjectReader using the given PersistentEntities and ResourceMappings.
doWithAssociation(Association<? extends PersistentProperty<?>>) - Method in class org.springframework.data.rest.webmvc.mapping.LinkCollectingAssociationHandler
 

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.
EnumProperty(String, String, Class<?>, String, boolean) - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
 
EnumProperty(String, String, List<String>, String, boolean) - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
 
EnumTranslatingDeserializer(EnumTranslator) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingDeserializer
EnumTranslatingDeserializer(EnumTranslator, BeanProperty) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingDeserializer
Creates a new JacksonSerializers.EnumTranslatingDeserializer using the given EnumTranslator and BeanProperty .
EnumTranslatingSerializer(EnumTranslator) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingSerializer
EnumTranslationConfiguration - Interface in org.springframework.data.rest.core.config
Configuration options for enum value translation.
enumTranslator() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
EnumTranslator - Class in org.springframework.data.rest.webmvc.json
Configuration to tweak enum serialization.
EnumTranslator(MessageSourceAccessor) - Constructor for class org.springframework.data.rest.webmvc.json.EnumTranslator
Creates a new EnumTranslator using the given MessageSourceAccessor.
equals(Object) - Method in class org.springframework.data.rest.core.mapping.ParameterMetadata
 
equals(Object) - Method in class org.springframework.data.rest.core.Path
 
equals(Object) - Method in class org.springframework.data.rest.webmvc.support.ETag
 
ETag - Class in org.springframework.data.rest.webmvc.support
A value object to represent ETags.
eTagArgumentResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
ETagArgumentResolver - Class in org.springframework.data.rest.webmvc.support
HandlerMethodArgumentResolver to resolve If-Match headers for optimistic locking handling IfMatch.
ETagArgumentResolver() - Constructor for class org.springframework.data.rest.webmvc.support.ETagArgumentResolver
 
ETagDoesntMatchException - Exception in org.springframework.data.rest.webmvc.support
An exception being thrown in case the ETag calculated for a particular object does not match an expected one.
ETagDoesntMatchException(Object, ETag) - Constructor for exception org.springframework.data.rest.webmvc.support.ETagDoesntMatchException
Creates a new ETagDoesntMatchException for the given bean as well as the ETag it was expected to match.
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.PersistentEntitiesResourceMappings
 
exportsMappingFor(Class<?>) - Method in interface 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.PersistentEntitiesResourceMappings
 
exportsTopLevelResourceFor(String) - Method in interface 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.
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.
 
findMappingVariable(String, Method, String) - Static method in class org.springframework.data.rest.webmvc.util.UriUtils
Returns the value for the mapping variable with the given name.
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
 
forCreation() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
Finally creates the PersistentEntityResource instance to symbolize the contained entity is about to be created.
format - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
 
formatRel(RepositoryRestConfiguration, RepositoryInformation, PersistentProperty<?>) - Static method in class org.springframework.data.rest.core.support.ResourceMappingUtils
Deprecated.
 
from(String) - Static method in class org.springframework.data.rest.webmvc.support.ETag
Creates a new ETag for the given String value.
from(PersistentEntityResource) - Static method in class org.springframework.data.rest.webmvc.support.ETag
Creates a new ETag for the given PersistentEntityResource.
from(PersistentEntity<?, ?>, Object) - Static method in class org.springframework.data.rest.webmvc.support.ETag
Creates a new ETag from the given PersistentEntity and target bean.
fromRequestId(String, Class<?>) - Method in enum org.springframework.data.rest.webmvc.spi.BackendIdConverter.DefaultIdConverter
 
fromRequestId(String, Class<?>) - Method in interface org.springframework.data.rest.webmvc.spi.BackendIdConverter
Returns the id of the entity to be looked up eventually.
fromText(Class<T>, String) - Method in class org.springframework.data.rest.webmvc.json.EnumTranslator
Parses the given source text into the corresponding enum value using the configured MessageSourceAccessor potentially falling back to the default translation or the plain enum name if configured.
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
 
getArguments() - Method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
getBasePath() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
The base path to expose repository resources under.
getBaseUri() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
The base URI against which the exporter should calculate its links.
getBean() - Method in exception org.springframework.data.rest.webmvc.support.ETagDoesntMatchException
Returns the bean not matching the ETag.
getBody() - Method in class org.springframework.data.rest.webmvc.IncomingRequest
Returns the body of the request.
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.AnnotationBasedResourceDescription
 
getCodes() - Method in class org.springframework.data.rest.core.mapping.SimpleResourceDescription
 
getCollectionResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.RepositoryRelProvider
 
getCollectionResourceRelFor(Class<?>) - Method in class org.springframework.data.rest.core.support.SimpleRelProvider
 
getContainer() - 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.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
 
getDefaultMessage() - Method in class org.springframework.data.rest.core.mapping.TypedResourceDescription
 
getDefaultPageSize() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the default size of Pageables.
getDefinitionFor(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
Returns the BeanPropertyDefinition for the given PersistentProperty.
getDefinitions() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.Definitions
 
getDefinitions() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
getDescription() - Method in class org.springframework.data.rest.core.mapping.ParameterMetadata
Returns the description for the method parameter.
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
 
getDomainType() - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the domain type that is exposed through the resource.
getDomainType() - Method in class org.springframework.data.rest.webmvc.RepositorySearchesResource
Returns the domain type for which the resource lists searches.
getDomainType() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
 
getDomainTypesResourceMappingConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the ResourceMappingConfiguration that is currently configured.
getEmbeddeds() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource
Returns the resources that are supposed to be rendered in the _embedded clause.
getEntity() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
 
getEntity() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
 
getEnumSerializationConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Returns the EnumTranslator for
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.
getExcerptProjection() - Method in interface org.springframework.data.rest.core.mapping.CollectionResourceMapping
Returns the projection type to be used when embedding item resources into collections and related resources.
getExpectedETag() - Method in exception org.springframework.data.rest.webmvc.support.ETagDoesntMatchException
Returns the ETag the bean was expected to match.
getExportedMappings() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
Returns the mappings for all exported query methods.
getExportedMethodMappingForPath(String) - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
Returns the MethodResourceMapping for the given path.
getExportedMethodMappingForRel(String) - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
Returns the MappingResourceMetadata for the given relation name.
getFallbackDescription(ResourceMetadata, BeanPropertyDefinition) - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
Returns the fallback ResourceDescription to be used for the given BeanPropertyDefinition.
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
 
getHandler(HttpServletRequest) - Method in class org.springframework.data.rest.webmvc.support.DelegatingHandlerMapping
 
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
 
getInvoker() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
 
getInvokerFor(Class<?>) - Method in class org.springframework.data.rest.core.support.UnwrappingRepositoryInvokerFactory
 
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
 
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.LinkedEntityEvent
Get the linked object.
getLinks() - Method in class org.springframework.data.rest.webmvc.mapping.LinkCollectingAssociationHandler
Returns the links collected after the Association has been traversed.
getLinksFor(Association<? extends PersistentProperty<?>>, Path) - Method in class org.springframework.data.rest.webmvc.mapping.AssociationLinks
Returns the links to render for the given Association.
getMappedMethod(String) - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
Returns the method mapped to the given path.
getMappingFor(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
 
getMappingFor(PersistentProperty<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the ResourceMapping for the given PersistentProperty or null if not managed.
getMappingForMethod(Method, Class<?>) - Method in class org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping
 
getMaxPageSize() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Get the maximum size of pages.
getMessage() - Method in class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
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
 
getMetadataConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Returns the MetadataConfiguration to customize metadata exposure.
getMetadataFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
 
getMetadataFor(Class<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMappings
Returns a ResourceMetadata for the given type if available.
getMethod() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns the Method backing the resource.
getMethodsFor(ResourceType) - Method in class org.springframework.data.rest.core.mapping.CrudMethodsSupportedHttpMethods
 
getMethodsFor(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.CrudMethodsSupportedHttpMethods
 
getMethodsFor(ResourceType) - Method in interface org.springframework.data.rest.core.mapping.SupportedHttpMethods
Returns the supported HttpMethods for the given ResourceType.
getMethodsFor(PersistentProperty<?>) - Method in interface org.springframework.data.rest.core.mapping.SupportedHttpMethods
Returns the supported HttpMethods for the given PersistentProperty.
getMethodsFor(ResourceType) - Method in enum org.springframework.data.rest.core.mapping.SupportedHttpMethods.NoSupportedMethods
 
getMethodsFor(PersistentProperty<?>) - Method in enum org.springframework.data.rest.core.mapping.SupportedHttpMethods.NoSupportedMethods
 
getName() - Method in class org.springframework.data.rest.core.mapping.ParameterMetadata
Return sthe name of the method parameter.
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
 
getOrder() - Method in class org.springframework.data.rest.webmvc.support.DelegatingHandlerMapping
 
getPageable() - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageable
Returns the delegate Pageable.
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.
getPaginationTemplateVariables(MethodParameter, UriComponents) - Method in interface org.springframework.data.rest.webmvc.support.PagingAndSortingTemplateVariables
Returns the TemplateVariables for pagination.
getParameterName() - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
 
getParameterName() - Method in interface org.springframework.data.rest.core.projection.ProjectionDefinitions
Returns the request parameter to be used to expose the projection to the web.
getParameterNames() - Method in class org.springframework.data.rest.core.mapping.ParametersMetadata
Returns all parameter names.
getParametersMetadata() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns ParameterMetadata instances for all named parameters.
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
 
getPath(RepositoryRestConfiguration, ResourceMapping) - Static method in class org.springframework.data.rest.webmvc.ProfileController
Return the href for the profile link of a given baseUri and domain type mapping.
getPatternFor(Class<?>) - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Returns the Pattern registered for the given value type.
getPersistentEntity() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource
Returns the PersistentEntity for the underlying instance.
getPersistentEntity() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
 
getProjectionConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Returns the ProjectionDefinitionConfiguration to register addition projections.
getProjectionsFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Returns all projections registered for the given source type.
getProjectionType(Class<?>, String) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
 
getProjectionType(Class<?>, String) - Method in interface org.springframework.data.rest.core.projection.ProjectionDefinitions
Returns the projection type for the given source type and name.
getProperty() - Method in interface org.springframework.data.rest.core.mapping.PropertyAwareResourceMapping
 
getProperty(String) - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the PropertyAwareResourceMapping for the given mapped path.
getProperty() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
 
getProperty() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
 
getPropertyAccessor() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource
Returns the PersistentPropertyAccessor for the underlying content bean.
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
 
getRepositoryLookupPath(NativeWebRequest) - Method in class org.springframework.data.rest.webmvc.BaseUri
Extracts the actual lookup path within the Spring Data REST managed URI space.
getRepositoryLookupPath(String) - Method in class org.springframework.data.rest.webmvc.BaseUri
Extracts the actual lookup path within the Spring Data REST managed URI space.
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.
 
getResourceMetadata() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
 
getReturnedDomainType() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns the domain type that the query method returns.
getRootPath(RepositoryRestConfiguration) - Static method in class org.springframework.data.rest.webmvc.ProfileController
Return the href for the profile root link of a given baseUri.
getSchema() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
getSchemaFormatFor(Class<?>) - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Returns the JsonSchemaFormat to be used for the given type.
getSearchMappings() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
 
getSearchResourceMappings(Class<?>) - Method in class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
 
getSearchResourceMappings(Class<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
getSearchResourceMappings(Class<?>) - Method in interface 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
Creates the self link for the given domain instance.
getServerHttpRequest() - Method in class org.springframework.data.rest.webmvc.IncomingRequest
Returns the underlying ServerHttpRequest.
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.
getSortTemplateVariables(MethodParameter, UriComponents) - Method in interface org.springframework.data.rest.webmvc.support.PagingAndSortingTemplateVariables
Returns the TemplateVariables for sorting.
getSupportedHttpMethods() - Method in interface org.springframework.data.rest.core.mapping.ResourceMetadata
Returns the supported HttpMethods for the given ResourceType.
getSupportedMediaTypes() - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
getSupportedMethods() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
 
getThis() - Method in class org.springframework.data.rest.webmvc.support.BaseUriLinkBuilder
 
getThis() - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
getTitle() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
 
getType() - Method in class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
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
 
getTypeSerializer(Class<?>) - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
Returns the JsonSerializer for the given type, or null if none available.
getUri() - Method in class org.springframework.data.rest.webmvc.BaseUri
Returns the base URI.
getUriComponentsBuilder() - Method in class org.springframework.data.rest.webmvc.BaseUri
Returns a new UriComponentsBuilder for the base URI.
getValues(Class<? extends Enum<?>>) - Method in class org.springframework.data.rest.webmvc.json.EnumTranslator
 
getValues() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
 

H

HAL_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
HalBrowser - Class in org.springframework.data.rest.webmvc.halbrowser
Controller with a few convenience redirects to expose the HAL browser shipped as static content.
HalBrowser(RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.halbrowser.HalBrowser
Creates a new HalBrowser for the given RepositoryRestConfiguration.
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.
handleNoMatch(Set<RequestMappingInfo>, String, HttpServletRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
 
handleReturnValue(Object, MethodParameter, ModelAndViewContainer, NativeWebRequest) - Method in class org.springframework.data.rest.webmvc.ResourceProcessorHandlerMethodReturnValueHandler
 
hasExcerptProjection(Class<?>) - Method in class org.springframework.data.rest.webmvc.support.PersistentEntityProjector
 
hasExcerptProjection(Class<?>) - Method in interface org.springframework.data.rest.webmvc.support.Projector
Returns whether an excerpt projection has been registered for the given type.
hashCode() - Method in class org.springframework.data.rest.core.mapping.ParameterMetadata
 
hashCode() - Method in class org.springframework.data.rest.core.Path
 
hashCode() - Method in class org.springframework.data.rest.webmvc.support.ETag
 
hasMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
 
hasMappingFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
hasMappingFor(Class<?>) - Method in interface org.springframework.data.rest.core.mapping.ResourceMappings
Returns whether we have a ResourceMapping for the given type.
hasMetadataFor(Class<?>) - Method in class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
Returns whether we currently already have ResourceMetadata for the given type.
hasProjectionFor(Class<?>) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
 
hasProjectionFor(Class<?>) - Method in interface org.springframework.data.rest.core.projection.ProjectionDefinitions
Returns whether we have a projection registered for the given source 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.
hasTextExceptSlash(CharSequence) - Static method in class org.springframework.data.rest.core.support.ResourceStringUtils
Checks whether the given input contains actual text (slash excluded).
headForRepositories() - Method in class org.springframework.data.rest.webmvc.RepositoryController
HEAD /
HttpMethodHandlerMethodArgumentResolver - Enum in org.springframework.data.rest.webmvc.support
HandlerMethodArgumentResolver to provide HttpMethod instances for innjection into MVC controller methods.

I

IncomingRequest - Class in org.springframework.data.rest.webmvc
Value object to wrap a ServerHttpRequest to provide a slightly more abstract API to find out about the request method.
IncomingRequest(ServerHttpRequest) - Constructor for class org.springframework.data.rest.webmvc.IncomingRequest
index() - Method in class org.springframework.data.rest.webmvc.halbrowser.HalBrowser
Redirects requests to the API root asking for HTML to the HAL browser.
isDefault() - Method in class org.springframework.data.rest.core.mapping.AnnotationBasedResourceDescription
 
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
 
isDefault() - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageable
Returns whether the contained Pageable is the default one configured.
isEnableEnumTranslation() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Returns whether enum value translation is enabled.
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
 
isExported(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
Check if a given property for a type is available to be exported, i.e. serialized via Jackson.
isHandler(Class<?>) - Method in class org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping
 
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?
isJsonMergePatchRequest() - Method in class org.springframework.data.rest.webmvc.IncomingRequest
Returns whether the request is a PATCH request with a payload of type RestMediaTypes.MERGE_PATCH_JSON.
isJsonPatchRequest() - Method in class org.springframework.data.rest.webmvc.IncomingRequest
Returns whether the request is a PATCH request with a payload of type RestMediaTypes.JSON_PATCH_JSON.
isLinkableAssociation(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.mapping.AssociationLinks
Returns whether the given property is an association that is linkable.
isMapped(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
 
isMapped(PersistentProperty<?>) - Method in class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
 
isNew() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource
Returns whether the content of the resource is a new entity about to be created.
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
 
isPatchRequest() - Method in class org.springframework.data.rest.webmvc.IncomingRequest
Returns whether the request is a PATCH request.
isReadOnly(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
Returns whether the given PersistentProperty is considered read-only by Jackson.
isReturnBodyOnCreate() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
isReturnBodyOnUpdate() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
isSortableResource() - Method in interface org.springframework.data.rest.core.mapping.MethodResourceMapping
Returns whether the resource is sortable.
isValueType() - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
Returns whether the backing type is considered a Jackson value type.
items - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
 
iterator() - Method in class org.springframework.data.rest.core.mapping.ParametersMetadata
 
iterator() - Method in class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
 
iterator() - Method in class org.springframework.data.rest.core.mapping.SearchResourceMappings
 
iterator() - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
 

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.
JacksonMetadata - Class in org.springframework.data.rest.webmvc.json
Value object to abstract Jackson based bean metadata of a given type.
JacksonMetadata(ObjectMapper, Class<?>) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonMetadata
Creates a new JacksonMetadata instance for the given ObjectMapper and type.
JacksonSerializers - Class in org.springframework.data.rest.webmvc.json
Custom Spring Data REST Jackson serializers.
JacksonSerializers(EnumTranslator) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonSerializers
Creates a new JacksonSerializers with the given EnumTranslator.
JacksonSerializers.EnumTranslatingDeserializer - Class in org.springframework.data.rest.webmvc.json
Enum deserializer that uses a resource bundle to resolve enum values.
JacksonSerializers.EnumTranslatingSerializer - Class in org.springframework.data.rest.webmvc.json
An enum serializer to translate raw enum values into values resolved through a resource bundle.
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
 
JSON_PATCH_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
JsonSchema - Class in org.springframework.data.rest.webmvc.json
Model class to render JSON schema documents.
JsonSchema(String, String, Collection<JsonSchema.AbstractJsonSchemaProperty<?>>, JsonSchema.Definitions) - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchema
Creates a new JsonSchema instance for the given title, description, AbstractJsonSchemaPropertys and JsonSchema.Definitions.
JsonSchema.Definitions - Class in org.springframework.data.rest.webmvc.json
Value object to abstract a Map of JSON Schema definitions.
JsonSchema.EnumProperty - Class in org.springframework.data.rest.webmvc.json
A JsonSchema.JsonSchemaProperty representing enumerations.
JsonSchema.JsonSchemaProperty - Class in org.springframework.data.rest.webmvc.json
A JSON Schema property
jsonSchemaConverter() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
Turns a domain class into a JsonSchema.
JsonSchemaFormat - Enum in org.springframework.data.rest.core.config
An enum to represent JSON Schema pre-defined formats.
JsonSchemaPropertyCustomizer - Interface in org.springframework.data.rest.webmvc.json
Callback interface to customize the JsonSchema.JsonSchemaProperty created by default for a given type.

L

LinkCollectingAssociationHandler - Class in org.springframework.data.rest.webmvc.mapping
SimpleAssociationHandler that will collect Links for all linkable associations.
LinkCollectingAssociationHandler(PersistentEntities, Path, AssociationLinks) - Constructor for class org.springframework.data.rest.webmvc.mapping.LinkCollectingAssociationHandler
LinkedEntityEvent - Class in org.springframework.data.rest.core.event
Base class for RepositoryEvents that deal with saving/updating or deleting a linked object.
LinkedEntityEvent(Object, Object) - Constructor for class org.springframework.data.rest.core.event.LinkedEntityEvent
Creates a new LinkedEntityEvent for th given source and linked instance.
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
 
linksToSearchResources(Class<?>) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
Returns all links to search resource for the given type.
linksToSearchResources(Class<?>, Pageable) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
Returns all link to search resources for the given type, pre-expanded with the given Pageable if applicable.
linksToSearchResources(Class<?>, Sort) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
Returns all link to search resources for the given type, pre-expanded with the given Sort if applicable.
linkToCollectionResource(Class<?>) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
 
linkToPagedResource(Class<?>, Pageable) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
Returns the link to to the paged colelction resource for the given type, pre-expanding the
linkToSearchResource(Class<?>, String) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
Creates the link to the search resource with the given rel for a given type.
linkToSearchResource(Class<?>, String, Pageable) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
Creates the link to the search resource with the given rel for a given type.
linkToSearchResource(Class<?>, String, Sort) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
Creates the link to the search resource with the given rel for a given type.
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.BasePathAwareHandlerMapping
 
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.webmvc.json.PersistentEntityToJsonSchemaConverter
 
matches(PersistentEntity<?, ?>, Object) - Method in class org.springframework.data.rest.webmvc.support.ETag
Returns whether the ETag matches the given PersistentEntity and target.
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.
 
merge(ObjectNode, T, ObjectMapper) - Method in class org.springframework.data.rest.webmvc.json.DomainObjectReader
 
MERGE_PATCH_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
MetadataConfiguration - Class in org.springframework.data.rest.core.config
Configuration for metadata exposure.
MetadataConfiguration() - Constructor for class org.springframework.data.rest.core.config.MetadataConfiguration
 
metadataConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Deprecated.
metadataConfiguration() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
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.util
Simple helper with utilities to work with Methods.

N

NO_ETAG - Static variable in class org.springframework.data.rest.webmvc.support.ETag
 
None() - Constructor for class org.springframework.data.rest.core.annotation.RepositoryRestResource.None
 
NONE - Static variable in class org.springframework.data.rest.webmvc.BaseUri
 

O

objectMapper() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
The Jackson ObjectMapper used internally.
omitUnresolvableDescriptionKeys() - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Returns whether to omit documentation attributes for unresolvable resource bundle keys.
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.AnnotatedEventHandlerInvoker
 
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
 
optionsForRepositories() - Method in class org.springframework.data.rest.webmvc.RepositoryController
OPTIONS /.
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.mapping - package org.springframework.data.rest.core.mapping
 
org.springframework.data.rest.core.projection - package org.springframework.data.rest.core.projection
 
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.alps - package org.springframework.data.rest.webmvc.alps
 
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.halbrowser - package org.springframework.data.rest.webmvc.halbrowser
 
org.springframework.data.rest.webmvc.json - package org.springframework.data.rest.webmvc.json
 
org.springframework.data.rest.webmvc.mapping - package org.springframework.data.rest.webmvc.mapping
 
org.springframework.data.rest.webmvc.spi - package org.springframework.data.rest.webmvc.spi
 
org.springframework.data.rest.webmvc.support - package org.springframework.data.rest.webmvc.support
 
org.springframework.data.rest.webmvc.util - package org.springframework.data.rest.webmvc.util
 

P

pageableResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
PagingAndSortingTemplateVariables - Interface in org.springframework.data.rest.webmvc.support
Interface to abstract the access of TemplateVariables for pagination and sorting.
ParameterMetadata - Class in org.springframework.data.rest.core.mapping
Value object to capture metadata for query method parameters.
ParameterMetadata(MethodParameter, String) - Constructor for class org.springframework.data.rest.core.mapping.ParameterMetadata
Creates a new ParameterMetadata for the given MethodParameter and base rel.
ParametersMetadata - Class in org.springframework.data.rest.core.mapping
Value object for a list of ParameterMetadata instances.
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.
pattern - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
 
persistentEntities() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
PersistentEntitiesResourceMappings - Class in org.springframework.data.rest.core.mapping
PersistentEntitiesResourceMappings(PersistentEntities) - Constructor for class org.springframework.data.rest.core.mapping.PersistentEntitiesResourceMappings
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, PersistentEntities, RepositoryRestConfiguration, UriToEntityConverter, EntityLinks) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module
PersistentEntityJackson2Module.AssociationUriResolvingDeserializerModifier - Class in org.springframework.data.rest.webmvc.json
A BeanDeserializerModifier that registers a custom UriStringDeserializer for association properties of PersistentEntitys.
PersistentEntityProjector - Class in org.springframework.data.rest.webmvc.support
Projector looking up a projection by name for the given source type.
PersistentEntityProjector(ProjectionDefinitions, ProjectionFactory, String, ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.support.PersistentEntityProjector
Creates a new PersistentEntityProjector using the given ProjectionDefinitions, ProjectionFactory and projection name.
PersistentEntityResource - Class in org.springframework.data.rest.webmvc
A Spring HATEOAS Resource subclass that holds a reference to the entity's PersistentEntity metadata.
PersistentEntityResource.Builder - Class in org.springframework.data.rest.webmvc
Builder to create PersistentEntityResource instances.
PersistentEntityResourceAssembler - Class in org.springframework.data.rest.webmvc
ResourceAssembler to create PersistentEntityResources for arbitrary domain objects.
PersistentEntityResourceAssembler(PersistentEntities, EntityLinks, Projector, ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler
PersistentEntityResourceAssemblerArgumentResolver - Class in org.springframework.data.rest.webmvc.config
PersistentEntityResourceAssemblerArgumentResolver(PersistentEntities, EntityLinks, ProjectionDefinitions, ProjectionFactory, ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.config.PersistentEntityResourceAssemblerArgumentResolver
PersistentEntityResourceHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc.config
PersistentEntityResourceHandlerMethodArgumentResolver(List<HttpMessageConverter<?>>, RootResourceInformationHandlerMethodArgumentResolver, BackendIdHandlerMethodArgumentResolver, DomainObjectReader) - Constructor for class org.springframework.data.rest.webmvc.config.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
Converter to create JsonSchema instances for PersistentEntitys.
PersistentEntityToJsonSchemaConverter(PersistentEntities, ResourceMappings, MessageSourceAccessor, ObjectMapper, RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
postProcess(RepositoryInvoker, Class<?>, Map<String, String[]>) - Method in class org.springframework.data.rest.webmvc.config.RootResourceInformationHandlerMethodArgumentResolver
Potentially customize the given RepositoryInvoker for the given domain type.
postProcessAfterInitialization(Object, String) - Method in class org.springframework.data.rest.core.event.AnnotatedEventHandlerInvoker
 
postProcessBeforeInitialization(Object, String) - Method in class org.springframework.data.rest.core.event.AnnotatedEventHandlerInvoker
 
process(RepositoryLinksResource) - Method in class org.springframework.data.rest.webmvc.ProfileResourceProcessor
Add a link to the ProfileController's base URI to the app's root URI.
process(PersistentEntityResource) - Method in class org.springframework.data.rest.webmvc.support.PersistentEntityResourceProcessor
 
PROFILE_ROOT_MAPPING - Static variable in class org.springframework.data.rest.webmvc.ProfileController
 
ProfileController - Class in org.springframework.data.rest.webmvc
Profile-based controller exposing multiple forms of metadata.
ProfileController(RepositoryRestConfiguration, RepositoryResourceMappings, Repositories) - Constructor for class org.springframework.data.rest.webmvc.ProfileController
Wire up the controller with a copy of RepositoryRestConfiguration.
profileOptions() - Method in class org.springframework.data.rest.webmvc.ProfileController
List the OPTIONS for this controller.
profileResourceProcessor(RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
ProfileResourceProcessor - Class in org.springframework.data.rest.webmvc
ResourceProcessor to add a profile link to the root resource to point to multiple forms of metadata.
ProfileResourceProcessor(RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.ProfileResourceProcessor
project(Object) - Method in class org.springframework.data.rest.webmvc.support.PersistentEntityProjector
 
project(Object) - Method in interface org.springframework.data.rest.webmvc.support.Projector
Returns the projection object for the given source.
projectExcerpt(Object) - Method in class org.springframework.data.rest.webmvc.support.PersistentEntityProjector
 
projectExcerpt(Object) - Method in interface org.springframework.data.rest.webmvc.support.Projector
Creates a excerpt projection for the given source.
Projection - Annotation Type in org.springframework.data.rest.core.config
Annotation to tie a particular projection type to a source type.
projectionConfiguration() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
ProjectionDefinitionConfiguration - Class in org.springframework.data.rest.core.config
Wrapper class to register projection definitions for later lookup by name and source type.
ProjectionDefinitionConfiguration() - Constructor for class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
ProjectionDefinitionConfiguration(Iterable<ResourceMetadata>) - Constructor for class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Creates a new ProjectionDefinitionConfiguration from the given ResourceMetadata instances.
ProjectionDefinitions - Interface in org.springframework.data.rest.core.projection
Interface to allow the lookup of a projection interface by source type and name.
Projector - Interface in org.springframework.data.rest.webmvc.support
Interface for a component being able to create projections for objects.
PropertyAwareResourceMapping - Interface in org.springframework.data.rest.core.mapping
 

R

read(Class<? extends ResourceSupport>, HttpInputMessage) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
 
read(InputStream, T, ObjectMapper) - Method in class org.springframework.data.rest.webmvc.json.DomainObjectReader
Reads the given input stream into an ObjectNode and applies that to the given existing instance.
readPut(ObjectNode, T, ObjectMapper) - Method in class org.springframework.data.rest.webmvc.json.DomainObjectReader
Reads the given source node onto the given target object and applies PUT semantics, i.e. explicitly
reference - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
 
registerFormattingPatternFor(String, Class<?>) - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Registers the given formatting patter for the given value type.
registerJsonSchemaFormat(JsonSchemaFormat, Class<?>...) - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
 
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
 
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, MessageSourceAccessor) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage
 
RepositoryConstraintViolationExceptionMessage.ValidationError - Class in org.springframework.data.rest.webmvc.support
 
RepositoryController - Class in org.springframework.data.rest.webmvc
Controller for the root resource exposing links to the repository resources.
RepositoryController(PagedResourcesAssembler<Object>, Repositories, EntityLinks, ResourceMappings, AuditableBeanWrapperFactory) - Constructor for class org.springframework.data.rest.webmvc.RepositoryController
Creates a new RepositoryController for the given PagedResourcesAssembler, Repositories, EntityLinks and ResourceMappings.
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, PagingAndSortingTemplateVariables, PluginRegistry<BackendIdConverter, Class<?>>) - 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.
repositoryInvokerFactory() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
RepositoryLinkBuilder - Class in org.springframework.data.rest.webmvc.support
LinkBuilder to be able to create links pointing to repositories.
RepositoryLinkBuilder(ResourceMetadata, BaseUri) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
Creates a new RepositoryLinkBuilder with the given ResourceMetadata and base URI.
RepositoryLinksResource - Class in org.springframework.data.rest.webmvc
Dedicated resource type to represent the links pointing to collection resources exposed for repositories.
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(ObjectFactory<ResourceMappings>) - Constructor for class org.springframework.data.rest.core.support.RepositoryRelProvider
Creates a new RepositoryRelProvider for the given ResourceMappings.
repositoryRelProvider(ObjectFactory<ResourceMappings>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
RepositoryResourceMappings - Class in org.springframework.data.rest.core.mapping
Central abstraction obtain ResourceMetadata and ResourceMapping instances for domain types and repositories.
RepositoryResourceMappings(Repositories, PersistentEntities) - Constructor for class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
RepositoryResourceMappings(Repositories, PersistentEntities, RelProvider) - Constructor for class org.springframework.data.rest.core.mapping.RepositoryResourceMappings
Creates a new RepositoryResourceMappings from the given RepositoryRestConfiguration, Repositories and RelProvider.
RepositoryRestConfiguration - Class in org.springframework.data.rest.core.config
Spring Data REST configuration options.
RepositoryRestConfiguration(ProjectionDefinitionConfiguration, MetadataConfiguration, EnumTranslationConfiguration) - Constructor for class org.springframework.data.rest.core.config.RepositoryRestConfiguration
RepositoryRestConfigurer - Interface in org.springframework.data.rest.webmvc.config
Component to configure and customize the setup of Spring Data REST.
RepositoryRestConfigurerAdapter - Class in org.springframework.data.rest.webmvc.config
Convenience adapter for RepositoryRestConfigurer to allow selective override of configuration methods.
RepositoryRestConfigurerAdapter() - Constructor for class org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter
 
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
 
repositoryRestExceptionHandler() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
RepositoryRestExceptionHandler - Class in org.springframework.data.rest.webmvc
Exception handler for Spring Data REST controllers.
RepositoryRestExceptionHandler(MessageSource) - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestExceptionHandler
Creates a new RepositoryRestExceptionHandler using the given MessageSource.
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.
RepositoryRestResource.None - Class in org.springframework.data.rest.core.annotation
 
RepositorySearchesResource - Class in org.springframework.data.rest.webmvc
A custom ResourceSupport type to be able to write custom ResourceProcessors to add additional links to ones automatically exposed for Spring Data repository query methods.
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.config.PersistentEntityResourceAssemblerArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.config.PersistentEntityResourceHandlerMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.config.ResourceMetadataHandlerMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.config.RootResourceInformationHandlerMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.support.BackendIdHandlerMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageableHandlerMethodArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.support.ETagArgumentResolver
 
resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in enum org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
 
RESOURCE_PROFILE_MAPPING - Static variable in class org.springframework.data.rest.webmvc.ProfileController
 
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 - Interface in org.springframework.data.rest.core.mapping
 
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 through the system.
resourceMetadataHandlerMethodArgumentResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
ResourceMetadataHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc.config
ResourceMetadataHandlerMethodArgumentResolver(Repositories, ResourceMappings, BaseUri) - Constructor for class org.springframework.data.rest.webmvc.config.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.core.mapping
An enum listing all supported resource types.
restHandlerMapping() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
The HandlerMapping to delegate requests to Spring Data REST controllers.
RestMediaTypes - Class in org.springframework.data.rest.webmvc
Constants to refer to supported media types.
RestMediaTypes() - Constructor for class org.springframework.data.rest.webmvc.RestMediaTypes
 
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.
returnBodyOnCreate(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether to return a response body after creating an entity considering the given accept header.
returnBodyOnUpdate(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Whether to return a response body after updating an entity considering the given accept header.
RootResourceInformation - Class in org.springframework.data.rest.webmvc
Meta-information about the root repository resource.
RootResourceInformation(ResourceMetadata, PersistentEntity<?, ?>, RepositoryInvoker) - Constructor for class org.springframework.data.rest.webmvc.RootResourceInformation
 
RootResourceInformationHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc.config
HandlerMethodArgumentResolver to create RootResourceInformation for injection into Spring MVC controller methods.
RootResourceInformationHandlerMethodArgumentResolver(Repositories, RepositoryInvokerFactory, ResourceMetadataHandlerMethodArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.config.RootResourceInformationHandlerMethodArgumentResolver
RootResourceInformationToAlpsDescriptorConverter - Class in org.springframework.data.rest.webmvc.alps
Converter to create Alps Descriptor instances for a RootResourceInformation.
RootResourceInformationToAlpsDescriptorConverter(ResourceMappings, Repositories, PersistentEntities, EntityLinks, MessageSourceAccessor, RepositoryRestConfiguration, ObjectMapper) - Constructor for class org.springframework.data.rest.webmvc.alps.RootResourceInformationToAlpsDescriptorConverter

S

SCHEMA_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
SCHEMA_JSON_VALUE - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
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
serialize(Enum, JsonGenerator, SerializerProvider) - Method in class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingSerializer
 
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
 
setAlpsEnabled(boolean) - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Configures whether to expose the ALPS resources.
setBasePath(String) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Configures the base path to be used by Spring Data REST to expose repository resources.
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.
setEnableDefaultTranslation(boolean) - Method in interface org.springframework.data.rest.core.config.EnumTranslationConfiguration
Configures whether the default translation of enum names shall be applied.
setEnableDefaultTranslation(boolean) - Method in class org.springframework.data.rest.webmvc.json.EnumTranslator
 
setEnableEnumTranslation(boolean) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Configures whether to enable enum value translation via the Spring Data REST default resource bundle.
setExported(boolean) - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
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.
setOmitUnresolvableDescriptionKeys(boolean) - Method in class org.springframework.data.rest.core.config.MetadataConfiguration
Configures whether to omit documentation attributes for unresolvable resource bundle keys.
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.
setParameterName(String) - Method in class org.springframework.data.rest.core.config.ProjectionDefinitionConfiguration
Configures the request parameter name to be used to accept the projection name to be returned.
setParseEnumNameAsFallback(boolean) - Method in interface org.springframework.data.rest.core.config.EnumTranslationConfiguration
Configures whether to always accept the raw enum name when parsing.
setParseEnumNameAsFallback(boolean) - Method in class org.springframework.data.rest.webmvc.json.EnumTranslator
 
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.
setReturnBodyForPutAndPost(Boolean) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Convenience method to activate returning response bodies for all PUT and POST requests, i.e. both creating and updating entities.
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
Set 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
 
SimpleResourceDescription(String, MediaType) - Constructor for class org.springframework.data.rest.core.mapping.SimpleResourceDescription
Creates a new SimpleResourceDescription with the given message and MediaType.
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
 
sortResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
SPRING_DATA_COMPACT_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
SPRING_DATA_COMPACT_JSON_VALUE - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
SPRING_DATA_VERBOSE_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
SupportedHttpMethods - Interface in org.springframework.data.rest.core.mapping
An API to discover the HttpMethods supported on a given ResourceType.
SupportedHttpMethods.NoSupportedMethods - Enum in org.springframework.data.rest.core.mapping
Null object to abstract the absence of any support for any HTTP method.
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(MethodParameter, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
 
supports(Class<?>) - Method in enum org.springframework.data.rest.webmvc.spi.BackendIdConverter.DefaultIdConverter
 
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.config.PersistentEntityResourceAssemblerArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.config.PersistentEntityResourceHandlerMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.config.ResourceMetadataHandlerMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.config.RootResourceInformationHandlerMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.support.BackendIdHandlerMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageableHandlerMethodArgumentResolver
 
supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.support.ETagArgumentResolver
 
supportsParameter(MethodParameter) - Method in enum org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
 
supportsReturnType(MethodParameter) - Method in class org.springframework.data.rest.webmvc.ResourceProcessorHandlerMethodReturnValueHandler
 

T

TEXT_URI_LIST - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
TEXT_URI_LIST_VALUE - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
 
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
toFullResource(Object) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler
Returns the full object as PersistentEntityResource using the underlying Projector.
toMap(MultiValueMap<K, V>) - Static method in class org.springframework.data.rest.core.util.MapUtils
Turns a MultiValueMap into its Map equivalent.
toRequestId(Serializable, Class<?>) - Method in enum org.springframework.data.rest.webmvc.spi.BackendIdConverter.DefaultIdConverter
 
toRequestId(Serializable, Class<?>) - Method in interface org.springframework.data.rest.webmvc.spi.BackendIdConverter
Returns the id to be used in the URI generated to point to an entity of the given type with the given id.
toResource(Object) - 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 enum org.springframework.data.rest.core.config.JsonSchemaFormat
 
toString() - Method in class org.springframework.data.rest.core.config.ResourceMapping
Deprecated.
 
toString() - Method in class org.springframework.data.rest.core.Path
 
toString() - Method in class org.springframework.data.rest.webmvc.support.ETag
 
type - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
 
TypedResourceDescription - Class in org.springframework.data.rest.core.mapping
SimpleResourceDescription that additionally captures a type to be able to potentially create a reasonable default message.

U

uniqueItems - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
 
UnwrappingRepositoryInvokerFactory - Class in org.springframework.data.rest.core.support
RepositoryInvokerFactory that wraps the RepositoryInvokerFactory returned by the delegate with one that automatically unwraps JDK 8 Optional and Guava com.google.common.base.Optionals.
UnwrappingRepositoryInvokerFactory(RepositoryInvokerFactory) - Constructor for class org.springframework.data.rest.core.support.UnwrappingRepositoryInvokerFactory
updateBuilder(DeserializationConfig, BeanDescription, BeanDeserializerBuilder) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module.AssociationUriResolvingDeserializerModifier
 
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 GenericConverter that can convert a URI domain entity.
UriToEntityConverter(PersistentEntities, ConversionService) - Constructor for class org.springframework.data.rest.core.UriToEntityConverter
uriToEntityConverter(ConversionService) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
 
UriUtils - Class in org.springframework.data.rest.webmvc.util
Utility methods to work with requests and URIs.
useHalAsDefaultJsonMediaType() - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Returns whether HAL will be served as primary representation in case on application/json is requested.
useHalAsDefaultJsonMediaType(boolean) - Method in class org.springframework.data.rest.core.config.RepositoryRestConfiguration
Configures whether HAL will be served as primary representation in case on application/json is requested.
USER_METHODS - Static variable in class org.springframework.data.rest.core.util.Methods
 

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.
ValidationError(String, String, String, String) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
 
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
 
valueOf(String) - Static method in enum org.springframework.data.rest.core.config.JsonSchemaFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.rest.core.mapping.ResourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.data.rest.core.mapping.SupportedHttpMethods.NoSupportedMethods
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.spi.BackendIdConverter.DefaultIdConverter
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.config.JsonSchemaFormat
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.mapping.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.core.mapping.SupportedHttpMethods.NoSupportedMethods
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.spi.BackendIdConverter.DefaultIdConverter
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.
verify(PersistentEntity<?, ?>, Object) - Method in class org.springframework.data.rest.webmvc.support.ETag
Verifies the ETag to be created for the given target bean with the current one and raises a ETagDoesntMatchException in case they don't match.
verifySupportedMethod(HttpMethod, ResourceType) - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
Verifies that the given HttpMethod is supported for the given ResourceType.
verifySupportedMethod(HttpMethod, PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
Verifies that the given HttpMethod is supported for the given PersistentProperty.

W

with(TypeInformation<?>) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
Configures the JsonSchema.JsonSchemaProperty to reflect the given type.
withEmbedded(Iterable<EmbeddedWrapper>) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
Configures the builder to embed the given EmbeddedWrapper instances.
withFormat(JsonSchemaFormat) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
Configures the given JsonSchemaFormat to be exposed on the current JsonSchema.JsonSchemaProperty.
withLink(Link) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
Adds the given Link to the PersistentEntityResource.
withPattern(Pattern) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
Configures the JsonSchema.JsonSchemaProperty to require the given Pattern.
withRegex(String) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
Configures the JsonSchema.JsonSchemaProperty to require the given regular expression as pattern.
withResourceRel() - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
 
withType(Class<?>) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
Configures the JsonSchema.JsonSchemaProperty to reflect the given type.
withValues(List<String>) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
Returns the current JsonSchema.EnumProperty exposing the given values.
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 
Skip navigation links
Spring Data REST

Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.