Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addResourceHandlers(ResourceHandlerRegistry) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- addTo(HttpHeaders) - Method in class org.springframework.data.rest.webmvc.support.ETag
-
Adds the current
ETag
to the given headers. - afterPropertiesSet() - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
- AggregateReferenceResolvingModule - Class in org.springframework.data.rest.webmvc.json
-
Jackson module to enable aggregate reference resolution for non-aggregate root types.
- AggregateReferenceResolvingModule(UriToEntityConverter, ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.json.AggregateReferenceResolvingModule
-
Creates a new
AggregateReferenceResolvingModule
using the givenUriToEntityConverter
andResourceMappings
. - 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 givenResourceMappings
. - alpsConverter(Repositories, PersistentEntities, RepositoryEntityLinks, EnumTranslator, Associations, RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- alpsJsonHttpMessageConverter(RootResourceInformationToAlpsDescriptorConverter) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- AlpsJsonHttpMessageConverter - Class in org.springframework.data.rest.webmvc.alps
- AlpsJsonHttpMessageConverter(RootResourceInformationToAlpsDescriptorConverter) - Constructor for class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
-
Creates a new
AlpsJsonHttpMessageConverter
for the givenConverter
. - annotatedEventHandlerInvoker() - Static method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- appendPath(Path) - Method in class org.springframework.data.rest.webmvc.BaseUri
- apply(List<T>, Class<T>) - Method in class org.springframework.data.rest.webmvc.json.patch.Patch
-
Applies the Patch to a given List of objects.
- apply(T, Class<T>) - Method in class org.springframework.data.rest.webmvc.json.patch.Patch
-
Applies the Patch to a given Object graph.
- asAssociation() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
-
Turns the current
JsonSchema.JsonSchemaProperty
into an association. - associationLinks(RepositoryResourceMappings, RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- Associations - Class in org.springframework.data.rest.webmvc.mapping
-
A value object to for
Link
s representing associations. - Associations(ResourceMappings, RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.mapping.Associations
- AssociationUriResolvingDeserializerModifier(PersistentEntities, Associations, UriToEntityConverter, RepositoryInvokerFactory) - 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 configuredMessageSourceAccessor
potentially falling back to the default translation if configured. - auditableBeanWrapperFactory(PersistentEntities) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
B
- BackendId - Annotation Interface 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 Class in org.springframework.data.rest.webmvc.spi
-
The default
BackendIdConverter
that will simply use ids as they are. - backendIdConverterRegistry(List<BackendIdConverter>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- backendIdHandlerMethodArgumentResolver(PluginRegistry<BackendIdConverter, Class<?>>, ResourceMetadataHandlerMethodArgumentResolver, BaseUri) - 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 withBackendId
. - BackendIdHandlerMethodArgumentResolver(PluginRegistry<BackendIdConverter, Class<?>>, ResourceMetadataHandlerMethodArgumentResolver, BaseUri) - Constructor for class org.springframework.data.rest.webmvc.support.BackendIdHandlerMethodArgumentResolver
-
Creates a new
BackendIdHandlerMethodArgumentResolver
for the givenBackendIdConverter
s andResourceMetadataHandlerMethodArgumentResolver
. - BasePathAwareController - Annotation Interface 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
-
Creates a new
BasePathAwareHandlerMapping
using the givenRepositoryRestConfiguration
. - baseUri(RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- 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(String) - Constructor for class org.springframework.data.rest.webmvc.BaseUri
-
Creates a new
BaseUri
with the given URI as base. - BaseUri(URI) - Constructor for class org.springframework.data.rest.webmvc.BaseUri
-
Creates a new
BaseUri
with the given URI as base. - 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
- BindContext - Interface in org.springframework.data.rest.webmvc.json.patch
-
Contextual mapping for he translation of JSON Pointer segments into property references on persistent types.
- BindContextFactory - Interface in org.springframework.data.rest.webmvc.json
-
Factory to create
BindContext
instances. - build() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
-
Finally creates the
PersistentEntityResource
instance. - build(Object, PersistentEntity<?, ?>) - Static method in class org.springframework.data.rest.webmvc.PersistentEntityResource
-
Creates a new
PersistentEntityResource.Builder
to createPersistentEntityResource
s eventually. - buildNested() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
C
- canRead(Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
- canRead(Type, Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
- 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
- canWrite(Type, Class<?>, MediaType) - Method in class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
- configureConversionService(ConfigurableConversionService) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Override this method to add your own converters.
- configureExceptionHandlerExceptionResolver(ExceptionHandlerExceptionResolver) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Configure the
ExceptionHandlerExceptionResolver
. - configureHttpMessageConverters(List<HttpMessageConverter<?>>) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Configure the available
HttpMessageConverter
s by adding your own. - configureJacksonObjectMapper(ObjectMapper) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Configure the Jackson
ObjectMapper
directly. - configureObjectMapper(ObjectMapper) - Static method in class org.springframework.data.rest.webmvc.json.Jackson2DatatypeHelper
- configureRepositoryRestConfiguration(RepositoryRestConfiguration, CorsRegistry) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Override this method to add additional configuration.
- configureValidatingRepositoryEventListener(ValidatingRepositoryEventListener) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Override this method to add validators manually.
- ConstraintViolationExceptionMessage - Class in org.springframework.data.rest.webmvc.support
- ConstraintViolationExceptionMessage(ConstraintViolationException, MessageSource, Locale) - Constructor for class org.springframework.data.rest.webmvc.support.ConstraintViolationExceptionMessage
- ConstraintViolationMessage - Class in org.springframework.data.rest.webmvc.support
-
A helper class to encapsulate
ConstraintViolation
errors. - ConstraintViolationMessage(ConstraintViolation<?>, MessageSource, Locale) - Constructor for class org.springframework.data.rest.webmvc.support.ConstraintViolationMessage
- ControllerUtils - Class in org.springframework.data.rest.webmvc
- ControllerUtils() - Constructor for class org.springframework.data.rest.webmvc.ControllerUtils
- convert(JsonNode) - Method in class org.springframework.data.rest.webmvc.json.patch.JsonPatchPatchConverter
-
Constructs a
Patch
object given a JsonNode. - 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
- convert(RootResourceInformation) - Method in class org.springframework.data.rest.webmvc.alps.RootResourceInformationToAlpsDescriptorConverter
- convert(T) - Method in interface org.springframework.data.rest.webmvc.json.patch.PatchConverter
-
Convert a patch document representation to a
Patch
. - CorsConfigurationAware - Interface in org.springframework.data.rest.webmvc.config
-
Components that are aware of CORS configuration.
- createContextual(DeserializationContext, BeanProperty) - Method in class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingDeserializer
- createNewInstance(UriComponents, List<Affordance>) - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
- 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.BasePathAwareHandlerMapping
-
Customize the given
ProducesRequestCondition
. - customize(ProducesRequestCondition) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
- customizeAuditableBeanWrapperFactory(AuditableBeanWrapperFactory) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Customize the
AuditableBeanWrapperFactory
to be used. - customizeLinkCollector(LinkCollector) - Method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Customize the
LinkCollector
to be used. - customizeResources(ResourceHandlerRegistry, RepositoryRestConfiguration) - Method in interface org.springframework.data.rest.webmvc.config.StaticResourceProvider
-
Customize the given
ResourceHandlerRegistry
.
D
- DEFAULT_ALLOWED_METHODS - Static variable in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
- defaultConversionService(PersistentEntities, RepositoryInvokerFactory, Repositories) - 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 whether it is the default one configured. - DefaultedPageable(Pageable, boolean) - Constructor for class org.springframework.data.rest.webmvc.support.DefaultedPageable
- DefaultedPageableHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc.support
-
HandlerMethodArgumentResolver
to resolveDefaultedPageable
if requested. - DefaultedPageableHandlerMethodArgumentResolver(PageableHandlerMethodArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.support.DefaultedPageableHandlerMethodArgumentResolver
-
Creates a new
DefaultedPageableHandlerMethodArgumentResolver
delegating to the givenPageableHandlerMethodArgumentResolver
. - DefaultExcerptProjector - Class in org.springframework.data.rest.webmvc.support
-
DefaultedPageable
implementation ofExcerptProjector
that uses the givenProjectionFactory
and considers the givenResourceMappings
. - DefaultExcerptProjector(ProjectionFactory, ResourceMappings) - Constructor for class org.springframework.data.rest.webmvc.support.DefaultExcerptProjector
- DefaultLinkCollector - Class in org.springframework.data.rest.webmvc.mapping
-
A service to collect all standard links that need to be added to a certain object.
- DefaultLinkCollector(PersistentEntities, SelfLinkProvider, Associations) - Constructor for class org.springframework.data.rest.webmvc.mapping.DefaultLinkCollector
-
Creates a new
DefaultLinkCollector
for the givenPersistentEntities
,SelfLinkProvider
andAssociations
. - defaultMessageConverters(TypeConstrainedMappingJackson2HttpMessageConverter, TypeConstrainedMappingJackson2HttpMessageConverter, TypeConstrainedMappingJackson2HttpMessageConverter, AlpsJsonHttpMessageConverter, UriListHttpMessageConverter, RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- defaultMethodArgumentResolvers(SelfLinkProvider, PersistentEntityResourceHandlerMethodArgumentResolver, RootResourceInformationHandlerMethodArgumentResolver) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- Definitions() - Constructor for class org.springframework.data.rest.webmvc.json.JsonSchema.Definitions
- 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
- deserialize(JsonParser, DeserializationContext) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module.UriStringDeserializer
- deserializeWithType(JsonParser, DeserializationContext, TypeDeserializer) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module.UriStringDeserializer
-
Deserialize by ignoring the
TypeDeserializer
, as URIs will either resolve to null or a concrete instance anyway. - DomainClassResolver - Class in org.springframework.data.rest.webmvc.support
-
Resolves a domain class from a web request.
- DomainObjectReader - Class in org.springframework.data.rest.webmvc.json
-
Component to apply an
ObjectNode
to an existing domain object. - DomainObjectReader(PersistentEntities, Associations) - Constructor for class org.springframework.data.rest.webmvc.json.DomainObjectReader
E
- EmbeddedResourcesAssembler - Class in org.springframework.data.rest.webmvc
- EmbeddedResourcesAssembler(PersistentEntities, Associations, ExcerptProjector) - Constructor for class org.springframework.data.rest.webmvc.EmbeddedResourcesAssembler
- entitiesToResources(Iterable<Object>, PersistentEntityResourceAssembler, Class<?>) - Method in class org.springframework.data.rest.webmvc.RepositoryController
- entitiesToResources(Page<Object>, PersistentEntityResourceAssembler, Class<?>, Optional<Link>) - Method in class org.springframework.data.rest.webmvc.RepositoryController
- entityLinks(ObjectFactory<HateoasPageableHandlerMethodArgumentResolver>, Repositories, RepositoryResourceMappings, PluginRegistry<BackendIdConverter, Class<?>>, RepositoryRestConfiguration, ObjectFactory<HateoasSortHandlerMethodArgumentResolver>) - 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
-
Creates a new
JacksonSerializers.EnumTranslatingDeserializer
using the givenEnumTranslator
. - EnumTranslatingDeserializer(EnumTranslator, BeanProperty) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingDeserializer
-
Creates a new
JacksonSerializers.EnumTranslatingDeserializer
using the givenEnumTranslator
andBeanProperty
. - EnumTranslatingSerializer(EnumTranslator) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingSerializer
-
Creates a new
JacksonSerializers.EnumTranslatingSerializer
using the givenEnumTranslator
. - enumTranslator(MessageResolver) - 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(MessageResolver) - Constructor for class org.springframework.data.rest.webmvc.json.EnumTranslator
-
Creates a new
EnumTranslator
using the givenMessageSourceAccessor
. - equals(Object) - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageable
- equals(Object) - Method in class org.springframework.data.rest.webmvc.support.ETag
- equals(Object) - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
- 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 handlingETag
. - 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 theETag
it was expected to match. - evaluate(Class<?>) - Method in class org.springframework.data.rest.webmvc.json.patch.PatchOperation
- evaluateValueFromTarget(Object, Class<?>, BindContext) - Method in class org.springframework.data.rest.webmvc.json.patch.PatchOperation
-
Performs late-value evaluation on the operation value if the value is a
LateObjectEvaluator
. - 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
- excerptProjector(RepositoryResourceMappings) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- ExcerptProjector - Interface in org.springframework.data.rest.webmvc.support
-
Interface for a component that can provide excerpt projections.
- extendHandlerExceptionResolvers(List<HandlerExceptionResolver>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- extendInterceptors(List<Object>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
F
- 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.
- 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
- from(String) - Static method in class org.springframework.data.rest.webmvc.support.ETag
- from(Optional<String>) - Static method in class org.springframework.data.rest.webmvc.support.ETag
- from(PersistentEntity<?, ? extends PersistentProperty<?>>, Object) - Static method in class org.springframework.data.rest.webmvc.support.ETag
-
Creates a new
ETag
from the givenPersistentEntity
and target bean. - from(PersistentEntityResource) - Static method in class org.springframework.data.rest.webmvc.support.ETag
-
Creates a new
ETag
for the givenPersistentEntityResource
. - fromRequestId(String, Class<?>) - Method in enum class 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.
G
- getBean() - Method in exception org.springframework.data.rest.webmvc.support.ETagDoesntMatchException
-
Returns the bean not matching the
ETag
. - getBindContextFor(ObjectMapper) - Method in interface org.springframework.data.rest.webmvc.json.BindContextFactory
-
Creates a
BindContext
for the givenObjectMapper
. - getBindContextFor(ObjectMapper) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntitiesBindContextFactory
- getBody() - Method in class org.springframework.data.rest.webmvc.IncomingRequest
-
Returns the body of the request.
- getBody() - Method in class org.springframework.data.rest.webmvc.util.InputStreamHttpInputMessage
- getCause() - Method in class org.springframework.data.rest.webmvc.support.ConstraintViolationExceptionMessage
- getCause() - Method in class org.springframework.data.rest.webmvc.support.ExceptionMessage
- getContainer() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
- getConvertibleTypes() - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
- getCorsConfiguration(Object, HttpServletRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
- getCorsConfigurations() - Method in interface org.springframework.data.rest.webmvc.config.CorsConfigurationAware
-
Return the registered
CorsConfiguration
objects, keyed by path pattern. - getCustomizerFor(Class<?>) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter.ValueTypeSchemaPropertyCustomizerFactory
- getDefaultSelfLink() - Method in class org.springframework.data.rest.webmvc.RepositoryController
- getDefinitionFor(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
-
Returns the
BeanPropertyDefinition
for the givenPersistentProperty
. - 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.webmvc.json.JsonSchema
- 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
- getEmbeddedResources(Object) - Method in class org.springframework.data.rest.webmvc.EmbeddedResourcesAssembler
-
Returns the embedded resources to render.
- 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
- getEntityLookups() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- getErrors() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage
- getExpectedETag() - Method in exception org.springframework.data.rest.webmvc.support.ETagDoesntMatchException
-
Returns the
ETag
the bean was expected to match. - getFallbackDescription(ResourceMetadata, BeanPropertyDefinition) - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
-
Returns the fallback
ResourceDescription
to be used for the givenBeanPropertyDefinition
. - getHeaders() - Method in class org.springframework.data.rest.webmvc.util.InputStreamHttpInputMessage
- 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
- getLinksFor(Object) - Method in class org.springframework.data.rest.webmvc.mapping.DefaultLinkCollector
-
Returns all
Links
for the given object. - getLinksFor(Object) - Method in interface org.springframework.data.rest.webmvc.mapping.LinkCollector
-
Returns all
Links
for the given object. - getLinksFor(Object, Links) - Method in class org.springframework.data.rest.webmvc.mapping.DefaultLinkCollector
-
Returns all
Links
for the given object and already existingLink
. - getLinksFor(Object, Links) - Method in interface org.springframework.data.rest.webmvc.mapping.LinkCollector
-
Returns all
Links
for the given object and already existingLink
. - getLinksFor(Association<? extends PersistentProperty<?>>, Path) - Method in class org.springframework.data.rest.webmvc.mapping.Associations
-
Returns the links to render for the given
Association
. - getLinksForNested(Object, Links) - Method in class org.springframework.data.rest.webmvc.mapping.DefaultLinkCollector
- getLinksForNested(Object, Links) - Method in interface org.springframework.data.rest.webmvc.mapping.LinkCollector
- getMappingForMethod(Method, Class<?>) - Method in class org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping
- getMappings() - Method in class org.springframework.data.rest.webmvc.mapping.Associations
- 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
- getMetadataFor(Class<?>) - Method in class org.springframework.data.rest.webmvc.mapping.Associations
-
Returns the
ResourceMetadata
for the given type. - getName() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
- getOrder() - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
- getPageable() - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageable
-
Returns the delegate
Pageable
. - getPaginationTemplateVariables(MethodParameter, UriComponents) - Method in interface org.springframework.data.rest.webmvc.support.PagingAndSortingTemplateVariables
-
Returns the
TemplateVariables
for pagination. - 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.
- getPathSegments(Method) - Static method in class org.springframework.data.rest.webmvc.util.UriUtils
-
Returns the mapping path segments request mapping.
- 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
- 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. - getReadableProperty(String, Class<?>) - Method in interface org.springframework.data.rest.webmvc.json.patch.BindContext
-
Return the name of the readable property for the given JSON pointer segment.
- getRepositoryLookupPath(String) - Method in class org.springframework.data.rest.webmvc.BaseUri
-
Extracts the actual lookup path within the Spring Data REST managed URI space.
- getRepositoryLookupPath(NativeWebRequest) - Method in class org.springframework.data.rest.webmvc.BaseUri
-
Extracts the actual lookup path within the Spring Data REST managed URI space.
- getResourceMetadata() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
- 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
- getSearchMappings() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
- getServerHttpRequest() - Method in class org.springframework.data.rest.webmvc.IncomingRequest
-
Returns the underlying
ServerHttpRequest
. - getSortTemplateVariables(MethodParameter, UriComponents) - Method in interface org.springframework.data.rest.webmvc.support.PagingAndSortingTemplateVariables
-
Returns the
TemplateVariables
for sorting. - getSupportedMediaTypes() - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
- getSupportedMethods() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
- getTarget() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource
-
Returns the underlying instance.
- getThis() - Method in class org.springframework.data.rest.webmvc.support.RepositoryLinkBuilder
- getTitle() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
- getTitle() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema
- 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() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
- getValues(Class<? extends Enum<?>>) - Method in class org.springframework.data.rest.webmvc.json.EnumTranslator
-
Returns all potentially translated values for the given
Enum
type. - getWritableProperty(String, Class<?>) - Method in interface org.springframework.data.rest.webmvc.json.patch.BindContext
-
Returns the name of the writable property for the given JSON pointer segment.
H
- HAL_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
- halJacksonHttpMessageConverter(LinkCollector, RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- halObjectMapper(LinkCollector) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- handleNoMatch(Set<RequestMappingInfo>, String, HttpServletRequest) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
- hasCorsConfigurationSource(Object) - Method in class org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping
- hasExcerptProjection(Class<?>) - Method in class org.springframework.data.rest.webmvc.support.DefaultExcerptProjector
- hasExcerptProjection(Class<?>) - Method in interface org.springframework.data.rest.webmvc.support.ExcerptProjector
-
Returns whether an excerpt projection has been registered for the given type.
- hashCode() - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageable
- hashCode() - Method in class org.springframework.data.rest.webmvc.support.ETag
- hashCode() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
- headForRepositories() - Method in class org.springframework.data.rest.webmvc.RepositoryController
-
HEAD /
- httpHeadersPreparer(AuditableBeanWrapperFactory) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- HttpHeadersPreparer - Class in org.springframework.data.rest.webmvc
- HttpHeadersPreparer(AuditableBeanWrapperFactory) - Constructor for class org.springframework.data.rest.webmvc.HttpHeadersPreparer
- HttpMethodHandlerMethodArgumentResolver - Enum Class in org.springframework.data.rest.webmvc.support
-
HandlerMethodArgumentResolver
to provideHttpMethod
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
-
Creates a new
IncomingRequest
fromServerHttpRequest
. - InputStreamHttpInputMessage - Class in org.springframework.data.rest.webmvc.util
-
HttpInputMessage
based on a plainInputStream
, i.e. exposing no headers. - INSTANCE - Enum constant in enum class org.springframework.data.rest.webmvc.spi.BackendIdConverter.DefaultIdConverter
- INSTANCE - Enum constant in enum class org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
- isDefault() - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageable
-
Returns whether the contained
Pageable
is the default one configured. - 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
-
Deprecated.for overriding in 3.6. Will be made final in 4.0.
- isHandlerInternal(Class<?>) - Method in class org.springframework.data.rest.webmvc.BasePathAwareHandlerMapping
-
Returns whether the given controller type is considered a handler.
- isHandlerInternal(Class<?>) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
- isIdExposed(PersistentEntity<?, ?>) - Method in class org.springframework.data.rest.webmvc.mapping.Associations
- 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(Association<? extends PersistentProperty<?>>) - Method in class org.springframework.data.rest.webmvc.mapping.Associations
-
Returns whether the given
Association
is linkable. - isLinkableAssociation(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.mapping.Associations
-
Returns whether the given property is an association that is linkable.
- isLookupType(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.mapping.Associations
-
Returns whether the type of the given
PersistentProperty
is configured as lookup type. - isNested() - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource
- 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.
- isObjectStillValid(Object, HttpHeaders) - Method in class org.springframework.data.rest.webmvc.HttpHeadersPreparer
-
Returns whether the given object is still valid in the context of the given
HttpHeaders
' requirements. - isPatchRequest() - Method in class org.springframework.data.rest.webmvc.IncomingRequest
-
Returns whether the request is a PATCH request.
- isReadOnly() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
- isReadOnly(PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.json.JacksonMetadata
-
Returns whether the given
PersistentProperty
is considered read-only by Jackson. - 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.webmvc.json.JacksonMetadata
- iterator() - Method in class org.springframework.data.rest.webmvc.json.patch.Patch
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(RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
-
The
HttpMessageConverter
used by Spring MVC to read and write JSON data. - JacksonMappingAwareSortTranslator - Class in org.springframework.data.rest.webmvc.json
-
Translator for
Sort
arguments that is aware of Jackson-Mapping on domain classes. - JacksonMappingAwareSortTranslator(ObjectMapper, Repositories, DomainClassResolver, PersistentEntities, Associations) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonMappingAwareSortTranslator
-
Creates a new
JacksonMappingAwareSortTranslator
for the givenObjectMapper
,Repositories
,DomainClassResolver
andPersistentEntities
. - JacksonMappingAwareSortTranslator.SortTranslator - Class in org.springframework.data.rest.webmvc.json
-
Translates
Sort
orders from Jackson-mapped field names toPersistentProperty
names. - 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 givenObjectMapper
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 givenEnumTranslator
. - 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
- JsonPatchPatchConverter - Class in org.springframework.data.rest.webmvc.json.patch
-
Convert
JsonNode
s containing JSON Patch to/fromPatch
objects. - JsonPatchPatchConverter(ObjectMapper, BindContext) - Constructor for class org.springframework.data.rest.webmvc.json.patch.JsonPatchPatchConverter
- 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,JsonSchema.AbstractJsonSchemaProperty
s andJsonSchema.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(PersistentEntities, Associations, RepositoryInvokerFactory, RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
-
Turns a domain class into a
JsonSchema
. - JsonSchemaPropertyCustomizer - Interface in org.springframework.data.rest.webmvc.json
-
Callback interface to customize the
JsonSchema.JsonSchemaProperty
created by default for a given type.
L
- linkCollector(PersistentEntities, SelfLinkProvider, Associations) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- LinkCollector - Interface in org.springframework.data.rest.webmvc.mapping
-
A service to collect all standard links that need to be added to a certain object.
- 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
- linkForItemResource(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
- linkToItemResource(Class<?>, Object) - 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<?>, LinkRelation) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
-
Creates the link to the search resource with the given
LinkRelation
for a given type. - linkToSearchResource(Class<?>, LinkRelation, Pageable) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
-
Creates the link to the search resource with the given
LinkRelation
for a given type. - linkToSearchResource(Class<?>, LinkRelation, Sort) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
-
Creates the link to the search resource with the given
LinkRelation
for a given type. - 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
- LookupObjectSerializer(PluginRegistry<EntityLookup<?>, Class<?>>) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module.LookupObjectSerializer
M
- MappingAwareDefaultedPageableArgumentResolver - Class in org.springframework.data.rest.webmvc.json
-
HandlerMethodArgumentResolver
to resolveDefaultedPageable
from aPageableHandlerMethodArgumentResolver
applying field to property mapping. - MappingAwareDefaultedPageableArgumentResolver(JacksonMappingAwareSortTranslator, PageableHandlerMethodArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.json.MappingAwareDefaultedPageableArgumentResolver
- MappingAwarePageableArgumentResolver - Class in org.springframework.data.rest.webmvc.json
-
HandlerMethodArgumentResolver
to resolvePageable
from aPageableArgumentResolver
applying field to property mapping. - MappingAwarePageableArgumentResolver(JacksonMappingAwareSortTranslator, PageableArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.json.MappingAwarePageableArgumentResolver
- MappingAwareSortArgumentResolver - Class in org.springframework.data.rest.webmvc.json
-
HandlerMethodArgumentResolver
to resolveSort
from aSortHandlerMethodArgumentResolver
applying field to property mapping. - MappingAwareSortArgumentResolver(JacksonMappingAwareSortTranslator, SortArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.json.MappingAwareSortArgumentResolver
- 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 givenPersistentEntity
and target. - MERGE_PATCH_JSON - Static variable in class org.springframework.data.rest.webmvc.RestMediaTypes
- metadataConfiguration() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
N
- NO_ETAG - Static variable in class org.springframework.data.rest.webmvc.support.ETag
- 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. - of(InputStream) - Static method in class org.springframework.data.rest.webmvc.util.InputStreamHttpInputMessage
- of(String, String, Object, String) - Static method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
- of(Repositories, ResourceMappings, BaseUri) - Static method in class org.springframework.data.rest.webmvc.support.DomainClassResolver
- op - Variable in class org.springframework.data.rest.webmvc.json.patch.PatchOperation
- optionsForRepositories() - Method in class org.springframework.data.rest.webmvc.RepositoryController
-
OPTIONS /
. - 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.aot - package org.springframework.data.rest.webmvc.aot
-
AOT & native configuration for rest.webmvc
- org.springframework.data.rest.webmvc.config - package org.springframework.data.rest.webmvc.config
- org.springframework.data.rest.webmvc.convert - package org.springframework.data.rest.webmvc.convert
- org.springframework.data.rest.webmvc.json - package org.springframework.data.rest.webmvc.json
- org.springframework.data.rest.webmvc.json.patch - package org.springframework.data.rest.webmvc.json.patch
- 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. - Patch - Class in org.springframework.data.rest.webmvc.json.patch
-
Represents a Patch.
- Patch(List<PatchOperation>, BindContext) - Constructor for class org.springframework.data.rest.webmvc.json.patch.Patch
- PatchConverter<T> - Interface in org.springframework.data.rest.webmvc.json.patch
-
A strategy interface for producing
Patch
instances from a patch document representation (such as JSON Patch) and rendering a Patch to a patch document representation. - PatchException - Exception in org.springframework.data.rest.webmvc.json.patch
-
Exception thrown if an error occurs in the course of applying a Patch.
- PatchException(String) - Constructor for exception org.springframework.data.rest.webmvc.json.patch.PatchException
- PatchException(String, Exception) - Constructor for exception org.springframework.data.rest.webmvc.json.patch.PatchException
- PatchOperation - Class in org.springframework.data.rest.webmvc.json.patch
-
Abstract base class representing and providing support methods for patch operations.
- PatchOperation(String, SpelPath.UntypedSpelPath) - Constructor for class org.springframework.data.rest.webmvc.json.patch.PatchOperation
-
Constructs the operation.
- PatchOperation(String, SpelPath.UntypedSpelPath, Object) - Constructor for class org.springframework.data.rest.webmvc.json.patch.PatchOperation
- path - Variable in class org.springframework.data.rest.webmvc.json.patch.PatchOperation
- path() - Element in annotation interface org.springframework.data.rest.webmvc.BasePathAwareController
-
The root path to be prepended to all request mappings configured on handler methods.
- path() - Element in annotation interface org.springframework.data.rest.webmvc.RepositoryRestController
-
The root path to be prepended to all request mappings configured on handler methods.
- pattern - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
- persistentEntities() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- PersistentEntitiesBindContextFactory - Class in org.springframework.data.rest.webmvc.json
-
A
BindContextFactory
based onPersistentEntities
. - PersistentEntitiesBindContextFactory(PersistentEntities) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntitiesBindContextFactory
-
Creates a new
PersistentEntitiesBindContextFactory
for the givenPersistentEntities
. - persistentEntityArgumentResolver(List<HttpMessageConverter<?>>, RootResourceInformationHandlerMethodArgumentResolver, Associations, BackendIdHandlerMethodArgumentResolver, PersistentEntities) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
-
Reads incoming JSON into an entity.
- persistentEntityJackson2Module(LinkCollector) - 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
PersistentEntityResource
s. - PersistentEntityJackson2Module(Associations, PersistentEntities, UriToEntityConverter, LinkCollector, RepositoryInvokerFactory, PersistentEntityJackson2Module.LookupObjectSerializer, RepresentationModelProcessorInvoker, EmbeddedResourcesAssembler) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module
-
Creates a new
PersistentEntityJackson2Module
using the givenResourceMappings
,Repositories
,RepositoryRestConfiguration
,UriToEntityConverter
andSelfLinkProvider
. - PersistentEntityJackson2Module.AssociationUriResolvingDeserializerModifier - Class in org.springframework.data.rest.webmvc.json
-
A
BeanDeserializerModifier
that registers a customPersistentEntityJackson2Module.UriStringDeserializer
for association properties ofPersistentEntity
s. - PersistentEntityJackson2Module.LookupObjectSerializer - Class in org.springframework.data.rest.webmvc.json
- PersistentEntityJackson2Module.UriStringDeserializer - Class in org.springframework.data.rest.webmvc.json
-
Custom
JsonDeserializer
to interpretString
values as URIs and resolve them using aUriToEntityConverter
. - 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 givenProjectionDefinitions
,ProjectionFactory
and projection name. - PersistentEntityResource - Class in org.springframework.data.rest.webmvc
-
A Spring HATEOAS
EntityModel
subclass that holds a reference to the entity'sPersistentEntity
metadata. - PersistentEntityResource.Builder - Class in org.springframework.data.rest.webmvc
-
Builder to create
PersistentEntityResource
instances. - PersistentEntityResourceAssembler - Class in org.springframework.data.rest.webmvc
-
RepresentationModelAssembler
to createPersistentEntityResource
s for arbitrary domain objects. - PersistentEntityResourceAssembler(PersistentEntities, Projector, Associations, SelfLinkProvider) - Constructor for class org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler
-
Creates a new
PersistentEntityResourceAssembler
for the givenPersistentEntities
,Projector
,Associations
andSelfLinkProvider
. - PersistentEntityResourceAssemblerArgumentResolver - Class in org.springframework.data.rest.webmvc.config
- PersistentEntityResourceAssemblerArgumentResolver(PersistentEntities, SelfLinkProvider, ProjectionDefinitions, ProjectionFactory, Associations) - Constructor for class org.springframework.data.rest.webmvc.config.PersistentEntityResourceAssemblerArgumentResolver
- PersistentEntityResourceHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc.config
-
Custom
HandlerMethodArgumentResolver
to createPersistentEntityResource
instances. - PersistentEntityResourceHandlerMethodArgumentResolver(List<HttpMessageConverter<?>>, RootResourceInformationHandlerMethodArgumentResolver, BackendIdHandlerMethodArgumentResolver, DomainObjectReader, PluginRegistry<EntityLookup<?>, Class<?>>, BindContextFactory) - Constructor for class org.springframework.data.rest.webmvc.config.PersistentEntityResourceHandlerMethodArgumentResolver
- PersistentEntityResourceProcessor - Class in org.springframework.data.rest.webmvc.support
- PersistentEntityResourceProcessor(Repositories, List<RepresentationModelProcessor<EntityModel<?>>>) - Constructor for class org.springframework.data.rest.webmvc.support.PersistentEntityResourceProcessor
- PersistentEntityToJsonSchemaConverter - Class in org.springframework.data.rest.webmvc.json
-
Converter to create
JsonSchema
instances forPersistentEntity
s. - PersistentEntityToJsonSchemaConverter(PersistentEntities, Associations, MessageResolver, ObjectMapper, RepositoryRestConfiguration, PersistentEntityToJsonSchemaConverter.ValueTypeSchemaPropertyCustomizerFactory) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter
-
Creates a new
PersistentEntityToJsonSchemaConverter
for the givenPersistentEntities
andResourceMappings
. - PersistentEntityToJsonSchemaConverter.ValueTypeSchemaPropertyCustomizerFactory - Class in org.springframework.data.rest.webmvc.json
- postProcess(MethodParameter, 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.webmvc.config.ProjectionDefinitionRegistar
- prepareHeaders(Optional<PersistentEntityResource>) - Method in class org.springframework.data.rest.webmvc.HttpHeadersPreparer
-
Returns the default headers to be returned for the given
PersistentEntityResource
. - prepareHeaders(PersistentEntity<?, ?>, Object) - Method in class org.springframework.data.rest.webmvc.HttpHeadersPreparer
-
Returns the default headers to be returned for the given
PersistentEntity
and value. - process(PersistentEntityResource) - Method in class org.springframework.data.rest.webmvc.support.PersistentEntityResourceProcessor
- 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. - PROFILE_REL - Static variable in class org.springframework.data.rest.webmvc.ProfileResourceProcessor
- 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
-
RepresentationModelProcessor
to add aprofile
link to the root resource to point to multiple forms of metadata. - ProfileResourceProcessor(RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.ProfileResourceProcessor
-
Creates a new
ProfileResourceProcessor
with the givenRepositoryRestConfiguration
. - 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.DefaultExcerptProjector
- projectExcerpt(Object) - Method in interface org.springframework.data.rest.webmvc.support.ExcerptProjector
-
Creates a excerpt projection for the given source.
- projectExcerpt(Object) - Method in class org.springframework.data.rest.webmvc.support.PersistentEntityProjector
- ProjectionDefinitionRegistar - Class in org.springframework.data.rest.webmvc.config
-
BeanPostProcessor
to make sure all excerpt projections defined inRepositoryResourceMappings
are registered with theRepositoryRestConfiguration
. - ProjectionDefinitionRegistar(ObjectFactory<RepositoryRestConfiguration>) - Constructor for class org.springframework.data.rest.webmvc.config.ProjectionDefinitionRegistar
-
Creates a new
ProjectionDefinitionRegistar
for the givenRepositoryRestConfiguration
. - projectionDefinitionRegistrar(ObjectFactory<RepositoryRestConfiguration>) - Static method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- Projector - Interface in org.springframework.data.rest.webmvc.support
-
Interface for a component being able to create projections for objects.
R
- 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. - read(Class<? extends RepresentationModel<?>>, HttpInputMessage) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
- 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
- repoRequestArgumentResolver(Repositories, ResourceMetadataHandlerMethodArgumentResolver, RepositoryInvokerFactory) - 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
- RepositoryConstraintViolationExceptionMessage - Class in org.springframework.data.rest.webmvc.support
- RepositoryConstraintViolationExceptionMessage(RepositoryConstraintViolationException, MessageSourceAccessor) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage
-
Creates a new
RepositoryConstraintViolationExceptionMessage
for the givenRepositoryConstraintViolationException
andMessageSourceAccessor
. - 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) - Constructor for class org.springframework.data.rest.webmvc.RepositoryController
-
Creates a new
RepositoryController
for the givenPagedResourcesAssembler
,Repositories
,EntityLinks
andResourceMappings
. - RepositoryEntityLinks - Class in org.springframework.data.rest.webmvc.support
-
EntityLinks
implementation that is able to createLink
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
- RepositoryEntityLinks(Repositories, ResourceMappings, RepositoryRestConfiguration, Lazy<PagingAndSortingTemplateVariables>, PluginRegistry<BackendIdConverter, Class<?>>) - Constructor for class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
- repositoryExporterHandlerAdapter(List<HttpMessageConverter<?>>, AlpsJsonHttpMessageConverter, SelfLinkProvider, PersistentEntityResourceHandlerMethodArgumentResolver, RootResourceInformationHandlerMethodArgumentResolver, RepositoryRestConfiguration) - 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
- 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(ObjectFactory<ResourceMappings>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- repositoryRestConfiguration() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
-
Main configuration for the REST exporter.
- RepositoryRestConfigurer - Interface in org.springframework.data.rest.webmvc.config
-
Component to configure and customize the setup of Spring Data REST.
- RepositoryRestController - Annotation Interface 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 givenMessageSource
. - 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>) - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestHandlerAdapter
-
Creates a new
RepositoryRestHandlerAdapter
using the givenHandlerMethodArgumentResolver
s. - RepositoryRestHandlerMapping - Class in org.springframework.data.rest.webmvc
-
RequestMappingHandlerMapping
implementation that will only find a handler method if aRepository
is exported under that URL path segment. - RepositoryRestHandlerMapping(ResourceMappings, RepositoryRestConfiguration) - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
-
Creates a new
RepositoryRestHandlerMapping
for the givenResourceMappings
andRepositoryRestConfiguration
. - RepositoryRestHandlerMapping(ResourceMappings, RepositoryRestConfiguration, Repositories) - Constructor for class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
-
Creates a new
RepositoryRestHandlerMapping
for the givenResourceMappings
RepositoryRestConfiguration
andRepositories
. - RepositoryRestMvcConfiguration - Class in org.springframework.data.rest.webmvc.config
-
Main application configuration for Spring Data REST.
- RepositoryRestMvcConfiguration(ApplicationContext, ObjectFactory<ConversionService>, ObjectProvider<LinkRelationProvider>, ObjectProvider<CurieProvider>, ObjectProvider<HalConfiguration>, ObjectProvider<ObjectMapper>, ObjectProvider<RepresentationModelProcessorInvoker>, ObjectProvider<MessageResolver>, ObjectProvider<GeoModule>, ObjectProvider<PathPatternParser>) - Constructor for class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- RepositorySearchesResource - Class in org.springframework.data.rest.webmvc
-
A custom
RepresentationModel
type to be able to write customRepresentationModelProcessor
s to add additional links to ones automatically exposed for Spring Data repository query methods. - resolve(Method, NativeWebRequest) - Method in class org.springframework.data.rest.webmvc.support.DomainClassResolver
-
Resolves a domain class that is associated with the
NativeWebRequest
- 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.json.MappingAwareDefaultedPageableArgumentResolver
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.json.MappingAwarePageableArgumentResolver
- resolveArgument(MethodParameter, ModelAndViewContainer, NativeWebRequest, WebDataBinderFactory) - Method in class org.springframework.data.rest.webmvc.json.MappingAwareSortArgumentResolver
- 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 class org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
- RESOURCE_PROFILE_MAPPING - Static variable in class org.springframework.data.rest.webmvc.ProfileController
- resourceLink(RootResourceInformation, EntityModel) - Method in class org.springframework.data.rest.webmvc.RepositoryController
- resourceMappings(Repositories, PersistentEntities, RepositoryRestConfiguration) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- resourceMetadataHandlerMethodArgumentResolver(Repositories, RepositoryResourceMappings, BaseUri) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- ResourceMetadataHandlerMethodArgumentResolver - Class in org.springframework.data.rest.webmvc.config
-
HandlerMethodArgumentResolver
to createResourceMetadata
instances. - ResourceMetadataHandlerMethodArgumentResolver(Repositories, ResourceMappings, BaseUri) - Constructor for class org.springframework.data.rest.webmvc.config.ResourceMetadataHandlerMethodArgumentResolver
-
Creates a new
ResourceMetadataHandlerMethodArgumentResolver
for the givenRepositories
andResourceMappings
. - 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
- RestControllerConfiguration - Class in org.springframework.data.rest.webmvc
-
Configuration class registering required
components
that declare request mappings asbeans
. - restHandlerMapping(Repositories, RepositoryResourceMappings, Optional<JpaHelper>, RepositoryRestConfiguration, CorsConfigurationAware) - 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
- 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 createRootResourceInformation
for injection into Spring MVC controller methods. - RootResourceInformationHandlerMethodArgumentResolver(Repositories, RepositoryInvokerFactory, ResourceMetadataHandlerMethodArgumentResolver) - Constructor for class org.springframework.data.rest.webmvc.config.RootResourceInformationHandlerMethodArgumentResolver
-
Creates a new
RootResourceInformationHandlerMethodArgumentResolver
using the givenRepositories
,RepositoryInvokerFactory
andResourceMetadataHandlerMethodArgumentResolver
. - RootResourceInformationToAlpsDescriptorConverter - Class in org.springframework.data.rest.webmvc.alps
-
Converter to create Alps
Descriptor
instances for aRootResourceInformation
. - RootResourceInformationToAlpsDescriptorConverter(Associations, Repositories, PersistentEntities, EntityLinks, MessageResolver, RepositoryRestConfiguration, ObjectMapper, EnumTranslator) - 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
- selfLinkProvider(PersistentEntities, RepositoryEntityLinks, ObjectProvider<ConversionService>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- serialize(Enum, JsonGenerator, SerializerProvider) - Method in class org.springframework.data.rest.webmvc.json.JacksonSerializers.EnumTranslatingSerializer
- serialize(Object, JsonGenerator, SerializerProvider) - Method in class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module.LookupObjectSerializer
- serverHttpRequestMethodArgumentResolver() - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
-
Turns an
HttpServletRequest
into aServerHttpRequest
. - ServerHttpRequestMethodArgumentResolver - Class in org.springframework.data.rest.webmvc
- ServerHttpRequestMethodArgumentResolver() - Constructor for class org.springframework.data.rest.webmvc.ServerHttpRequestMethodArgumentResolver
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- setBeanFactory(BeanFactory) - Method in class org.springframework.data.rest.webmvc.support.JpaHelper
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
- setEnableDefaultTranslation(boolean) - Method in class org.springframework.data.rest.webmvc.json.EnumTranslator
- setJpaHelper(JpaHelper) - Method in class org.springframework.data.rest.webmvc.RepositoryRestHandlerMapping
- setParseEnumNameAsFallback(boolean) - Method in class org.springframework.data.rest.webmvc.json.EnumTranslator
- size() - Method in class org.springframework.data.rest.webmvc.json.patch.Patch
- 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
- SortTranslator(PersistentEntities, ObjectMapper, Associations) - Constructor for class org.springframework.data.rest.webmvc.json.JacksonMappingAwareSortTranslator.SortTranslator
- 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
- StaticResourceProvider - Interface in org.springframework.data.rest.webmvc.config
-
SPI to be able to register extensions that add static resource routes.
- supports(Class<?>) - Method in enum class org.springframework.data.rest.webmvc.spi.BackendIdConverter.DefaultIdConverter
- supports(Class<?>) - Method in class org.springframework.data.rest.webmvc.support.RepositoryEntityLinks
- supports(MethodParameter, Class<? extends HttpMessageConverter<?>>) - Method in class org.springframework.data.rest.webmvc.alps.AlpsJsonHttpMessageConverter
- 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.json.MappingAwareDefaultedPageableArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.json.MappingAwarePageableArgumentResolver
- supportsParameter(MethodParameter) - Method in class org.springframework.data.rest.webmvc.json.MappingAwareSortArgumentResolver
- 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 class org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
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
- toCollectionModel(Iterable<?>, PersistentEntityResourceAssembler, Class<?>, Optional<Link>) - Method in class org.springframework.data.rest.webmvc.RepositoryController
- 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 underlyingProjector
. - toModel(Object) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler
- toRequestId(Serializable, Class<?>) - Method in enum class 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.
- toResponseEntity(HttpStatus, HttpHeaders, Optional<R>) - Static method in class org.springframework.data.rest.webmvc.ControllerUtils
- toResponseEntity(HttpStatus, HttpHeaders, R) - Static method in class org.springframework.data.rest.webmvc.ControllerUtils
-
Wrap a resource as a
ResponseEntity
and attach given headers and status. - toString() - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageable
- toString() - Method in class org.springframework.data.rest.webmvc.support.ETag
- toString() - Method in class org.springframework.data.rest.webmvc.support.RepositoryConstraintViolationExceptionMessage.ValidationError
- translateSort(Sort, MethodParameter, NativeWebRequest) - Method in class org.springframework.data.rest.webmvc.json.JacksonMappingAwareSortTranslator
-
Translates Jackson field names within a
Sort
toPersistentProperty
property names. - translateSort(Sort, PersistentEntity<?, ?>) - Method in class org.springframework.data.rest.webmvc.json.JacksonMappingAwareSortTranslator.SortTranslator
-
Translates
Sort
orders from Jackson-mapped field names toPersistentProperty
names. - type - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
U
- uniqueItems - Variable in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
- unpagedIfDefault() - Method in class org.springframework.data.rest.webmvc.support.DefaultedPageable
-
Returns
Pageable.unpaged()
if the containedPageable
is the default one. - 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 allLink
s contained in aRepresentationModel
astext/uri-list
and parse a request of that media type back into aRepresentationModel
instance. - UriListHttpMessageConverter() - Constructor for class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
- UriStringDeserializer(Class<?>, UriToEntityConverter) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityJackson2Module.UriStringDeserializer
-
Creates a new
PersistentEntityJackson2Module.UriStringDeserializer
for the givenPersistentProperty
using the givenUriToEntityConverter
. - UriUtils - Class in org.springframework.data.rest.webmvc.util
-
Utility methods to work with requests and URIs.
V
- validatingRepositoryEventListener(ObjectFactory<PersistentEntities>) - Method in class org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration
-
ApplicationListener
implementation for invokingValidator
instances assigned to specific domain types. - value - Variable in class org.springframework.data.rest.webmvc.json.patch.PatchOperation
- value() - Element in annotation interface org.springframework.data.rest.webmvc.BasePathAwareController
-
The root path to be prepended to all request mappings configured on handler methods.
- value() - Element in annotation interface org.springframework.data.rest.webmvc.RepositoryRestController
-
The root path to be prepended to all request mappings configured on handler methods.
- valueOf(String) - Static method in enum class org.springframework.data.rest.webmvc.spi.BackendIdConverter.DefaultIdConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.data.rest.webmvc.spi.BackendIdConverter.DefaultIdConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.rest.webmvc.support.HttpMethodHandlerMethodArgumentResolver
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ValueTypeSchemaPropertyCustomizerFactory(RepositoryInvokerFactory) - Constructor for class org.springframework.data.rest.webmvc.json.PersistentEntityToJsonSchemaConverter.ValueTypeSchemaPropertyCustomizerFactory
- 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. - verifyPutForCreation() - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
- verifySupportedMethod(HttpMethod, PersistentProperty<?>) - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
-
Verifies that the given
HttpMethod
is supported for the givenPersistentProperty
. - verifySupportedMethod(HttpMethod, ResourceType) - Method in class org.springframework.data.rest.webmvc.RootResourceInformation
-
Verifies that the given
HttpMethod
is supported for the givenResourceType
.
W
- with(TypeInformation<?>) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
-
Configures the
JsonSchema.JsonSchemaProperty
to reflect the given type. - withConfig(BiConsumer<RepositoryRestConfiguration, CorsRegistry>) - Static method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Convenience method to easily create simple
RepositoryRestConfigurer
instances that solely want to tweak theRepositoryRestConfiguration
. - withConfig(Consumer<RepositoryRestConfiguration>) - Static method in interface org.springframework.data.rest.webmvc.config.RepositoryRestConfigurer
-
Convenience method to easily create simple
RepositoryRestConfigurer
instances that solely want to tweak theRepositoryRestConfiguration
. - 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 currentJsonSchema.JsonSchemaProperty
. - withLink(Link) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
-
Adds the given
Link
to thePersistentEntityResource
. - withLinks(List<Link>) - Method in class org.springframework.data.rest.webmvc.PersistentEntityResource.Builder
- withPattern(Pattern) - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.JsonSchemaProperty
-
Configures the
JsonSchema.JsonSchemaProperty
to require the givenPattern
. - withReadOnly() - Method in class org.springframework.data.rest.webmvc.json.JsonSchema.EnumProperty
- 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(RepresentationModel<?>, MediaType, HttpOutputMessage) - Method in class org.springframework.data.rest.webmvc.convert.UriListHttpMessageConverter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form