Uses of Interface
org.springframework.restdocs.hypermedia.LinkExtractor
Packages that use LinkExtractor
Package
Description
Documenting a RESTful API that uses hypermedia.
-
Uses of LinkExtractor in org.springframework.restdocs.hypermedia
Methods in org.springframework.restdocs.hypermedia that return LinkExtractorModifier and TypeMethodDescriptionstatic LinkExtractorHypermediaDocumentation.atomLinks()Returns aLinkExtractorcapable of extracting links in Atom format where the links are found in an array namedlinks.static LinkExtractorHypermediaDocumentation.halLinks()Returns aLinkExtractorcapable of extracting links in Hypermedia Application Language (HAL) format where the links are found in a map named_links.Methods in org.springframework.restdocs.hypermedia with parameters of type LinkExtractorModifier and TypeMethodDescriptionstatic LinksSnippetHypermediaDocumentation.links(LinkExtractor linkExtractor, List<LinkDescriptor> descriptors) Returns a newSnippetthat will document the links in the API operation's response.static LinksSnippetHypermediaDocumentation.links(LinkExtractor linkExtractor, Map<String, Object> attributes, List<LinkDescriptor> descriptors) Returns a newSnippetthat will document the links in the API operation's response.static LinksSnippetHypermediaDocumentation.links(LinkExtractor linkExtractor, Map<String, Object> attributes, LinkDescriptor... descriptors) Returns a newSnippetthat will document the links in the API operation's response.static LinksSnippetHypermediaDocumentation.links(LinkExtractor linkExtractor, LinkDescriptor... descriptors) Returns a newSnippetthat will document the links in the API operation's response.static LinksSnippetHypermediaDocumentation.relaxedLinks(LinkExtractor linkExtractor, List<LinkDescriptor> descriptors) Returns a newSnippetthat will document the links in the API operation's response.static LinksSnippetHypermediaDocumentation.relaxedLinks(LinkExtractor linkExtractor, Map<String, Object> attributes, List<LinkDescriptor> descriptors) Returns a newSnippetthat will document the links in the API operation's response.static LinksSnippetHypermediaDocumentation.relaxedLinks(LinkExtractor linkExtractor, Map<String, Object> attributes, LinkDescriptor... descriptors) Returns a newSnippetthat will document the links in the API operation's response.static LinksSnippetHypermediaDocumentation.relaxedLinks(LinkExtractor linkExtractor, LinkDescriptor... descriptors) Returns a newSnippetthat will document the links in the API operation's response.Constructors in org.springframework.restdocs.hypermedia with parameters of type LinkExtractorModifierConstructorDescriptionprotectedLinksSnippet(LinkExtractor linkExtractor, List<LinkDescriptor> descriptors) Creates a newLinksSnippetthat will extract links using the givenlinkExtractorand document them using the givendescriptors.protectedLinksSnippet(LinkExtractor linkExtractor, List<LinkDescriptor> descriptors, boolean ignoreUndocumentedLinks) Creates a newLinksSnippetthat will extract links using the givenlinkExtractorand document them using the givendescriptors.protectedLinksSnippet(LinkExtractor linkExtractor, List<LinkDescriptor> descriptors, @Nullable Map<String, Object> attributes) Creates a newLinksSnippetthat will extract links using the givenlinkExtractorand document them using the givendescriptors.protectedLinksSnippet(LinkExtractor linkExtractor, List<LinkDescriptor> descriptors, @Nullable Map<String, Object> attributes, boolean ignoreUndocumentedLinks) Creates a newLinksSnippetthat will extract links using the givenlinkExtractorand document them using the givendescriptors.