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