Index

B C E F G H I J L M N P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

B

build() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Transform the entities, Links, relationships and included into a RepresentationModel.

C

com.toedter.spring.hateoas.jsonapi - package com.toedter.spring.hateoas.jsonapi
JSON:API-specific extensions, SPIs and Jackson customizations.
configureObjectMapper(ObjectMapper) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiMediaTypeConfiguration
 
create() - Static method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
 
create() - Static method in class com.toedter.spring.hateoas.jsonapi.JsonApiErrors
Creates empty JsonApiErrors.
customize(ObjectMapper) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Customizes the object mapper if a customizer was set with withObjectMapperCustomizer.

E

equals(Object) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
 

F

fields(String, String...) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds a sparse fieldset for the given JSON:API type.
findLinksWithRel(LinkRelation, InputStream) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiLinkDiscoverer
 
findLinksWithRel(LinkRelation, String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiLinkDiscoverer
 
findLinkWithRel(LinkRelation, InputStream) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiLinkDiscoverer
 
findLinkWithRel(LinkRelation, String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiLinkDiscoverer
 

G

getAffordancesRenderedAsLinkMeta() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if Spring HATEOAS affordances are rendered as JSON:API link meta.
getClassForType(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Returns the class for a given type, when the class was added with JsonApiConfiguration.withTypeForClass(Class, String).
getCode() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Gets an application-specific error code, expressed as a string value.
getDetail() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Gets a human-readable explanation specific to this occurrence of the problem.
getErrors() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiErrors
Gets list of JsonApiError objects.
getExt() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiObject
 
getId() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Gets a unique identifier for this particular occurrence of the problem.
getJacksonModule() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiMediaTypeConfiguration
 
getJsonApiIdNotSerializedForValue() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
If you want to create JSON for a POST request that does not contain the id attribute.
getJsonApiObject() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if the JSON:API object is rendered.
getLinks() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Gets a links object containing the following members: about: a link that leads to further details about this particular occurrence of the problem.
getMediaTypes() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiMediaTypeConfiguration
 
getMeta() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Gets a meta object containing non-standard meta-information about the error.
getMeta() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiObject
 
getProfile() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiObject
 
getSource() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Gets an object containing references to the source of the error, optionally including any of the following members: pointer: a JSON Pointer [RFC6901] to the associated entity in the request document [e.g.
getStatus() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Gets the HTTP status code applicable to this problem, expressed as a string value.
getTitle() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Gets a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
getTypeForClass(Class<?>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Returns the JSON:API resource object type for a given class, when it was added with JsonApiConfiguration.withTypeForClass(Class, String).
getVersion() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiObject
 

H

HAL_FORMS - Enum constant in enum class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration.AffordanceType
Affordances will be rendered as link meta (HAL-FORMS format).
hashCode() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
 

I

included(Object) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds the given Object to the included RepresentationModels.
included(Collection<?>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds the given Collection to the included RepresentationModels.
included(RepresentationModel<?>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds the given RepresentationModel to the included RepresentationModels.
isEmptyAttributesObjectSerialized() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if empty attributes are serialized as empty object.
isJsonApi11LinkPropertiesRemovedFromLinkMeta() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
JSON:API 1.1 introduced the possible link properties title, type, and hreflang (and some more), see JSON:API link objects.
isJsonApiCompliantLinks() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
JSON:API is very strict about the allowed link relations, the allowed top-level links are self, related, describedBy, next, pre, first and last.
isJsonApiVersionRendered() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Deprecated.
since 2.0.0, prefer JsonApiConfiguration.jsonApiObject
isLowerCasedTypeRendered() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if the JSON:API type attribute of resource objects is lower-cased.
isPageMetaAutomaticallyCreated() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if page metadata (rendered as top level JSON:API meta) for a paged model is created automatically.
isPluralizedTypeRendered() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if the JSON:API type attribute of resource objects is pluralized.
isTypeForClassUsedForDeserialization() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if the Java class to JSON:API mapping created with JsonApiConfiguration is also used during deserialization.

J

Jackson2JsonApiModule - Class in com.toedter.spring.hateoas.jsonapi
Jackson SimpleModule for JSON:API serializers and deserializers.
Jackson2JsonApiModule() - Constructor for class com.toedter.spring.hateoas.jsonapi.Jackson2JsonApiModule
Creates a new Jackson2JsonApiModule without JsonApiConfiguration.
Jackson2JsonApiModule(JsonApiConfiguration) - Constructor for class com.toedter.spring.hateoas.jsonapi.Jackson2JsonApiModule
Creates a new Jackson2JsonApiModule with a given JsonApiConfiguration.
JSON_API - Static variable in class com.toedter.spring.hateoas.jsonapi.MediaTypes
Public constant media type for application/vnd.api+json.
JSON_API_VALUE - Static variable in class com.toedter.spring.hateoas.jsonapi.MediaTypes
A String equivalent of the JSON:API media type
JsonApiConfiguration - Class in com.toedter.spring.hateoas.jsonapi
JSON:API specific configuration.
JsonApiConfiguration() - Constructor for class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Creates a new default JsonApiConfiguration.
JsonApiConfiguration.AffordanceType - Enum Class in com.toedter.spring.hateoas.jsonapi
The list of possible affordance types.
JsonApiError - Class in com.toedter.spring.hateoas.jsonapi
Class to build a single JSON:API compliant error.
JsonApiError() - Constructor for class com.toedter.spring.hateoas.jsonapi.JsonApiError
Creates an empty JsonApiError.
JsonApiErrors - Class in com.toedter.spring.hateoas.jsonapi
Class to build JSON:API compliant error messages.
JsonApiErrors() - Constructor for class com.toedter.spring.hateoas.jsonapi.JsonApiErrors
 
JsonApiErrors(JsonApiError) - Constructor for class com.toedter.spring.hateoas.jsonapi.JsonApiErrors
Creates JsonApiErrors with initial JsonApiError.
JsonApiId - Annotation Interface in com.toedter.spring.hateoas.jsonapi
Specifies the JSON:API id of a resource object.
JsonApiLinkDiscoverer - Class in com.toedter.spring.hateoas.jsonapi
LinkDiscoverer implementation based on JSON:API link structure.
JsonApiLinkDiscoverer() - Constructor for class com.toedter.spring.hateoas.jsonapi.JsonApiLinkDiscoverer
Constructor for JSON_API.
JsonApiMediaTypeConfiguration - Class in com.toedter.spring.hateoas.jsonapi
Spring configuration for JSON:API support.
JsonApiMediaTypeConfiguration(ObjectProvider<JsonApiConfiguration>, AutowireCapableBeanFactory) - Constructor for class com.toedter.spring.hateoas.jsonapi.JsonApiMediaTypeConfiguration
 
JsonApiMeta - Annotation Interface in com.toedter.spring.hateoas.jsonapi
Specifies if this field/method should be serialized to and deserialized from JSON:API meta.
jsonApiModel() - Static method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Creates a new JsonApiModelBuilder.
JsonApiModelBuilder - Class in com.toedter.spring.hateoas.jsonapi
Builder API to create complex JSON:API representations exposing a JSON:API idiomatic API.
JsonApiObject - Class in com.toedter.spring.hateoas.jsonapi
This class represents a JSON:API object compliant to the see JSON:API 1.1 specification.
JsonApiObject(boolean) - Constructor for class com.toedter.spring.hateoas.jsonapi.JsonApiObject
Creates a JSON:API object compliant to the see JSON:API 1.1 spec.
JsonApiObject(boolean, List<URI>, List<URI>, Map<String, Object>) - Constructor for class com.toedter.spring.hateoas.jsonapi.JsonApiObject
Creates a JSON:API object compliant to the see JSON:API 1.1 spec.
JsonApiRelationships - Annotation Interface in com.toedter.spring.hateoas.jsonapi
Specifies the JSON:API relationships of a resource object.
JsonApiType - Annotation Interface in com.toedter.spring.hateoas.jsonapi
Specifies the JSON:API type of a resource object.
JsonApiTypeForClass - Annotation Interface in com.toedter.spring.hateoas.jsonapi
Specifies the JSON:API type for resource objects of this class.

L

link(String, LinkRelation) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds a Link with the given href and LinkRelation to the RepresentationModel to be built.
link(Link) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds a Link to the RepresentationModel to be built.
links(Iterable<Link>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds the given Links to the RepresentationModel to be built.

M

MediaTypes - Class in com.toedter.spring.hateoas.jsonapi
Provides the JSON:API media type application/vnd.api+json.
meta(String, Object) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds the given key/value pair to the JSON:API meta.
model(Object) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Creates an EntityModel from the object as the base for the RepresentationModel to be built.
model(RepresentationModel<?>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Sets the RepresentationModel as the base for the RepresentationModel to be built.

N

NONE - Enum constant in enum class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration.AffordanceType
Default, affordances will NOT be rendered as link meta.

P

pageLinks(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Creates all pagination links with JSON:API default request parameters for page number page[number] and page size page[size].
pageLinks(String, String, String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Creates all pagination links.
pageMeta() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds the paging information to the JSON:API meta.

R

relationship(String, Object) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds or updates a relationship based on the Object.
relationship(String, Object, Map<String, Object>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds or updates a relationship based on the meta to the RepresentationModel to be built.
relationship(String, String, String, Links) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds or updates a relationship based on the links to the RepresentationModel to be built.
relationship(String, Collection<?>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds or updates a relationship based on the Collection.
relationship(String, Map<String, Object>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds or updates a relationship based on the meta to the RepresentationModel to be built.
relationship(String, EntityModel<?>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds or updates a relationship based on the given EntityModel to the RepresentationModel to be built.
relationship(String, EntityModel<?>, String, String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
Adds or updates a relationship based on the given EntityModel and links.
relationshipWithDataArray(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiModelBuilder
If called (anywhere in the builder sequence), the data portion of this relationship will be always rendered as an array, even if the data is not set or is one single element, e.g.

S

SPRING_HATEOAS - Enum constant in enum class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration.AffordanceType
Affordances will be rendered as link meta (proprietary format).
supports(MediaType) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiLinkDiscoverer
 

T

toString() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
 
toString() - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiErrors
 

V

value() - Element in annotation interface com.toedter.spring.hateoas.jsonapi.JsonApiRelationships
The name of the relationship.
value() - Element in annotation interface com.toedter.spring.hateoas.jsonapi.JsonApiTypeForClass
The JSON:API type for resource objects of this class.
valueOf(String) - Static method in enum class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration.AffordanceType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration.AffordanceType
Returns an array containing the constants of this enum class, in the order they are declared.

W

withAboutLink(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Adds an about link to the error.
withAffordancesRenderedAsLinkMeta(JsonApiConfiguration.AffordanceType) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if Spring HATEOAS affordances are rendered as JSON:API link meta.
withCode(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Sets an application-specific error code, expressed as a string value.
withDetail(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Sets a human-readable explanation specific to this occurrence of the problem.
withEmptyAttributesObjectSerialized(boolean) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if empty attributes are serialized as empty object.
withError(JsonApiError) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiErrors
Adds an JsonApiError to the list.
withId(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Sets a unique identifier for this particular occurrence of the problem.
withJsonApi11LinkPropertiesRemovedFromLinkMeta(boolean) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
JSON:API 1.1 introduced the possible link properties title, type, and hreflang (and some more), see JSON:API link objects.
withJsonApiCompliantLinks(boolean) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
JSON:API is very strict about the allowed link relations, the allowed top-level links are self, related, describedBy, next, pre, first and last.
withJsonApiIdNotSerializedForValue(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
If you want to create JSON for a POST request that does not contain the id attribute.
withJsonApiObject(JsonApiObject) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if the JSON:API object is rendered.
withJsonApiVersionRendered(boolean) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Deprecated.
since 2.0.0, prefer JsonApiConfiguration.jsonApiObject
withLowerCasedTypeRendered(boolean) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if the JSON:API type attribute of resource objects is lower-cased.
withMeta(Map<String, Object>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Sets a meta object containing non-standard meta-information about the error.
withObjectMapperCustomizer(Consumer<ObjectMapper>) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
You can pass a lambda expression to customize the ObjectMapper used for serialization.
withPageMetaAutomaticallyCreated(boolean) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if page metadata (rendered as top level JSON:API meta) for a paged model is created automatically.
withPluralizedTypeRendered(boolean) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if the JSON:API type attribute of resource objects is pluralized.
withSourceParameter(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Adds a source parameter to the error.
withSourcePointer(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Adds a source pointer to the error.
withStatus(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Adds the HTTP status code applicable to this problem, expressed as a string value.
withTitle(String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiError
Sets a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
withTypeForClass(Class<?>, String) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Creates a mapping for a given class to get the JSON:API resource object type when rendered.
withTypeForClassUsedForDeserialization(boolean) - Method in class com.toedter.spring.hateoas.jsonapi.JsonApiConfiguration
Indicates if the Java class to JSON:API mapping created with JsonApiConfiguration is also used during deserialization.
B C E F G H I J L M N P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form