Uses of Class
org.springframework.restdocs.headers.RequestHeadersSnippet
Packages that use RequestHeadersSnippet
Package
Description
Documenting the headers of a RESTful API's requests and responses.
-
Uses of RequestHeadersSnippet in org.springframework.restdocs.headers
Methods in org.springframework.restdocs.headers that return RequestHeadersSnippetModifier and TypeMethodDescriptionfinal RequestHeadersSnippetRequestHeadersSnippet.and(List<HeaderDescriptor> additionalDescriptors) Returns a newRequestHeadersSnippetconfigured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors.final RequestHeadersSnippetRequestHeadersSnippet.and(HeaderDescriptor... additionalDescriptors) Returns a newRequestHeadersSnippetconfigured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors.static RequestHeadersSnippetHeaderDocumentation.requestHeaders(List<HeaderDescriptor> descriptors) Returns a newSnippetthat will document the headers of the API operation's request.static RequestHeadersSnippetHeaderDocumentation.requestHeaders(Map<String, Object> attributes, List<HeaderDescriptor> descriptors) Returns a newSnippetthat will document the headers of the API operations's request.static RequestHeadersSnippetHeaderDocumentation.requestHeaders(Map<String, Object> attributes, HeaderDescriptor... descriptors) Returns a newSnippetthat will document the headers of the API operations's request.static RequestHeadersSnippetHeaderDocumentation.requestHeaders(HeaderDescriptor... descriptors) Returns a newSnippetthat will document the headers of the API operation's request.