Example usage for Java org.springframework.restdocs.headers HeaderDocumentation fields, constructors, methods, implement or subclass
The text is from its open source code.
HeaderDescriptor | headerWithName(String name) Creates a HeaderDescriptor that describes a header with the given name . |
RequestHeadersSnippet | requestHeaders(HeaderDescriptor... descriptors) Returns a new Snippet that will document the headers of the API operation's request. |
RequestHeadersSnippet | requestHeaders(List Returns a new Snippet that will document the headers of the API operation's request. |
ResponseHeadersSnippet | responseHeaders(HeaderDescriptor... descriptors) Returns a new Snippet that will document the headers of the API operation's response. |
ResponseHeadersSnippet | responseHeaders(List Returns a new Snippet that will document the headers of the API operation's response. |