Package | Description |
---|---|
org.springframework.data.rest.core.mapping | |
org.springframework.data.rest.webmvc.json |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationBasedResourceDescription
A
ResourceDescription that is customized based on a Description annotation. |
class |
ResolvableResourceDescriptionSupport
Adapter class for the
MessageSourceResolvable part of a ResourceDescription . |
class |
SimpleResourceDescription |
class |
TypedResourceDescription
SimpleResourceDescription that additionally captures a type to be able to potentially create a reasonable
default message. |
Modifier and Type | Method and Description |
---|---|
static ResourceDescription |
SimpleResourceDescription.defaultFor(String rel) |
static ResourceDescription |
TypedResourceDescription.defaultFor(String rel,
Class<?> type) |
static ResourceDescription |
TypedResourceDescription.defaultFor(String rel,
PersistentProperty<?> property) |
static ResourceDescription |
TypedResourceDescription.defaultFor(String rel,
String name,
Class<?> type) |
ResourceDescription |
SearchResourceMappings.getDescription() |
ResourceDescription |
ResourceMapping.getDescription()
Returns the resource's description.
|
ResourceDescription |
ParameterMetadata.getDescription()
Returns the description for the method parameter.
|
ResourceDescription |
CollectionResourceMapping.getItemResourceDescription()
Returns the
ResourceDescription for the item resource. |
Constructor and Description |
---|
AnnotationBasedResourceDescription(Class<?> type,
ResourceDescription fallback) |
AnnotationBasedResourceDescription(Description description,
ResourceDescription fallback)
Creates a new
AnnotationBasedResourceDescription for the given Description and fallback. |
Modifier and Type | Method and Description |
---|---|
ResourceDescription |
JacksonMetadata.getFallbackDescription(ResourceMetadata ownerMetadata,
com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition definition)
Returns the fallback
ResourceDescription to be used for the given BeanPropertyDefinition . |
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.