Java org.springframework.restdocs.headers HeaderDocumentation fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.restdocs.headers HeaderDocumentation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.restdocs.headers HeaderDocumentation.

The text is from its open source code.

Method

HeaderDescriptorheaderWithName(String name)
Creates a HeaderDescriptor that describes a header with the given name .
RequestHeadersSnippetrequestHeaders(HeaderDescriptor... descriptors)
Returns a new Snippet that will document the headers of the API operation's request.
RequestHeadersSnippetrequestHeaders(List descriptors)
Returns a new Snippet that will document the headers of the API operation's request.
ResponseHeadersSnippetresponseHeaders(HeaderDescriptor... descriptors)
Returns a new Snippet that will document the headers of the API operation's response.
ResponseHeadersSnippetresponseHeaders(List descriptors)
Returns a new Snippet that will document the headers of the API operation's response.