Package | Description |
---|---|
org.springframework.restdocs.headers |
Documenting the headers of a RESTful API's requests and responses.
|
Modifier and Type | Method and Description |
---|---|
RequestHeadersSnippet |
RequestHeadersSnippet.and(HeaderDescriptor... additionalDescriptors)
Returns a new
RequestHeadersSnippet configured with this snippet's
attributes and its descriptors combined with the given
additionalDescriptors . |
RequestHeadersSnippet |
RequestHeadersSnippet.and(java.util.List<HeaderDescriptor> additionalDescriptors)
Returns a new
RequestHeadersSnippet configured with this snippet's
attributes and its descriptors combined with the given
additionalDescriptors . |
static RequestHeadersSnippet |
HeaderDocumentation.requestHeaders(HeaderDescriptor... descriptors)
Returns a new
Snippet that will document the headers of the API operation's
request. |
static RequestHeadersSnippet |
HeaderDocumentation.requestHeaders(java.util.List<HeaderDescriptor> descriptors)
Returns a new
Snippet that will document the headers of the API operation's
request. |
static RequestHeadersSnippet |
HeaderDocumentation.requestHeaders(java.util.Map<java.lang.String,java.lang.Object> attributes,
HeaderDescriptor... descriptors)
Returns a new
Snippet that will document the headers of the API
operations's request. |
static RequestHeadersSnippet |
HeaderDocumentation.requestHeaders(java.util.Map<java.lang.String,java.lang.Object> attributes,
java.util.List<HeaderDescriptor> descriptors)
Returns a new
Snippet that will document the headers of the API
operations's request. |