- Link - Class in org.springframework.restdocs.hypermedia
-
Representation of a link used in a Hypermedia-based API.
- Link(String, String) - Constructor for class org.springframework.restdocs.hypermedia.Link
-
Creates a new Link
with the given rel
and href
.
- Link(String, String, String) - Constructor for class org.springframework.restdocs.hypermedia.Link
-
Creates a new Link
with the given rel
, href
, and
title
.
- LinkDescriptor - Class in org.springframework.restdocs.hypermedia
-
A description of a link found in a hypermedia API.
- LinkDescriptor(String) - Constructor for class org.springframework.restdocs.hypermedia.LinkDescriptor
-
Creates a new LinkDescriptor
describing a link with the given rel
.
- LinkExtractor - Interface in org.springframework.restdocs.hypermedia
-
A
LinkExtractor
is used to extract
links
from a JSON response.
- links(LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Returns a new Snippet
that will document the links in the API operation's
response.
- links(List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Returns a new Snippet
that will document the links in the API operation's
response.
- links(Map<String, Object>, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Returns a new Snippet
that will document the links in the API call's
response.
- links(Map<String, Object>, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Returns a new Snippet
that will document the links in the API call's
response.
- links(LinkExtractor, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Returns a new Snippet
that will document the links in the API operation's
response.
- links(LinkExtractor, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Returns a new Snippet
that will document the links in the API operation's
response.
- links(LinkExtractor, Map<String, Object>, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Returns a new Snippet
that will document the links in the API operation's
response.
- links(LinkExtractor, Map<String, Object>, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Returns a new Snippet
that will document the links in the API operation's
response.
- LinksSnippet - Class in org.springframework.restdocs.hypermedia
-
A
Snippet
that documents a RESTful resource's links.
- LinksSnippet(LinkExtractor, List<LinkDescriptor>) - Constructor for class org.springframework.restdocs.hypermedia.LinksSnippet
-
Creates a new LinksSnippet
that will extract links using the given
linkExtractor
and document them using the given descriptors
.
- LinksSnippet(LinkExtractor, List<LinkDescriptor>, boolean) - Constructor for class org.springframework.restdocs.hypermedia.LinksSnippet
-
Creates a new LinksSnippet
that will extract links using the given
linkExtractor
and document them using the given descriptors
.
- LinksSnippet(LinkExtractor, List<LinkDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.hypermedia.LinksSnippet
-
Creates a new LinksSnippet
that will extract links using the given
linkExtractor
and document them using the given descriptors
.
- LinksSnippet(LinkExtractor, List<LinkDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.hypermedia.LinksSnippet
-
Creates a new LinksSnippet
that will extract links using the given
linkExtractor
and document them using the given descriptors
.
- linkWithRel(String) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
-
Creates a LinkDescriptor
that describes a link with the given rel
.