Uses of Class
org.springframework.restdocs.headers.ResponseHeadersSnippet
Packages that use ResponseHeadersSnippet
Package
Description
Documenting the headers of a RESTful API's requests and responses.
-
Uses of ResponseHeadersSnippet in org.springframework.restdocs.headers
Methods in org.springframework.restdocs.headers that return ResponseHeadersSnippetModifier and TypeMethodDescriptionfinal ResponseHeadersSnippetResponseHeadersSnippet.and(List<HeaderDescriptor> additionalDescriptors) Returns a newResponseHeadersSnippetconfigured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors.final ResponseHeadersSnippetResponseHeadersSnippet.and(HeaderDescriptor... additionalDescriptors) Returns a newResponseHeadersSnippetconfigured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors.static ResponseHeadersSnippetHeaderDocumentation.responseHeaders(List<HeaderDescriptor> descriptors) Returns a newSnippetthat will document the headers of the API operation's response.static ResponseHeadersSnippetHeaderDocumentation.responseHeaders(Map<String, Object> attributes, List<HeaderDescriptor> descriptors) Returns a newSnippetthat will document the headers of the API operations's response.static ResponseHeadersSnippetHeaderDocumentation.responseHeaders(Map<String, Object> attributes, HeaderDescriptor... descriptors) Returns a newSnippetthat will document the headers of the API operations's response.static ResponseHeadersSnippetHeaderDocumentation.responseHeaders(HeaderDescriptor... descriptors) Returns a newSnippetthat will document the headers of the API operation's response.