Uses of Class
org.springframework.restdocs.headers.ResponseHeadersSnippet
Package
Description
Documenting the headers of a RESTful API's requests and responses.
-
Uses of ResponseHeadersSnippet in org.springframework.restdocs.headers
Modifier and TypeMethodDescriptionfinal ResponseHeadersSnippet
ResponseHeadersSnippet.and
(List<HeaderDescriptor> additionalDescriptors) Returns a newResponseHeadersSnippet
configured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors
.final ResponseHeadersSnippet
ResponseHeadersSnippet.and
(HeaderDescriptor... additionalDescriptors) Returns a newResponseHeadersSnippet
configured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors
.static ResponseHeadersSnippet
HeaderDocumentation.responseHeaders
(List<HeaderDescriptor> descriptors) Returns a newSnippet
that will document the headers of the API operation's response.static ResponseHeadersSnippet
HeaderDocumentation.responseHeaders
(Map<String, Object> attributes, List<HeaderDescriptor> descriptors) Returns a newSnippet
that will document the headers of the API operations's response.static ResponseHeadersSnippet
HeaderDocumentation.responseHeaders
(Map<String, Object> attributes, HeaderDescriptor... descriptors) Returns a newSnippet
that will document the headers of the API operations's response.static ResponseHeadersSnippet
HeaderDocumentation.responseHeaders
(HeaderDescriptor... descriptors) Returns a newSnippet
that will document the headers of the API operation's response.