Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractBodySnippet - Class in org.springframework.restdocs.payload
Abstract TemplatedSnippet subclass that provides a base for snippets that document a RESTful resource's request or response body.
AbstractBodySnippet(String, String, PayloadSubsectionExtractor<?>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.AbstractBodySnippet
Creates a new AbstractBodySnippet that will produce a snippet named <name>-body using a template named <type>-body.
AbstractBodySnippet(String, PayloadSubsectionExtractor<?>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.AbstractBodySnippet
Creates a new AbstractBodySnippet that will produce a snippet named <type>-body using a template named <type>-body.
AbstractConfigurer - Class in org.springframework.restdocs.config
Abstract configurer that declares methods that are internal to the documentation configuration implementation.
AbstractConfigurer() - Constructor for class org.springframework.restdocs.config.AbstractConfigurer
 
AbstractCookiesSnippet - Class in org.springframework.restdocs.cookies
Abstract TemplatedSnippet subclass that provides a base for snippets that document a RESTful resource's request or response cookies.
AbstractCookiesSnippet(String, List<CookieDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.cookies.AbstractCookiesSnippet
Creates a new AbstractCookiesSnippet that will produce a snippet named <type>-cookies.
AbstractDescriptor<T extends AbstractDescriptor<T>> - Class in org.springframework.restdocs.snippet
Base class for descriptors.
AbstractDescriptor() - Constructor for class org.springframework.restdocs.snippet.AbstractDescriptor
 
AbstractFieldsSnippet - Class in org.springframework.restdocs.payload
Abstract TemplatedSnippet subclass that provides a base for snippets that document a RESTful resource's request or response fields.
AbstractFieldsSnippet(String, String, List<FieldDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.payload.AbstractFieldsSnippet
Creates a new AbstractFieldsSnippet that will produce a snippet named <name>-fields using a template named <type>-fields.
AbstractFieldsSnippet(String, String, List<FieldDescriptor>, Map<String, Object>, boolean, PayloadSubsectionExtractor<?>) - Constructor for class org.springframework.restdocs.payload.AbstractFieldsSnippet
Creates a new AbstractFieldsSnippet that will produce a snippet named <name>-fields using a template named <type>-fields.
AbstractFieldsSnippet(String, List<FieldDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.payload.AbstractFieldsSnippet
Creates a new AbstractFieldsSnippet that will produce a snippet named <type>-fields using a template named <type>-fields.
AbstractFieldsSnippet(String, List<FieldDescriptor>, Map<String, Object>, boolean, PayloadSubsectionExtractor<?>) - Constructor for class org.springframework.restdocs.payload.AbstractFieldsSnippet
Creates a new AbstractFieldsSnippet that will produce a snippet named <type>-fields using a template named <type>-fields.
AbstractHeadersSnippet - Class in org.springframework.restdocs.headers
Abstract TemplatedSnippet subclass that provides a base for snippets that document a RESTful resource's request or response headers.
AbstractHeadersSnippet(String, List<HeaderDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.headers.AbstractHeadersSnippet
Creates a new AbstractHeadersSnippet that will produce a snippet named <type>-headers.
AbstractNestedConfigurer<PARENT> - Class in org.springframework.restdocs.config
Base class for NestedConfigurer implementations.
AbstractNestedConfigurer(PARENT) - Constructor for class org.springframework.restdocs.config.AbstractNestedConfigurer
Creates a new AbstractNestedConfigurer with the given parent.
AbstractParametersSnippet - Class in org.springframework.restdocs.request
Abstract TemplatedSnippet subclass that provides a base for snippets that document parameters from a request sent to a RESTful resource.
AbstractParametersSnippet(String, List<ParameterDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.request.AbstractParametersSnippet
Creates a new AbstractParametersSnippet that will produce a snippet with the given snippetName that will document parameters using the given descriptors.
add(String, String) - Method in class org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
Adds a header with the given name and value.
afterEach(ExtensionContext) - Method in class org.springframework.restdocs.RestDocumentationExtension
 
afterTest() - Method in class org.springframework.restdocs.ManualRestDocumentation
Notification that a test has completed.
and() - Method in class org.springframework.restdocs.config.AbstractNestedConfigurer
 
and(List<CookieDescriptor>) - Method in class org.springframework.restdocs.cookies.RequestCookiesSnippet
Returns a new RequestCookiesSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<CookieDescriptor>) - Method in class org.springframework.restdocs.cookies.ResponseCookiesSnippet
Returns a new ResponseCookiesSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<HeaderDescriptor>) - Method in class org.springframework.restdocs.headers.RequestHeadersSnippet
Returns a new RequestHeadersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<HeaderDescriptor>) - Method in class org.springframework.restdocs.headers.ResponseHeadersSnippet
Returns a new ResponseHeadersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<LinkDescriptor>) - Method in class org.springframework.restdocs.hypermedia.LinksSnippet
Returns a new LinksSnippet configured with this snippet's link extractor and attributes, and its descriptors combined with the given additionalDescriptors.
and(List<FieldDescriptor>) - Method in class org.springframework.restdocs.payload.RequestFieldsSnippet
Returns a new RequestFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<FieldDescriptor>) - Method in class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Returns a new RequestPartFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<FieldDescriptor>) - Method in class org.springframework.restdocs.payload.ResponseFieldsSnippet
Returns a new ResponseFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<ParameterDescriptor>) - Method in class org.springframework.restdocs.request.FormParametersSnippet
Returns a new FormParametersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<ParameterDescriptor>) - Method in class org.springframework.restdocs.request.PathParametersSnippet
Returns a new PathParametersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<ParameterDescriptor>) - Method in class org.springframework.restdocs.request.QueryParametersSnippet
Returns a new QueryParametersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(List<RequestPartDescriptor>) - Method in class org.springframework.restdocs.request.RequestPartsSnippet
Returns a new RequestPartsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(CookieDescriptor...) - Method in class org.springframework.restdocs.cookies.RequestCookiesSnippet
Returns a new RequestCookiesSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(CookieDescriptor...) - Method in class org.springframework.restdocs.cookies.ResponseCookiesSnippet
Returns a new ResponseCookiesSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(HeaderDescriptor...) - Method in class org.springframework.restdocs.headers.RequestHeadersSnippet
Returns a new RequestHeadersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(HeaderDescriptor...) - Method in class org.springframework.restdocs.headers.ResponseHeadersSnippet
Returns a new ResponseHeadersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(LinkDescriptor...) - Method in class org.springframework.restdocs.hypermedia.LinksSnippet
Returns a new LinksSnippet configured with this snippet's link extractor and attributes, and its descriptors combined with the given additionalDescriptors.
and(FieldDescriptor...) - Method in class org.springframework.restdocs.payload.RequestFieldsSnippet
Returns a new RequestFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(FieldDescriptor...) - Method in class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Returns a new RequestPartFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(FieldDescriptor...) - Method in class org.springframework.restdocs.payload.ResponseFieldsSnippet
Returns a new ResponseFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(ParameterDescriptor...) - Method in class org.springframework.restdocs.request.FormParametersSnippet
Returns a new FormParametersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(ParameterDescriptor...) - Method in class org.springframework.restdocs.request.PathParametersSnippet
Returns a new PathParametersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(ParameterDescriptor...) - Method in class org.springframework.restdocs.request.QueryParametersSnippet
Returns a new QueryParametersSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
and(RequestPartDescriptor...) - Method in class org.springframework.restdocs.request.RequestPartsSnippet
Returns a new RequestPartsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
andWithPrefix(String, List<FieldDescriptor>) - Method in class org.springframework.restdocs.payload.RequestFieldsSnippet
Returns a new RequestFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
andWithPrefix(String, List<FieldDescriptor>) - Method in class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Returns a new RequestFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
andWithPrefix(String, List<FieldDescriptor>) - Method in class org.springframework.restdocs.payload.ResponseFieldsSnippet
Returns a new ResponseFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
andWithPrefix(String, FieldDescriptor...) - Method in class org.springframework.restdocs.payload.RequestFieldsSnippet
Returns a new RequestFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
andWithPrefix(String, FieldDescriptor...) - Method in class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Returns a new RequestFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
andWithPrefix(String, FieldDescriptor...) - Method in class org.springframework.restdocs.payload.ResponseFieldsSnippet
Returns a new ResponseFieldsSnippet configured with this snippet's attributes and its descriptors combined with the given additionalDescriptors.
apply(Map<String, Object>, RestDocumentationContext) - Method in class org.springframework.restdocs.config.AbstractConfigurer
Applies the configurer to the given configuration.
apply(Map<String, Object>, RestDocumentationContext) - Method in class org.springframework.restdocs.config.OperationPreprocessorsConfigurer
 
apply(Map<String, Object>, RestDocumentationContext) - Method in class org.springframework.restdocs.config.RestDocumentationConfigurer
Applies this configurer to the given configuration within the given context.
apply(Map<String, Object>, RestDocumentationContext) - Method in class org.springframework.restdocs.config.SnippetConfigurer
 
apply(Statement, Description) - Method in class org.springframework.restdocs.JUnitRestDocumentation
 
applyPathPrefix(String, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Creates a copy of the given descriptors with the given pathPrefix applied to their paths.
ARRAY - Enum constant in enum class org.springframework.restdocs.payload.JsonFieldType
An array.
asciidoctor() - Static method in class org.springframework.restdocs.templates.TemplateFormats
Returns the Asciidoctor template format with the ID asciidoctor and the file extension adoc.
AsciidoctorTableCellContentLambda - Class in org.springframework.restdocs.templates.mustache
A Mustache.Lambda that escapes | characters so that the do not break the table's formatting.
AsciidoctorTableCellContentLambda() - Constructor for class org.springframework.restdocs.templates.mustache.AsciidoctorTableCellContentLambda
 
atomLinks() - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a LinkExtractor capable of extracting links in Atom format where the links are found in an array named links.
Attribute(String, Object) - Constructor for class org.springframework.restdocs.snippet.Attributes.Attribute
Creates a new attribute with the given key and value.
ATTRIBUTE_NAME_DEFAULT_OPERATION_REQUEST_PREPROCESSOR - Static variable in class org.springframework.restdocs.generate.RestDocumentationGenerator
Name of the operation attribute used to hold the default operation request preprocessor.
ATTRIBUTE_NAME_DEFAULT_OPERATION_RESPONSE_PREPROCESSOR - Static variable in class org.springframework.restdocs.generate.RestDocumentationGenerator
Name of the operation attribute used to hold the default operation response preprocessor.
ATTRIBUTE_NAME_DEFAULT_SNIPPETS - Static variable in class org.springframework.restdocs.generate.RestDocumentationGenerator
Name of the operation attribute used to hold the List of default snippets.
ATTRIBUTE_NAME_URL_TEMPLATE - Static variable in class org.springframework.restdocs.generate.RestDocumentationGenerator
Name of the operation attribute used to hold the request's URL template.
attributes(Attributes.Attribute...) - Method in class org.springframework.restdocs.snippet.AbstractDescriptor
Adds the given attributes to the descriptor.
attributes(Attributes.Attribute...) - Static method in class org.springframework.restdocs.snippet.Attributes
Creates a Map of the given attributes.
Attributes - Class in org.springframework.restdocs.snippet
A fluent API for building a map of attributes.
Attributes.Attribute - Class in org.springframework.restdocs.snippet
An attribute (key-value pair).
Attributes.AttributeBuilder - Class in org.springframework.restdocs.snippet
A simple builder for an attribute (key-value pair).

B

beforeEach(ExtensionContext) - Method in class org.springframework.restdocs.RestDocumentationExtension
 
beforeOperation() - Method in class org.springframework.restdocs.JUnitRestDocumentation
 
beforeOperation() - Method in class org.springframework.restdocs.ManualRestDocumentation
 
beforeOperation() - Method in interface org.springframework.restdocs.RestDocumentationContextProvider
Returns a RestDocumentationContext for the operation that is about to be performed.
beforeTest(Class<?>, String) - Method in class org.springframework.restdocs.ManualRestDocumentation
Notification that a test is about to begin.
beneathPath(String) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a PayloadSubsectionExtractor that will extract the subsection of the JSON payload found beneath the given path.
BOOLEAN - Enum constant in enum class org.springframework.restdocs.payload.JsonFieldType
A boolean value.

C

camelCaseToKebabCase(String) - Method in class org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolver
Converts the given string from camelCase to kebab-case.
camelCaseToSnakeCase(String) - Method in class org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolver
Converts the given string from camelCase to snake_case.
CliDocumentation - Class in org.springframework.restdocs.cli
Static factory methods for documenting a RESTful API as if it were being driven using a command-line utility such as curl or HTTPie.
CommandFormatter - Interface in org.springframework.restdocs.cli
Formatter for CLI commands such as those included in CurlRequestSnippet and HttpieRequestSnippet.
compileTemplate(String) - Method in class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
 
compileTemplate(String) - Method in interface org.springframework.restdocs.templates.TemplateEngine
Compiles the template at the given path.
Constraint - Class in org.springframework.restdocs.constraints
A constraint.
Constraint(String, Map<String, Object>) - Constructor for class org.springframework.restdocs.constraints.Constraint
Creates a new Constraint with the given name and configuration.
ConstraintDescriptionResolver - Interface in org.springframework.restdocs.constraints
Resolves a description for a Constraint.
ConstraintDescriptions - Class in org.springframework.restdocs.constraints
Provides access to descriptions of a class's constraints.
ConstraintDescriptions(Class<?>) - Constructor for class org.springframework.restdocs.constraints.ConstraintDescriptions
Create a new ConstraintDescriptions for the given clazz.
ConstraintDescriptions(Class<?>, ConstraintDescriptionResolver) - Constructor for class org.springframework.restdocs.constraints.ConstraintDescriptions
Create a new ConstraintDescriptions for the given clazz.
ConstraintDescriptions(Class<?>, ConstraintResolver) - Constructor for class org.springframework.restdocs.constraints.ConstraintDescriptions
Create a new ConstraintDescriptions for the given clazz.
ConstraintDescriptions(Class<?>, ConstraintResolver, ConstraintDescriptionResolver) - Constructor for class org.springframework.restdocs.constraints.ConstraintDescriptions
Create a new ConstraintDescriptions for the given clazz.
ConstraintResolver - Interface in org.springframework.restdocs.constraints
An abstraction for resolving a class's constraints.
ContentModifier - Interface in org.springframework.restdocs.operation.preprocess
A ContentModifier modifies the content of an OperationRequest or OperationResponse during the preprocessing that is performed prior to documentation generation.
ContentModifyingOperationPreprocessor - Class in org.springframework.restdocs.operation.preprocess
An OperationPreprocessor that applies a ContentModifier to the content of the request or response.
ContentModifyingOperationPreprocessor(ContentModifier) - Constructor for class org.springframework.restdocs.operation.preprocess.ContentModifyingOperationPreprocessor
Create a new ContentModifyingOperationPreprocessor that will apply the given contentModifier to the operation's request or response.
ConversionException - Exception in org.springframework.restdocs.operation
An exception that can be thrown by RequestConverter and ResponseConverter implementations to indicate that a failure has occurred during conversion.
ConversionException(String, Throwable) - Constructor for exception org.springframework.restdocs.operation.ConversionException
Creates a new ConversionException with the given message and cause.
ConversionException(Throwable) - Constructor for exception org.springframework.restdocs.operation.ConversionException
Creates a new ConversionException with the given cause.
convert(R) - Method in interface org.springframework.restdocs.operation.RequestConverter
Converts the given request into an OperationRequest.
convert(R) - Method in interface org.springframework.restdocs.operation.ResponseConverter
Converts the given response into an OperationResponse.
CookieDescriptor - Class in org.springframework.restdocs.cookies
A description of a cookie found in a request or response.
CookieDescriptor(String) - Constructor for class org.springframework.restdocs.cookies.CookieDescriptor
Creates a new CookieDescriptor describing the cookie with the given name.
CookieDocumentation - Class in org.springframework.restdocs.cookies
Static factory methods for documenting a RESTful API's request and response cookies.
cookieWithName(String) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Creates a CookieDescriptor that describes a cookie with the given name.
create(String, String, byte[], HttpHeaders) - Method in class org.springframework.restdocs.operation.OperationRequestPartFactory
Creates a new OperationRequestPart.
create(URI, HttpMethod, byte[], HttpHeaders, Collection<OperationRequestPart>) - Method in class org.springframework.restdocs.operation.OperationRequestFactory
Creates a new OperationRequest.
create(URI, HttpMethod, byte[], HttpHeaders, Collection<OperationRequestPart>, Collection<RequestCookie>) - Method in class org.springframework.restdocs.operation.OperationRequestFactory
Creates a new OperationRequest.
create(HttpStatusCode, HttpHeaders, byte[]) - Method in class org.springframework.restdocs.operation.OperationResponseFactory
Creates a new OperationResponse without cookies.
create(HttpStatusCode, HttpHeaders, byte[], Collection<ResponseCookie>) - Method in class org.springframework.restdocs.operation.OperationResponseFactory
Creates a new OperationResponse.
create(RestDocumentationContext) - Method in interface org.springframework.restdocs.snippet.PlaceholderResolverFactory
Creates a new PropertyPlaceholderHelper.PlaceholderResolver using the given context.
create(RestDocumentationContext) - Method in class org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolverFactory
 
createFrom(OperationRequest, byte[]) - Method in class org.springframework.restdocs.operation.OperationRequestFactory
Creates a new OperationRequest based on the given original but with the given newContent.
createFrom(OperationRequest, HttpHeaders) - Method in class org.springframework.restdocs.operation.OperationRequestFactory
Creates a new OperationRequest based on the given original but with the given newHeaders.
createFrom(OperationResponse, byte[]) - Method in class org.springframework.restdocs.operation.OperationResponseFactory
Creates a new OperationResponse based on the given original but with the given newContent.
createFrom(OperationResponse, HttpHeaders) - Method in class org.springframework.restdocs.operation.OperationResponseFactory
Creates a new OperationResponse based on the given original but with the given newHeaders.
createModel(Operation) - Method in class org.springframework.restdocs.cli.CurlRequestSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.cli.HttpieRequestSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.cookies.AbstractCookiesSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.headers.AbstractHeadersSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.http.HttpRequestSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.http.HttpResponseSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.hypermedia.LinksSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.payload.AbstractBodySnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.payload.AbstractFieldsSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.request.AbstractParametersSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.request.PathParametersSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.request.RequestPartsSnippet
 
createModel(Operation) - Method in class org.springframework.restdocs.snippet.TemplatedSnippet
Create the model that should be used during template rendering to document the given operation.
createModelForDescriptor(CookieDescriptor) - Method in class org.springframework.restdocs.cookies.AbstractCookiesSnippet
Returns a model for the given descriptor.
createModelForDescriptor(HeaderDescriptor) - Method in class org.springframework.restdocs.headers.AbstractHeadersSnippet
Returns a model for the given descriptor.
createModelForDescriptor(LinkDescriptor) - Method in class org.springframework.restdocs.hypermedia.LinksSnippet
Returns a model for the given descriptor.
createModelForDescriptor(FieldDescriptor) - Method in class org.springframework.restdocs.payload.AbstractFieldsSnippet
Returns a model for the given descriptor.
createModelForDescriptor(ParameterDescriptor) - Method in class org.springframework.restdocs.request.AbstractParametersSnippet
Returns a model for the given descriptor.
curlRequest() - Static method in class org.springframework.restdocs.cli.CliDocumentation
Returns a new Snippet that will document the curl request for the API operation.
curlRequest(Map<String, Object>) - Static method in class org.springframework.restdocs.cli.CliDocumentation
Returns a new Snippet that will document the curl request for the API operation.
curlRequest(Map<String, Object>, CommandFormatter) - Static method in class org.springframework.restdocs.cli.CliDocumentation
Returns a new Snippet that will document the curl request for the API operation.
curlRequest(CommandFormatter) - Static method in class org.springframework.restdocs.cli.CliDocumentation
Returns a new Snippet that will document the curl request for the API operation.
CurlRequestSnippet - Class in org.springframework.restdocs.cli
A Snippet that documents the curl command for a request.
CurlRequestSnippet(Map<String, Object>, CommandFormatter) - Constructor for class org.springframework.restdocs.cli.CurlRequestSnippet
Creates a new CurlRequestSnippet with the given additional attributes that will be included in the model during template rendering.
CurlRequestSnippet(CommandFormatter) - Constructor for class org.springframework.restdocs.cli.CurlRequestSnippet
Creates a new CurlRequestSnippet that will use the given commandFormatter to format the curl command.

D

DEFAULT_SNIPPET_ENCODING - Static variable in class org.springframework.restdocs.config.SnippetConfigurer
The default encoding for documentation snippets.
DEFAULT_TEMPLATE_FORMAT - Static variable in class org.springframework.restdocs.config.SnippetConfigurer
The default format for documentation snippets.
description(Object) - Method in class org.springframework.restdocs.snippet.AbstractDescriptor
Specifies the description.
descriptionsForProperty(String) - Method in class org.springframework.restdocs.constraints.ConstraintDescriptions
Returns a list of the descriptions for the constraints on the given property.
document(Operation) - Method in interface org.springframework.restdocs.snippet.Snippet
Documents the call to the RESTful API described by the given operation.
document(Operation) - Method in class org.springframework.restdocs.snippet.TemplatedSnippet
 

E

equals(Object) - Method in class org.springframework.restdocs.hypermedia.Link
 
execute(Template.Fragment, Writer) - Method in class org.springframework.restdocs.templates.mustache.AsciidoctorTableCellContentLambda
 
extractActualCookies(Operation) - Method in class org.springframework.restdocs.cookies.AbstractCookiesSnippet
Extracts the names of the cookies from the request or response of the given operation.
extractActualCookies(Operation) - Method in class org.springframework.restdocs.cookies.RequestCookiesSnippet
 
extractActualCookies(Operation) - Method in class org.springframework.restdocs.cookies.ResponseCookiesSnippet
 
extractActualHeaders(Operation) - Method in class org.springframework.restdocs.headers.AbstractHeadersSnippet
Extracts the names of the headers from the request or response of the given operation.
extractActualHeaders(Operation) - Method in class org.springframework.restdocs.headers.RequestHeadersSnippet
 
extractActualHeaders(Operation) - Method in class org.springframework.restdocs.headers.ResponseHeadersSnippet
 
extractActualParameters(Operation) - Method in class org.springframework.restdocs.request.AbstractParametersSnippet
Extracts the names of the parameters that were present in the given operation.
extractActualParameters(Operation) - Method in class org.springframework.restdocs.request.FormParametersSnippet
 
extractActualParameters(Operation) - Method in class org.springframework.restdocs.request.PathParametersSnippet
 
extractActualParameters(Operation) - Method in class org.springframework.restdocs.request.QueryParametersSnippet
 
extractLinks(OperationResponse) - Method in interface org.springframework.restdocs.hypermedia.LinkExtractor
Extract the links from the given response, returning a Map of links where the keys are the link rels.
extractSubsection(byte[], MediaType) - Method in class org.springframework.restdocs.payload.FieldPathPayloadSubsectionExtractor
 
extractSubsection(byte[], MediaType) - Method in interface org.springframework.restdocs.payload.PayloadSubsectionExtractor
Extracts a subsection of the given payload that has the given contentType.
extractSubsection(byte[], MediaType, List<FieldDescriptor>) - Method in class org.springframework.restdocs.payload.FieldPathPayloadSubsectionExtractor
 
extractSubsection(byte[], MediaType, List<FieldDescriptor>) - Method in interface org.springframework.restdocs.payload.PayloadSubsectionExtractor
Extracts a subsection of the given payload that has the given contentType and that is described by the given descriptors.

F

FieldDescriptor - Class in org.springframework.restdocs.payload
A description of a field found in a request or response payload.
FieldDescriptor(String) - Constructor for class org.springframework.restdocs.payload.FieldDescriptor
Creates a new FieldDescriptor describing the field with the given path.
FieldDoesNotExistException - Exception in org.springframework.restdocs.payload
A FieldDoesNotExistException is thrown when a requested field does not exist in a payload.
FieldDoesNotExistException(String) - Constructor for exception org.springframework.restdocs.payload.FieldDoesNotExistException
Creates a new FieldDoesNotExistException that indicates that the field with the given fieldPath does not exist.
FieldPathPayloadSubsectionExtractor - Class in org.springframework.restdocs.payload
A PayloadSubsectionExtractor that extracts the subsection of the JSON payload identified by a field path.
FieldPathPayloadSubsectionExtractor(String) - Constructor for class org.springframework.restdocs.payload.FieldPathPayloadSubsectionExtractor
Creates a new FieldPathPayloadSubsectionExtractor that will extract the subsection of the JSON payload beneath the given fieldPath.
FieldPathPayloadSubsectionExtractor(String, String) - Constructor for class org.springframework.restdocs.payload.FieldPathPayloadSubsectionExtractor
Creates a new FieldPathPayloadSubsectionExtractor that will extract the subsection of the JSON payload beneath the given fieldPath and that will use the given subsectionId to identify the subsection.
FieldTypeRequiredException - Exception in org.springframework.restdocs.payload
A FieldTypeRequiredException is thrown when a field's type cannot be determined automatically and, therefore, must be explicitly provided.
FieldTypeRequiredException(String) - Constructor for exception org.springframework.restdocs.payload.FieldTypeRequiredException
Creates a new FieldTypeRequiredException indicating that a type is required for the reason described in the given message.
FieldTypeResolver - Interface in org.springframework.restdocs.payload
Resolves the type of a field in a request or response payload.
fieldWithPath(String) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Creates a FieldDescriptor that describes a field with the given path.
findMissingHeaders(Operation) - Method in class org.springframework.restdocs.headers.AbstractHeadersSnippet
Finds the headers that are missing from the operation.
forContentWithDescriptors(byte[], MediaType, List<FieldDescriptor>) - Static method in interface org.springframework.restdocs.payload.FieldTypeResolver
Create a FieldTypeResolver for the given content and contentType, described by the given descriptors.
format(List<String>) - Method in interface org.springframework.restdocs.cli.CommandFormatter
Formats a list of elements into a single String.
formParameters(List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the form parameters from the API operation's request.
formParameters(Map<String, Object>, List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the form parameters from the API operation's request.
formParameters(Map<String, Object>, ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the form parameters from the API operation's request.
formParameters(ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the form parameters from the API operation's request.
FormParameters - Class in org.springframework.restdocs.operation
A request's form parameters, derived from its form URL encoded body content.
FormParametersSnippet - Class in org.springframework.restdocs.request
A Snippet that documents the form parameters supported by a RESTful resource.
FormParametersSnippet(List<ParameterDescriptor>) - Constructor for class org.springframework.restdocs.request.FormParametersSnippet
Creates a new FormParametersSnippet that will document the request's form parameters using the given descriptors.
FormParametersSnippet(List<ParameterDescriptor>, boolean) - Constructor for class org.springframework.restdocs.request.FormParametersSnippet
Creates a new FormParametersSnippet that will document the request's form parameters using the given descriptors.
FormParametersSnippet(List<ParameterDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.request.FormParametersSnippet
Creates a new FormParametersSnippet that will document the request's form parameters using the given descriptors.
FormParametersSnippet(List<ParameterDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.request.FormParametersSnippet
Creates a new FormParametersSnippet that will document the request's form parameters using the given descriptors.
from(OperationRequest) - Static method in class org.springframework.restdocs.operation.FormParameters
Extracts the form parameters from the body of the given request.
from(OperationRequest) - Static method in class org.springframework.restdocs.operation.QueryParameters
Extracts the query parameters from the query string of the given request.

G

getAttributes() - Method in interface org.springframework.restdocs.operation.Operation
Returns a Map of attributes associated with the operation.
getAttributes() - Method in class org.springframework.restdocs.operation.StandardOperation
 
getAttributes() - Method in class org.springframework.restdocs.snippet.AbstractDescriptor
Returns the descriptor's attributes.
getAttributes() - Method in class org.springframework.restdocs.snippet.TemplatedSnippet
Returns the additional attributes that will be included in the model during template rendering.
getCompiler() - Method in class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
Returns the Mustache.Compiler used to compile Mustache templates.
getConfiguration() - Method in class org.springframework.restdocs.constraints.Constraint
Returns the configuration of the constraint.
getContent() - Method in interface org.springframework.restdocs.operation.OperationRequest
Returns the content of the request.
getContent() - Method in interface org.springframework.restdocs.operation.OperationRequestPart
Returns the contents of the part.
getContent() - Method in interface org.springframework.restdocs.operation.OperationResponse
Returns the content of the response.
getContent(Operation) - Method in class org.springframework.restdocs.payload.AbstractBodySnippet
Returns the content of the request or response extracted from the given operation.
getContent(Operation) - Method in class org.springframework.restdocs.payload.AbstractFieldsSnippet
Returns the content of the request or response extracted form the given operation.
getContent(Operation) - Method in class org.springframework.restdocs.payload.RequestBodySnippet
 
getContent(Operation) - Method in class org.springframework.restdocs.payload.RequestFieldsSnippet
 
getContent(Operation) - Method in class org.springframework.restdocs.payload.RequestPartBodySnippet
 
getContent(Operation) - Method in class org.springframework.restdocs.payload.RequestPartFieldsSnippet
 
getContent(Operation) - Method in class org.springframework.restdocs.payload.ResponseBodySnippet
 
getContent(Operation) - Method in class org.springframework.restdocs.payload.ResponseFieldsSnippet
 
getContentAsString() - Method in interface org.springframework.restdocs.operation.OperationRequest
Returns the content of the request as a String.
getContentAsString() - Method in interface org.springframework.restdocs.operation.OperationRequestPart
Returns the content of the part as a String.
getContentAsString() - Method in interface org.springframework.restdocs.operation.OperationResponse
Returns the content of the response as a String.
getContentType(Operation) - Method in class org.springframework.restdocs.payload.AbstractBodySnippet
Returns the content type of the request or response extracted from the given operation.
getContentType(Operation) - Method in class org.springframework.restdocs.payload.AbstractFieldsSnippet
Returns the content type of the request or response extracted from the given operation.
getContentType(Operation) - Method in class org.springframework.restdocs.payload.RequestBodySnippet
 
getContentType(Operation) - Method in class org.springframework.restdocs.payload.RequestFieldsSnippet
 
getContentType(Operation) - Method in class org.springframework.restdocs.payload.RequestPartBodySnippet
 
getContentType(Operation) - Method in class org.springframework.restdocs.payload.RequestPartFieldsSnippet
 
getContentType(Operation) - Method in class org.springframework.restdocs.payload.ResponseBodySnippet
 
getContentType(Operation) - Method in class org.springframework.restdocs.payload.ResponseFieldsSnippet
 
getContext() - Method in class org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolver
Returns the RestDocumentationContext that should be used during placeholder resolution.
getCookieDescriptors() - Method in class org.springframework.restdocs.cookies.AbstractCookiesSnippet
Returns the list of CookieDescriptors that will be used to generate the documentation.
getCookies() - Method in interface org.springframework.restdocs.operation.OperationRequest
Returns the cookies sent with the request.
getCookies() - Method in interface org.springframework.restdocs.operation.OperationResponse
Returns the cookies returned with the response.
getDescription() - Method in class org.springframework.restdocs.snippet.AbstractDescriptor
Returns the description.
getDescriptorsByRel() - Method in class org.springframework.restdocs.hypermedia.LinksSnippet
Returns a Map of LinkDescriptors keyed by their rels.
getFieldDescriptors() - Method in class org.springframework.restdocs.payload.AbstractFieldsSnippet
Returns the list of FieldDescriptors that will be used to generate the documentation.
getFieldPath() - Method in class org.springframework.restdocs.payload.FieldPathPayloadSubsectionExtractor
Returns the path of the field that will be extracted.
getFileExtension() - Method in interface org.springframework.restdocs.templates.TemplateFormat
Returns the file extension to use for files generated from templates in this format.
getHeaderDescriptors() - Method in class org.springframework.restdocs.headers.AbstractHeadersSnippet
Returns the list of HeaderDescriptors that will be used to generate the documentation.
getHeaders() - Method in interface org.springframework.restdocs.operation.OperationRequest
Returns the headers that were included in the request.
getHeaders() - Method in interface org.springframework.restdocs.operation.OperationRequestPart
Returns the part's headers.
getHeaders() - Method in interface org.springframework.restdocs.operation.OperationResponse
Returns the headers in the response.
getHref() - Method in class org.springframework.restdocs.hypermedia.Link
Returns the link's href.
getId() - Method in interface org.springframework.restdocs.templates.TemplateFormat
Returns the id of this template format.
getKey() - Method in class org.springframework.restdocs.snippet.Attributes.Attribute
Returns the attribute's key.
getMethod() - Method in interface org.springframework.restdocs.operation.OperationRequest
Returns the HTTP method of the request.
getName() - Method in class org.springframework.restdocs.constraints.Constraint
Returns the name of the constraint.
getName() - Method in class org.springframework.restdocs.cookies.CookieDescriptor
Returns the name for the cookie.
getName() - Method in class org.springframework.restdocs.headers.HeaderDescriptor
Returns the name for the header.
getName() - Method in interface org.springframework.restdocs.operation.Operation
Returns the name of the operation.
getName() - Method in interface org.springframework.restdocs.operation.OperationRequestPart
Returns the name of the part.
getName() - Method in class org.springframework.restdocs.operation.RequestCookie
Returns the name of the cookie.
getName() - Method in class org.springframework.restdocs.operation.ResponseCookie
Returns the name of the cookie.
getName() - Method in class org.springframework.restdocs.operation.StandardOperation
 
getName() - Method in class org.springframework.restdocs.request.ParameterDescriptor
Returns the name of the parameter being described by this descriptor.
getName() - Method in class org.springframework.restdocs.request.RequestPartDescriptor
Returns the name of the request part being described by this descriptor.
getOutputDirectory() - Method in interface org.springframework.restdocs.RestDocumentationContext
Returns the output directory to which generated snippets should be written.
getParameterDescriptors() - Method in class org.springframework.restdocs.request.AbstractParametersSnippet
Returns a Map of ParameterDescriptors that will be used to generate the documentation key by their ParameterDescriptor.getName().
getParts() - Method in interface org.springframework.restdocs.operation.OperationRequest
Returns the request's parts, provided that it is a multipart request.
getPath() - Method in class org.springframework.restdocs.payload.FieldDescriptor
Returns the path of the field described by this descriptor.
getRel() - Method in class org.springframework.restdocs.hypermedia.Link
Returns the link's rel.
getRel() - Method in class org.springframework.restdocs.hypermedia.LinkDescriptor
Returns the rel of the link described by this descriptor.
getRequest() - Method in interface org.springframework.restdocs.operation.Operation
Returns the request that was sent.
getRequest() - Method in class org.springframework.restdocs.operation.StandardOperation
 
getResponse() - Method in interface org.springframework.restdocs.operation.Operation
Returns the response that was received.
getResponse() - Method in class org.springframework.restdocs.operation.StandardOperation
 
getSnippetName() - Method in class org.springframework.restdocs.snippet.TemplatedSnippet
Returns the name of the snippet that will be created.
getStatus() - Method in interface org.springframework.restdocs.operation.OperationResponse
Returns the status of the response.
getStepCount() - Method in interface org.springframework.restdocs.RestDocumentationContext
Returns the current step count.
getSubmittedFileName() - Method in interface org.springframework.restdocs.operation.OperationRequestPart
Returns the name of the file that is being uploaded in this part.
getSubsectionExtractor() - Method in class org.springframework.restdocs.payload.AbstractFieldsSnippet
Returns the PayloadSubsectionExtractor, if any, used by this snippet.
getSubsectionId() - Method in class org.springframework.restdocs.payload.FieldPathPayloadSubsectionExtractor
 
getSubsectionId() - Method in interface org.springframework.restdocs.payload.PayloadSubsectionExtractor
Returns an identifier for the subsection that this extractor will extract.
getTemplateResourceResolver() - Method in class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
Returns the TemplateResourceResolver used to resolve the template resources prior to compilation.
getTestClass() - Method in interface org.springframework.restdocs.RestDocumentationContext
Returns the class whose tests are currently executing.
getTestMethodName() - Method in interface org.springframework.restdocs.RestDocumentationContext
Returns the name of the test method that is currently executing.
getTitle() - Method in class org.springframework.restdocs.hypermedia.Link
Returns the link's title, or null if it does not have a title.
getType() - Method in class org.springframework.restdocs.payload.FieldDescriptor
Returns the type of the field described by this descriptor.
getUri() - Method in interface org.springframework.restdocs.operation.OperationRequest
Returns the request's URI.
getValue() - Method in class org.springframework.restdocs.operation.RequestCookie
Returns the value of the cookie.
getValue() - Method in class org.springframework.restdocs.operation.ResponseCookie
Returns the value of the cookie.
getValue() - Method in class org.springframework.restdocs.snippet.Attributes.Attribute
Returns the attribute's value.

H

halLinks() - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a LinkExtractor capable of extracting links in Hypermedia Application Language (HAL) format where the links are found in a map named _links.
handle(REQ, RESP, Map<String, Object>) - Method in class org.springframework.restdocs.generate.RestDocumentationGenerator
Handles the given request and response, producing documentation snippets for them using the given configuration.
hashCode() - Method in class org.springframework.restdocs.hypermedia.Link
 
HeaderDescriptor - Class in org.springframework.restdocs.headers
A description of a header found in a request or response.
HeaderDescriptor(String) - Constructor for class org.springframework.restdocs.headers.HeaderDescriptor
Creates a new HeaderDescriptor describing the header with the given name.
HeaderDocumentation - Class in org.springframework.restdocs.headers
Static factory methods for documenting a RESTful API's request and response headers.
HeadersModifyingOperationPreprocessor - Class in org.springframework.restdocs.operation.preprocess
An OperationPreprocessor that modifies a request or response by adding, setting, or removing headers.
HeadersModifyingOperationPreprocessor() - Constructor for class org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
 
headerWithName(String) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Creates a HeaderDescriptor that describes a header with the given name.
host(String) - Method in class org.springframework.restdocs.operation.preprocess.UriModifyingOperationPreprocessor
Modifies the URI to use the given host.
HttpDocumentation - Class in org.springframework.restdocs.http
Static factory methods for documenting a RESTful API's HTTP requests.
httpieRequest() - Static method in class org.springframework.restdocs.cli.CliDocumentation
Returns a new Snippet that will document the HTTPie request for the API operation.
httpieRequest(Map<String, Object>) - Static method in class org.springframework.restdocs.cli.CliDocumentation
Returns a new Snippet that will document the HTTPie request for the API operation.
httpieRequest(Map<String, Object>, CommandFormatter) - Static method in class org.springframework.restdocs.cli.CliDocumentation
Returns a new Snippet that will document the HTTPie request for the API operation.
httpieRequest(CommandFormatter) - Static method in class org.springframework.restdocs.cli.CliDocumentation
Returns a new Snippet that will document the HTTPie request for the API operation.
HttpieRequestSnippet - Class in org.springframework.restdocs.cli
A Snippet that documents the HTTPie command for a request.
HttpieRequestSnippet(Map<String, Object>, CommandFormatter) - Constructor for class org.springframework.restdocs.cli.HttpieRequestSnippet
Creates a new HttpieRequestSnippet with the given additional attributes that will be included in the model during template rendering.
HttpieRequestSnippet(CommandFormatter) - Constructor for class org.springframework.restdocs.cli.HttpieRequestSnippet
Creates a new HttpieRequestSnippet that will use the given commandFormatter to format the HTTPie command.
httpRequest() - Static method in class org.springframework.restdocs.http.HttpDocumentation
Returns a new Snippet that will document the HTTP request for the API operation.
httpRequest(Map<String, Object>) - Static method in class org.springframework.restdocs.http.HttpDocumentation
Returns a new Snippet that will document the HTTP request for the API operation.
HttpRequestSnippet - Class in org.springframework.restdocs.http
A Snippet that documents an HTTP request.
HttpRequestSnippet() - Constructor for class org.springframework.restdocs.http.HttpRequestSnippet
Creates a new HttpRequestSnippet with no additional attributes.
HttpRequestSnippet(Map<String, Object>) - Constructor for class org.springframework.restdocs.http.HttpRequestSnippet
Creates a new HttpRequestSnippet with the given additional attributes that will be included in the model during template rendering.
httpResponse() - Static method in class org.springframework.restdocs.http.HttpDocumentation
Returns a Snippet that will document the HTTP response for the API operation.
httpResponse(Map<String, Object>) - Static method in class org.springframework.restdocs.http.HttpDocumentation
Returns a Snippet that will document the HTTP response for the API operation.
HttpResponseSnippet - Class in org.springframework.restdocs.http
A Snippet that documents an HTTP response.
HttpResponseSnippet() - Constructor for class org.springframework.restdocs.http.HttpResponseSnippet
Creates a new HttpResponseSnippet with no additional attributes.
HttpResponseSnippet(Map<String, Object>) - Constructor for class org.springframework.restdocs.http.HttpResponseSnippet
Creates a new HttpResponseSnippet with the given additional attributes that will be included in the model during template rendering.
HypermediaDocumentation - Class in org.springframework.restdocs.hypermedia
Static factory methods for documenting a RESTful API that utilizes Hypermedia.

I

IgnorableDescriptor<T extends IgnorableDescriptor<T>> - Class in org.springframework.restdocs.snippet
Base class for descriptors for items that can be ignored.
IgnorableDescriptor() - Constructor for class org.springframework.restdocs.snippet.IgnorableDescriptor
 
ignored() - Method in class org.springframework.restdocs.snippet.IgnorableDescriptor
Marks the described item as being ignored.
isIgnored() - Method in class org.springframework.restdocs.snippet.IgnorableDescriptor
Returns whether or not the item being described should be ignored and, therefore, should not be included in the documentation.
isIgnoredUndocumentedFields() - Method in class org.springframework.restdocs.payload.AbstractFieldsSnippet
Returns whether or not this snippet ignores undocumented fields.
isIgnoreUndocumentedCookies() - Method in class org.springframework.restdocs.cookies.AbstractCookiesSnippet
Returns whether or not this snippet ignores undocumented cookies.
isIgnoreUndocumentedParameters() - Method in class org.springframework.restdocs.request.AbstractParametersSnippet
Returns whether to ignore undocumented parameters.
isOptional() - Method in class org.springframework.restdocs.cookies.CookieDescriptor
Returns true if the described cookie is optional, otherwise false.
isOptional() - Method in class org.springframework.restdocs.headers.HeaderDescriptor
Returns true if the described header is optional, otherwise false.
isOptional() - Method in class org.springframework.restdocs.hypermedia.LinkDescriptor
Returns true if the described link is optional, otherwise false.
isOptional() - Method in class org.springframework.restdocs.payload.FieldDescriptor
Returns true if the described field is optional, otherwise false.
isOptional() - Method in class org.springframework.restdocs.request.ParameterDescriptor
Returns true if the described parameter is optional, otherwise false.
isOptional() - Method in class org.springframework.restdocs.request.RequestPartDescriptor
Returns true if the described request part is optional, otherwise false.

J

JsonFieldType - Enum Class in org.springframework.restdocs.payload
An enumeration of the possible types for a field in a JSON request or response payload.
JUnitRestDocumentation - Class in org.springframework.restdocs
A JUnit TestRule used to automatically manage the RestDocumentationContext.
JUnitRestDocumentation() - Constructor for class org.springframework.restdocs.JUnitRestDocumentation
Creates a new JUnitRestDocumentation instance that will generate snippets to <gradle/maven build path>/generated-snippet.
JUnitRestDocumentation(String) - Constructor for class org.springframework.restdocs.JUnitRestDocumentation
Creates a new JUnitRestDocumentation instance that will generate snippets to the given outputDirectory.

K

key(String) - Static method in class org.springframework.restdocs.snippet.Attributes
Creates an attribute with the given key.

L

Link - Class in org.springframework.restdocs.hypermedia
Representation of a link used in a Hypermedia-based API.
Link(String, String) - Constructor for class org.springframework.restdocs.hypermedia.Link
Creates a new Link with the given rel and href.
Link(String, String, String) - Constructor for class org.springframework.restdocs.hypermedia.Link
Creates a new Link with the given rel, href, and title.
LinkDescriptor - Class in org.springframework.restdocs.hypermedia
A description of a link found in a hypermedia API.
LinkDescriptor(String) - Constructor for class org.springframework.restdocs.hypermedia.LinkDescriptor
Creates a new LinkDescriptor describing a link with the given rel.
LinkExtractor - Interface in org.springframework.restdocs.hypermedia
A LinkExtractor is used to extract links from a JSON response.
links(List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
links(Map<String, Object>, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API call's response.
links(Map<String, Object>, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API call's response.
links(LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
links(LinkExtractor, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
links(LinkExtractor, Map<String, Object>, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
links(LinkExtractor, Map<String, Object>, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
links(LinkExtractor, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
LinksSnippet - Class in org.springframework.restdocs.hypermedia
A Snippet that documents a RESTful resource's links.
LinksSnippet(LinkExtractor, List<LinkDescriptor>) - Constructor for class org.springframework.restdocs.hypermedia.LinksSnippet
Creates a new LinksSnippet that will extract links using the given linkExtractor and document them using the given descriptors.
LinksSnippet(LinkExtractor, List<LinkDescriptor>, boolean) - Constructor for class org.springframework.restdocs.hypermedia.LinksSnippet
Creates a new LinksSnippet that will extract links using the given linkExtractor and document them using the given descriptors.
LinksSnippet(LinkExtractor, List<LinkDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.hypermedia.LinksSnippet
Creates a new LinksSnippet that will extract links using the given linkExtractor and document them using the given descriptors.
LinksSnippet(LinkExtractor, List<LinkDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.hypermedia.LinksSnippet
Creates a new LinksSnippet that will extract links using the given linkExtractor and document them using the given descriptors.
linkWithRel(String) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Creates a LinkDescriptor that describes a link with the given rel.

M

ManualRestDocumentation - Class in org.springframework.restdocs
ManualRestDocumentation is used to manually manage the RestDocumentationContext.
ManualRestDocumentation() - Constructor for class org.springframework.restdocs.ManualRestDocumentation
Creates a new ManualRestDocumentation instance that will generate snippets to <gradle/maven build path>/generated-snippets.
ManualRestDocumentation(String) - Constructor for class org.springframework.restdocs.ManualRestDocumentation
Creates a new ManualRestDocumentation instance that will generate snippets to the given outputDirectory.
markdown() - Static method in class org.springframework.restdocs.templates.TemplateFormats
Returns the Markdown template format with the ID markdown and the file extension md.
maskLinks() - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
Returns an OperationPreprocessor that will mask the href of hypermedia links in the request or response.
maskLinks(String) - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
Returns an OperationPreprocessor that will mask the href of hypermedia links in the request or response.
ModelCreationException - Exception in org.springframework.restdocs.snippet
An exception that can be thrown by a TemplatedSnippet to indicate that a failure has occurred during model creation.
ModelCreationException(String, Throwable) - Constructor for exception org.springframework.restdocs.snippet.ModelCreationException
Creates a new ModelCreationException with the given message and cause.
ModelCreationException(Throwable) - Constructor for exception org.springframework.restdocs.snippet.ModelCreationException
Creates a new ModelCreationException with the given cause.
modifyContent(byte[], MediaType) - Method in interface org.springframework.restdocs.operation.preprocess.ContentModifier
Returns modified content based on the given originalContent.
modifyContent(byte[], MediaType) - Method in class org.springframework.restdocs.operation.preprocess.PrettyPrintingContentModifier
 
modifyHeaders() - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
Returns a HeadersModifyingOperationPreprocessor that can then be configured to modify the headers of the request or response.
modifyUris() - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
Returns a UriModifyingOperationPreprocessor that will modify URIs in the request or response by changing one or more of their host, scheme, and port.
multiLineFormat() - Static method in class org.springframework.restdocs.cli.CliDocumentation
Creates a new CommandFormatter that produces multi-line output.
MustacheTemplate - Class in org.springframework.restdocs.templates.mustache
An adapter that exposes a compiled Mustache template as a Template.
MustacheTemplate(Template) - Constructor for class org.springframework.restdocs.templates.mustache.MustacheTemplate
Creates a new MustacheTemplate that adapts the given delegate.
MustacheTemplate(Template, Map<String, Object>) - Constructor for class org.springframework.restdocs.templates.mustache.MustacheTemplate
Creates a new MustacheTemplate that adapts the given delegate.
MustacheTemplateEngine - Class in org.springframework.restdocs.templates.mustache
A Mustache-based TemplateEngine implemented using JMustache.
MustacheTemplateEngine(TemplateResourceResolver) - Constructor for class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
Creates a new MustacheTemplateEngine that will use the given templateResourceResolver to resolve template paths.
MustacheTemplateEngine(TemplateResourceResolver, Charset) - Constructor for class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
Creates a new MustacheTemplateEngine that will use the given templateResourceResolver to resolve template paths, reading them using the given templateEncoding.
MustacheTemplateEngine(TemplateResourceResolver, Charset, Mustache.Compiler) - Constructor for class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
Creates a new MustacheTemplateEngine that will use the given templateResourceResolver to resolve templates and the given compiler to compile them.
MustacheTemplateEngine(TemplateResourceResolver, Charset, Mustache.Compiler, Map<String, Object>) - Constructor for class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
Creates a new MustacheTemplateEngine that will use the given templateResourceResolver to resolve templates.
MustacheTemplateEngine(TemplateResourceResolver, Mustache.Compiler) - Constructor for class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
Creates a new MustacheTemplateEngine that will use the given templateResourceResolver to resolve templates and the given compiler to compile them.
MustacheTemplateEngine(TemplateResourceResolver, Mustache.Compiler, Map<String, Object>) - Constructor for class org.springframework.restdocs.templates.mustache.MustacheTemplateEngine
Creates a new MustacheTemplateEngine that will use the given templateResourceResolver to resolve templates.

N

NULL - Enum constant in enum class org.springframework.restdocs.payload.JsonFieldType
null.
NUMBER - Enum constant in enum class org.springframework.restdocs.payload.JsonFieldType
A number.

O

OBJECT - Enum constant in enum class org.springframework.restdocs.payload.JsonFieldType
An object (map).
Operation - Interface in org.springframework.restdocs.operation
Describes an operation performed on a RESTful service.
OperationPreprocessor - Interface in org.springframework.restdocs.operation.preprocess
An OperationPreprocessor processes the OperationRequest and OperationResponse of an Operation prior to it being documented.
OperationPreprocessorAdapter - Class in org.springframework.restdocs.operation.preprocess
An implementation of OperationPreprocessor that returns the request and response as-is.
OperationPreprocessorAdapter() - Constructor for class org.springframework.restdocs.operation.preprocess.OperationPreprocessorAdapter
 
operationPreprocessors() - Method in class org.springframework.restdocs.config.RestDocumentationConfigurer
Returns an OperationPreprocessorsConfigurer that can be used to configure the operation request and response preprocessors that will be used.
OperationPreprocessorsConfigurer<PARENT,TYPE> - Class in org.springframework.restdocs.config
A configurer that can be used to configure the default operation preprocessors.
OperationPreprocessorsConfigurer(PARENT) - Constructor for class org.springframework.restdocs.config.OperationPreprocessorsConfigurer
Creates a new OperationPreprocessorConfigurer with the given parent.
OperationRequest - Interface in org.springframework.restdocs.operation
The request that was sent as part of performing an operation on a RESTful service.
OperationRequestFactory - Class in org.springframework.restdocs.operation
A factory for creating OperationRequests.
OperationRequestFactory() - Constructor for class org.springframework.restdocs.operation.OperationRequestFactory
 
OperationRequestPart - Interface in org.springframework.restdocs.operation
A part of a multipart request.
OperationRequestPartFactory - Class in org.springframework.restdocs.operation
A factory for creating OperationRequestParts.
OperationRequestPartFactory() - Constructor for class org.springframework.restdocs.operation.OperationRequestPartFactory
 
OperationRequestPreprocessor - Interface in org.springframework.restdocs.operation.preprocess
An OperationRequestPreprocessor is used to modify an OperationRequest prior to it being documented.
OperationResponse - Interface in org.springframework.restdocs.operation
The response that was received as part of performing an operation on a RESTful service.
OperationResponseFactory - Class in org.springframework.restdocs.operation
A factory for creating OperationResponses.
OperationResponseFactory() - Constructor for class org.springframework.restdocs.operation.OperationResponseFactory
 
OperationResponsePreprocessor - Interface in org.springframework.restdocs.operation.preprocess
An OperationResponsePreprocessor is used to modify an OperationResponse prior to it being documented.
optional() - Method in class org.springframework.restdocs.cookies.CookieDescriptor
Marks the cookie as optional.
optional() - Method in class org.springframework.restdocs.headers.HeaderDescriptor
Marks the header as optional.
optional() - Method in class org.springframework.restdocs.hypermedia.LinkDescriptor
Marks the link as optional.
optional() - Method in class org.springframework.restdocs.payload.FieldDescriptor
Marks the field as optional.
optional() - Method in class org.springframework.restdocs.request.ParameterDescriptor
Marks the parameter as optional.
optional() - Method in class org.springframework.restdocs.request.RequestPartDescriptor
Marks the request part as optional.
org.springframework.restdocs - package org.springframework.restdocs
Core Spring REST Docs classes.
org.springframework.restdocs.cli - package org.springframework.restdocs.cli
Documenting CLI commands required to make a request to a RESTful API.
org.springframework.restdocs.config - package org.springframework.restdocs.config
Classes for configuring Spring REST Docs.
org.springframework.restdocs.constraints - package org.springframework.restdocs.constraints
Documenting a RESTful API's constraints.
org.springframework.restdocs.cookies - package org.springframework.restdocs.cookies
Documenting the cookies of a RESTful API's requests and responses.
org.springframework.restdocs.generate - package org.springframework.restdocs.generate
Classes that drive the generation of the documentation snippets.
org.springframework.restdocs.headers - package org.springframework.restdocs.headers
Documenting the headers of a RESTful API's requests and responses.
org.springframework.restdocs.http - package org.springframework.restdocs.http
Documenting the HTTP request sent to a RESTful API and the HTTP response that is returned.
org.springframework.restdocs.hypermedia - package org.springframework.restdocs.hypermedia
Documenting a RESTful API that uses hypermedia.
org.springframework.restdocs.operation - package org.springframework.restdocs.operation
Operation API that describes a request that was sent and the response that was received when calling a RESTful API.
org.springframework.restdocs.operation.preprocess - package org.springframework.restdocs.operation.preprocess
Support for preprocessing an operation prior to it being documented.
org.springframework.restdocs.payload - package org.springframework.restdocs.payload
Documenting the payload of a RESTful API's requests and responses.
org.springframework.restdocs.request - package org.springframework.restdocs.request
Documenting query and path parameters of requests sent to a RESTful API.
org.springframework.restdocs.snippet - package org.springframework.restdocs.snippet
Snippet generation.
org.springframework.restdocs.templates - package org.springframework.restdocs.templates
Template API used to render documentation snippets.
org.springframework.restdocs.templates.mustache - package org.springframework.restdocs.templates.mustache
JMustache-based implementation of the template API.

P

ParameterDescriptor - Class in org.springframework.restdocs.request
A descriptor of a request or path parameter.
ParameterDescriptor(String) - Constructor for class org.springframework.restdocs.request.ParameterDescriptor
Creates a new ParameterDescriptor describing the parameter with the given name.
parameterWithName(String) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Creates a ParameterDescriptor that describes a request or path parameter with the given name.
partWithName(String) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Creates a RequestPartDescriptor that describes a request part with the given name.
pathParameters(List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the path parameters from the API operation's request.
pathParameters(Map<String, Object>, List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the path parameters from the API operation's request.
pathParameters(Map<String, Object>, ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the path parameters from the API operation's request.
pathParameters(ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the path parameters from the API operation's request.
PathParametersSnippet - Class in org.springframework.restdocs.request
A Snippet that documents the path parameters supported by a RESTful resource.
PathParametersSnippet(List<ParameterDescriptor>) - Constructor for class org.springframework.restdocs.request.PathParametersSnippet
Creates a new PathParametersSnippet that will document the request's path parameters using the given descriptors.
PathParametersSnippet(List<ParameterDescriptor>, boolean) - Constructor for class org.springframework.restdocs.request.PathParametersSnippet
Creates a new PathParametersSnippet that will document the request's path parameters using the given descriptors.
PathParametersSnippet(List<ParameterDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.request.PathParametersSnippet
Creates a new PathParametersSnippet that will document the request's path parameters using the given descriptors.
PathParametersSnippet(List<ParameterDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.request.PathParametersSnippet
Creates a new PathParametersSnippet that will document the request's path parameters using the given descriptors.
PayloadDocumentation - Class in org.springframework.restdocs.payload
Static factory methods for documenting a RESTful API's request and response payloads.
PayloadSubsectionExtractor<T extends PayloadSubsectionExtractor<T>> - Interface in org.springframework.restdocs.payload
Strategy interface for extracting a subsection of a payload.
PlaceholderResolverFactory - Interface in org.springframework.restdocs.snippet
A factory for creating PropertyPlaceholderHelper.PlaceholderResolver instances.
port(int) - Method in class org.springframework.restdocs.operation.preprocess.UriModifyingOperationPreprocessor
Modifies the URI to use the given port.
preprocess(OperationRequest) - Method in class org.springframework.restdocs.operation.preprocess.ContentModifyingOperationPreprocessor
 
preprocess(OperationRequest) - Method in class org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
 
preprocess(OperationRequest) - Method in interface org.springframework.restdocs.operation.preprocess.OperationPreprocessor
Processes the given request.
preprocess(OperationRequest) - Method in class org.springframework.restdocs.operation.preprocess.OperationPreprocessorAdapter
Returns the given request as-is.
preprocess(OperationRequest) - Method in interface org.springframework.restdocs.operation.preprocess.OperationRequestPreprocessor
Processes and potentially modifies the given request before it is documented.
preprocess(OperationRequest) - Method in class org.springframework.restdocs.operation.preprocess.UriModifyingOperationPreprocessor
 
preprocess(OperationResponse) - Method in class org.springframework.restdocs.operation.preprocess.ContentModifyingOperationPreprocessor
 
preprocess(OperationResponse) - Method in class org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
 
preprocess(OperationResponse) - Method in interface org.springframework.restdocs.operation.preprocess.OperationPreprocessor
Processes the given response.
preprocess(OperationResponse) - Method in class org.springframework.restdocs.operation.preprocess.OperationPreprocessorAdapter
Returns the given response as-is.
preprocess(OperationResponse) - Method in interface org.springframework.restdocs.operation.preprocess.OperationResponsePreprocessor
Processes and potentially modifies the given response before it is documented.
preprocess(OperationResponse) - Method in class org.springframework.restdocs.operation.preprocess.UriModifyingOperationPreprocessor
 
Preprocessors - Class in org.springframework.restdocs.operation.preprocess
Static factory methods for creating OperationPreprocessors that can be applied to an Operation's request or response before it is documented.
preprocessRequest(OperationPreprocessor...) - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
Returns an OperationRequestPreprocessor that will preprocess the request by applying the given preprocessors to it.
preprocessResponse(OperationPreprocessor...) - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
Returns an OperationResponsePreprocessor that will preprocess the response by applying the given preprocessors to it.
prettyPrint() - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
Returns an OperationPreprocessor that will pretty print the content of the request or response.
PrettyPrintingContentModifier - Class in org.springframework.restdocs.operation.preprocess
A ContentModifier that modifies the content by pretty printing it.
PrettyPrintingContentModifier() - Constructor for class org.springframework.restdocs.operation.preprocess.PrettyPrintingContentModifier
 

Q

queryParameters(List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the query parameters from the API operation's request.
queryParameters(Map<String, Object>, List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the query parameters from the API operation's request.
queryParameters(Map<String, Object>, ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the query parameters from the API operation's request.
queryParameters(ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the query parameters from the API operation's request.
QueryParameters - Class in org.springframework.restdocs.operation
A request's query parameters, derived from its URI's query string.
QueryParametersSnippet - Class in org.springframework.restdocs.request
A Snippet that documents the query parameters supported by a RESTful resource.
QueryParametersSnippet(List<ParameterDescriptor>) - Constructor for class org.springframework.restdocs.request.QueryParametersSnippet
Creates a new QueryParametersSnippet that will document the request's query parameters using the given descriptors.
QueryParametersSnippet(List<ParameterDescriptor>, boolean) - Constructor for class org.springframework.restdocs.request.QueryParametersSnippet
Creates a new QueryParametersSnippet that will document the request's query parameters using the given descriptors.
QueryParametersSnippet(List<ParameterDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.request.QueryParametersSnippet
Creates a new QueryParametersSnippet that will document the request's query parameters using the given descriptors.
QueryParametersSnippet(List<ParameterDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.request.QueryParametersSnippet
Creates a new QueryParametersSnippet that will document the request's query parameters using the given descriptors.

R

relaxedFormParameters(List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the form parameters from the API operation's request.
relaxedFormParameters(Map<String, Object>, List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the form parameters from the API operation's request.
relaxedFormParameters(Map<String, Object>, ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the form parameters from the API operation's request.
relaxedFormParameters(ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the form parameters from the API operation's request.
relaxedLinks(List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
relaxedLinks(Map<String, Object>, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API call's response.
relaxedLinks(Map<String, Object>, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API call's response.
relaxedLinks(LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
relaxedLinks(LinkExtractor, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
relaxedLinks(LinkExtractor, Map<String, Object>, List<LinkDescriptor>) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
relaxedLinks(LinkExtractor, Map<String, Object>, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
relaxedLinks(LinkExtractor, LinkDescriptor...) - Static method in class org.springframework.restdocs.hypermedia.HypermediaDocumentation
Returns a new Snippet that will document the links in the API operation's response.
relaxedPathParameters(List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the path parameters from the API operation's request.
relaxedPathParameters(Map<String, Object>, List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the path parameters from the API operation's request.
relaxedPathParameters(Map<String, Object>, ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the path parameters from the API operation's request.
relaxedPathParameters(ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the path parameters from the API operation's request.
relaxedQueryParameters(List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the query parameters from the API operation's request.
relaxedQueryParameters(Map<String, Object>, List<ParameterDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the query parameters from the API operation's request.
relaxedQueryParameters(Map<String, Object>, ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the query parameters from the API operation's request.
relaxedQueryParameters(ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the query parameters from the API operation's request.
relaxedRequestCookies(List<CookieDescriptor>) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operation's request.
relaxedRequestCookies(Map<String, Object>, List<CookieDescriptor>) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operations's request.
relaxedRequestCookies(Map<String, Object>, CookieDescriptor...) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operations's request.
relaxedRequestCookies(CookieDescriptor...) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operation's request.
relaxedRequestFields(List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operations's request payload.
relaxedRequestFields(Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's request payload.
relaxedRequestFields(Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's request payload.
relaxedRequestFields(FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operations's request payload.
relaxedRequestFields(PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the subsection of the API operations's request payload extracted by the given subsectionExtractor .
relaxedRequestFields(PayloadSubsectionExtractor<?>, Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the subsection of the API operation's request payload extracted by the given subsectionExtractor.
relaxedRequestFields(PayloadSubsectionExtractor<?>, Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the subsection of the API operation's request payload extracted by the given subsectionExtractor.
relaxedRequestFields(PayloadSubsectionExtractor<?>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the subsection of the API operations's request payload extracted by the given subsectionExtractor .
relaxedRequestPartFields(String, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the specified part of the API operations's request payload.
relaxedRequestPartFields(String, Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the specified part of the API operations's request payload.
relaxedRequestPartFields(String, Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the specified part of the API operations's request payload.
relaxedRequestPartFields(String, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the specified part of the API operations's request payload.
relaxedRequestPartFields(String, PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the specified part of the API operations's request payload.
relaxedRequestPartFields(String, PayloadSubsectionExtractor<?>, Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the specified part of the API operations's request payload.
relaxedRequestPartFields(String, PayloadSubsectionExtractor<?>, Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the specified part of the API operations's request payload.
relaxedRequestPartFields(String, PayloadSubsectionExtractor<?>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the specified part of the API operations's request payload.
relaxedRequestParts(List<RequestPartDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the parts from the API operation's request.
relaxedRequestParts(Map<String, Object>, List<RequestPartDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the parts from the API operation's request.
relaxedRequestParts(Map<String, Object>, RequestPartDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the parts from the API operation's request.
relaxedRequestParts(RequestPartDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the parts from the API operation's request.
relaxedResponseCookies(List<CookieDescriptor>) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operation's response.
relaxedResponseCookies(Map<String, Object>, List<CookieDescriptor>) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operations's response.
relaxedResponseCookies(Map<String, Object>, CookieDescriptor...) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operations's response.
relaxedResponseCookies(CookieDescriptor...) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operation's response.
relaxedResponseFields(List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's response payload.
relaxedResponseFields(Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's response payload.
relaxedResponseFields(Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's response payload.
relaxedResponseFields(FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's response payload.
relaxedResponseFields(PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the API operation's response payload.
relaxedResponseFields(PayloadSubsectionExtractor<?>, Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the API operation's response payload.
relaxedResponseFields(PayloadSubsectionExtractor<?>, Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the API operation's response payload.
relaxedResponseFields(PayloadSubsectionExtractor<?>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the API operation's response payload.
remove(String) - Method in class org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
Removes the header with the given name.
remove(String, String) - Method in class org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
Removes the given value from the header with the given name.
removeHeaders(String...) - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
removeMatching(String) - Method in class org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
Remove headers that match the given namePattern regular expression.
removeMatchingHeaders(String...) - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
removePort() - Method in class org.springframework.restdocs.operation.preprocess.UriModifyingOperationPreprocessor
Removes the port from the URI.
render(Map<String, Object>) - Method in class org.springframework.restdocs.templates.mustache.MustacheTemplate
 
render(Map<String, Object>) - Method in interface org.springframework.restdocs.templates.Template
Renders the template to a String using the given context for variable/property resolution.
replacePattern(Pattern, String) - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
Returns an OperationPreprocessor that will modify the content of the request or response by replacing occurrences of the given pattern with the given replacement.
requestBody() - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the body of the API operation's request payload.
requestBody(Map<String, Object>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the body of the API operation's request payload.
requestBody(PayloadSubsectionExtractor<?>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document a subsection of the body of the API operation's request payload.
requestBody(PayloadSubsectionExtractor<?>, Map<String, Object>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document a subsection of the body of the API operation's request payload.
RequestBodySnippet - Class in org.springframework.restdocs.payload
A Snippet that documents the body of a request.
RequestBodySnippet() - Constructor for class org.springframework.restdocs.payload.RequestBodySnippet
Creates a new RequestBodySnippet.
RequestBodySnippet(Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.RequestBodySnippet
Creates a new RequestBodySnippet with the given additional attributes that will be included in the model during template rendering.
RequestBodySnippet(PayloadSubsectionExtractor<?>) - Constructor for class org.springframework.restdocs.payload.RequestBodySnippet
Creates a new RequestBodySnippet that will document the subsection of the request body extracted by the given subsectionExtractor.
RequestBodySnippet(PayloadSubsectionExtractor<?>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.RequestBodySnippet
Creates a new RequestBodySnippet that will document the subsection of the request body extracted by the given subsectionExtractor.
RequestConverter<R> - Interface in org.springframework.restdocs.operation
A RequestConverter is used to convert an implementation-specific request into an OperationRequest.
RequestCookie - Class in org.springframework.restdocs.operation
A representation of a Cookie received in a request.
RequestCookie(String, String) - Constructor for class org.springframework.restdocs.operation.RequestCookie
Creates a new RequestCookie with the given name and value.
requestCookies(List<CookieDescriptor>) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operation's request.
requestCookies(Map<String, Object>, List<CookieDescriptor>) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operations's request.
requestCookies(Map<String, Object>, CookieDescriptor...) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operations's request.
requestCookies(CookieDescriptor...) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operation's request.
RequestCookiesSnippet - Class in org.springframework.restdocs.cookies
A Snippet that documents the cookies in a request.
RequestCookiesSnippet(List<CookieDescriptor>) - Constructor for class org.springframework.restdocs.cookies.RequestCookiesSnippet
Creates a new RequestCookiesSnippet that will document the cookies in the request using the given descriptors.
RequestCookiesSnippet(List<CookieDescriptor>, boolean) - Constructor for class org.springframework.restdocs.cookies.RequestCookiesSnippet
Creates a new RequestCookiesSnippet that will document the cookies in the request using the given descriptors.
RequestCookiesSnippet(List<CookieDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.cookies.RequestCookiesSnippet
Creates a new RequestCookiesSnippet that will document the cookies in the request using the given descriptors.
RequestCookiesSnippet(List<CookieDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.cookies.RequestCookiesSnippet
Creates a new RequestCookiesSnippet that will document the cookies in the request using the given descriptors.
RequestDocumentation - Class in org.springframework.restdocs.request
Static factory methods for documenting aspects of a request sent to a RESTful API.
requestFields(List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operations's request payload.
requestFields(Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's request payload.
requestFields(Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's request payload.
requestFields(FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operations's request payload.
requestFields(PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields in the subsection of the API operations's request payload extracted by the given subsectionExtractor .
requestFields(PayloadSubsectionExtractor<?>, Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the subsection of the API operation's request payload extracted by the given subsectionExtractor.
requestFields(PayloadSubsectionExtractor<?>, Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the subsection of the API operation's request payload extracted by the given subsectionExtractor.
requestFields(PayloadSubsectionExtractor<?>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the subsection of API operations's request payload extracted by the given subsectionExtractor.
RequestFieldsSnippet - Class in org.springframework.restdocs.payload
A Snippet that documents the fields in a request.
RequestFieldsSnippet(List<FieldDescriptor>) - Constructor for class org.springframework.restdocs.payload.RequestFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the request using the given descriptors.
RequestFieldsSnippet(List<FieldDescriptor>, boolean) - Constructor for class org.springframework.restdocs.payload.RequestFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the request using the given descriptors.
RequestFieldsSnippet(List<FieldDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.RequestFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the request using the given descriptors.
RequestFieldsSnippet(List<FieldDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.payload.RequestFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the request using the given descriptors.
RequestFieldsSnippet(PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Constructor for class org.springframework.restdocs.payload.RequestFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the subsection of the request extracted by the given subsectionExtractor using the given descriptors.
RequestFieldsSnippet(PayloadSubsectionExtractor<?>, List<FieldDescriptor>, boolean) - Constructor for class org.springframework.restdocs.payload.RequestFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the subsection of the request extracted by the given subsectionExtractor using the given descriptors.
RequestFieldsSnippet(PayloadSubsectionExtractor<?>, List<FieldDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.RequestFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the subsection of the request extracted by the given subsectionExtractor using the given descriptors.
RequestFieldsSnippet(PayloadSubsectionExtractor<?>, List<FieldDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.payload.RequestFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the subsection of the request extracted by the given subsectionExtractor using the given descriptors.
requestHeaders(List<HeaderDescriptor>) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Returns a new Snippet that will document the headers of the API operation's request.
requestHeaders(Map<String, Object>, List<HeaderDescriptor>) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Returns a new Snippet that will document the headers of the API operations's request.
requestHeaders(Map<String, Object>, HeaderDescriptor...) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Returns a new Snippet that will document the headers of the API operations's request.
requestHeaders(HeaderDescriptor...) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Returns a new Snippet that will document the headers of the API operation's request.
RequestHeadersSnippet - Class in org.springframework.restdocs.headers
A Snippet that documents the headers in a request.
RequestHeadersSnippet(List<HeaderDescriptor>) - Constructor for class org.springframework.restdocs.headers.RequestHeadersSnippet
Creates a new RequestHeadersSnippet that will document the headers in the request using the given descriptors.
RequestHeadersSnippet(List<HeaderDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.headers.RequestHeadersSnippet
Creates a new RequestHeadersSnippet that will document the headers in the request using the given descriptors.
requestPartBody(String) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the body of specified part of the API operation's request payload.
requestPartBody(String, Map<String, Object>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the body of specified part of the API operation's request payload.
requestPartBody(String, PayloadSubsectionExtractor<?>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document a subsection of the body of specified part of the API operation's request payload.
requestPartBody(String, PayloadSubsectionExtractor<?>, Map<String, Object>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document a subsection of the body of specified part of the API operation's request payload.
RequestPartBodySnippet - Class in org.springframework.restdocs.payload
A Snippet that documents the body of a request part.
RequestPartBodySnippet(String) - Constructor for class org.springframework.restdocs.payload.RequestPartBodySnippet
Creates a new RequestPartBodySnippet that will document the body of the request part with the given partName.
RequestPartBodySnippet(String, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.RequestPartBodySnippet
Creates a new RequestPartBodySnippet that will document the body of the request part with the given partName.
RequestPartBodySnippet(String, PayloadSubsectionExtractor<?>) - Constructor for class org.springframework.restdocs.payload.RequestPartBodySnippet
Creates a new RequestPartBodySnippet that will document the subsection of the body of the request part with the given partName extracted by the given subsectionExtractor.
RequestPartBodySnippet(String, PayloadSubsectionExtractor<?>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.RequestPartBodySnippet
Creates a new RequestPartBodySnippet that will document the body of the request part with the given partName.
RequestPartDescriptor - Class in org.springframework.restdocs.request
A descriptor of a request part.
RequestPartDescriptor(String) - Constructor for class org.springframework.restdocs.request.RequestPartDescriptor
Creates a new RequestPartDescriptor describing the request part with the given name.
requestPartFields(String, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the specified part of the API operations's request payload.
requestPartFields(String, Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the specified part of the API operations's request payload.
requestPartFields(String, Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the specified part of the API operations's request payload.
requestPartFields(String, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the specified part of the API operations's request payload.
requestPartFields(String, PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the specified part of the API operations's request payload.
requestPartFields(String, PayloadSubsectionExtractor<?>, Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the specified part of the API operations's request payload.
requestPartFields(String, PayloadSubsectionExtractor<?>, Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the specified part of the API operations's request payload.
requestPartFields(String, PayloadSubsectionExtractor<?>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the specified part of the API operations's request payload.
RequestPartFieldsSnippet - Class in org.springframework.restdocs.payload
A Snippet that documents the fields in a request part.
RequestPartFieldsSnippet(String, List<FieldDescriptor>) - Constructor for class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Creates a new RequestPartFieldsSnippet that will document the fields in the request part using the given descriptors.
RequestPartFieldsSnippet(String, List<FieldDescriptor>, boolean) - Constructor for class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Creates a new RequestPartFieldsSnippet that will document the fields in the request part using the given descriptors.
RequestPartFieldsSnippet(String, List<FieldDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the request using the given descriptors.
RequestPartFieldsSnippet(String, List<FieldDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Creates a new RequestFieldsSnippet that will document the fields in the request using the given descriptors.
RequestPartFieldsSnippet(String, PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Constructor for class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Creates a new RequestPartFieldsSnippet that will document the fields in a subsection of the request part using the given descriptors.
RequestPartFieldsSnippet(String, PayloadSubsectionExtractor<?>, List<FieldDescriptor>, boolean) - Constructor for class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Creates a new RequestPartFieldsSnippet that will document the fields in a subsection the request part using the given descriptors.
RequestPartFieldsSnippet(String, PayloadSubsectionExtractor<?>, List<FieldDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Creates a new RequestPartFieldsSnippet that will document the fields in a subsection of the request part using the given descriptors.
RequestPartFieldsSnippet(String, PayloadSubsectionExtractor<?>, List<FieldDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.payload.RequestPartFieldsSnippet
Creates a new RequestPartFieldsSnippet that will document the fields in a subsection of the request part using the given descriptors.
requestParts(List<RequestPartDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the parts from the API operation's request.
requestParts(Map<String, Object>, List<RequestPartDescriptor>) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the parts from the API operation's request.
requestParts(Map<String, Object>, RequestPartDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the parts from the API operation's request.
requestParts(RequestPartDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
Returns a Snippet that will document the parts from the API operation's request.
RequestPartsSnippet - Class in org.springframework.restdocs.request
A Snippet that documents the request parts supported by a RESTful resource.
RequestPartsSnippet(List<RequestPartDescriptor>) - Constructor for class org.springframework.restdocs.request.RequestPartsSnippet
Creates a new RequestPartsSnippet that will document the request's parts using the given descriptors.
RequestPartsSnippet(List<RequestPartDescriptor>, boolean) - Constructor for class org.springframework.restdocs.request.RequestPartsSnippet
Creates a new RequestPartsSnippet that will document the request's parts using the given descriptors.
RequestPartsSnippet(List<RequestPartDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.request.RequestPartsSnippet
Creates a new RequestPartsSnippet that will document the request's parts using the given descriptors.
RequestPartsSnippet(List<RequestPartDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.request.RequestPartsSnippet
Creates a new RequestPartsSnippet that will document the request's parts using the given descriptors.
resolve(String, String, RestDocumentationContext) - Method in class org.springframework.restdocs.snippet.StandardWriterResolver
 
resolve(String, String, RestDocumentationContext) - Method in interface org.springframework.restdocs.snippet.WriterResolver
Returns a writer that can be used to write the snippet with the given name for the operation with the given name.
resolveDescription(Constraint) - Method in interface org.springframework.restdocs.constraints.ConstraintDescriptionResolver
Resolves the description for the given constraint.
resolveDescription(Constraint) - Method in class org.springframework.restdocs.constraints.ResourceBundleConstraintDescriptionResolver
 
resolveFieldType(FieldDescriptor) - Method in interface org.springframework.restdocs.payload.FieldTypeResolver
Resolves the type of the field that is described by the given fieldDescriptor based on the content of the payload.
resolveForProperty(String, Class<?>) - Method in interface org.springframework.restdocs.constraints.ConstraintResolver
Resolves and returns the constraints for the given property on the given clazz.
resolveForProperty(String, Class<?>) - Method in class org.springframework.restdocs.constraints.ValidatorConstraintResolver
 
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.restdocs.RestDocumentationExtension
 
resolvePlaceholder(String) - Method in class org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolver
 
resolveTemplateResource(String) - Method in class org.springframework.restdocs.templates.StandardTemplateResourceResolver
 
resolveTemplateResource(String) - Method in interface org.springframework.restdocs.templates.TemplateResourceResolver
Resolves a Resource for the template with the given name.
ResourceBundleConstraintDescriptionResolver - Class in org.springframework.restdocs.constraints
A ConstraintDescriptionResolver that resolves constraint descriptions from a ResourceBundle.
ResourceBundleConstraintDescriptionResolver() - Constructor for class org.springframework.restdocs.constraints.ResourceBundleConstraintDescriptionResolver
Creates a new ResourceBundleConstraintDescriptionResolver that will resolve descriptions by looking them up in a resource bundle with the base name org.springframework.restdocs.constraints.ConstraintDescriptions in the default locale loaded using the thread context class loader.
ResourceBundleConstraintDescriptionResolver(ResourceBundle) - Constructor for class org.springframework.restdocs.constraints.ResourceBundleConstraintDescriptionResolver
Creates a new ResourceBundleConstraintDescriptionResolver that will resolve descriptions by looking them up in the given resourceBundle.
responseBody() - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the body of the API operation's response payload.
responseBody(Map<String, Object>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the body of the API operation's response payload.
responseBody(PayloadSubsectionExtractor<?>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document a subsection of the body of the API operation's response payload.
responseBody(PayloadSubsectionExtractor<?>, Map<String, Object>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document a subsection of the body of the API operation's response payload.
ResponseBodySnippet - Class in org.springframework.restdocs.payload
A Snippet that documents the body of a response.
ResponseBodySnippet() - Constructor for class org.springframework.restdocs.payload.ResponseBodySnippet
Creates a new ResponseBodySnippet.
ResponseBodySnippet(Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.ResponseBodySnippet
Creates a new ResponseBodySnippet with the given additional attributes that will be included in the model during template rendering.
ResponseBodySnippet(PayloadSubsectionExtractor<?>) - Constructor for class org.springframework.restdocs.payload.ResponseBodySnippet
Creates a new ResponseBodySnippet that will document the subsection of the response body extracted by the given subsectionExtractor.
ResponseBodySnippet(PayloadSubsectionExtractor<?>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.ResponseBodySnippet
Creates a new ResponseBodySnippet that will document the subsection of the response body extracted by the given subsectionExtractor.
ResponseConverter<R> - Interface in org.springframework.restdocs.operation
A ResponseConverter is used to convert an implementation-specific response into an OperationResponse.
ResponseCookie - Class in org.springframework.restdocs.operation
A representation of a Cookie returned in a response.
ResponseCookie(String, String) - Constructor for class org.springframework.restdocs.operation.ResponseCookie
Creates a new ResponseCookie with the given name and value.
responseCookies(List<CookieDescriptor>) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operation's response.
responseCookies(Map<String, Object>, List<CookieDescriptor>) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operations's response.
responseCookies(Map<String, Object>, CookieDescriptor...) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operations's response.
responseCookies(CookieDescriptor...) - Static method in class org.springframework.restdocs.cookies.CookieDocumentation
Returns a new Snippet that will document the cookies of the API operation's response.
ResponseCookiesSnippet - Class in org.springframework.restdocs.cookies
A Snippet that documents the cookies in a response.
ResponseCookiesSnippet(List<CookieDescriptor>) - Constructor for class org.springframework.restdocs.cookies.ResponseCookiesSnippet
Creates a new ResponseCookiesSnippet that will document the cookies in the response using the given descriptors.
ResponseCookiesSnippet(List<CookieDescriptor>, boolean) - Constructor for class org.springframework.restdocs.cookies.ResponseCookiesSnippet
Creates a new ResponseCookiesSnippet that will document the cookies in the response using the given descriptors.
ResponseCookiesSnippet(List<CookieDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.cookies.ResponseCookiesSnippet
Creates a new ResponseCookiesSnippet that will document the cookies in the response using the given descriptors.
ResponseCookiesSnippet(List<CookieDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.cookies.ResponseCookiesSnippet
Creates a new ResponseCookiesSnippet that will document the cookies in the response using the given descriptors.
responseFields(List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's response payload.
responseFields(Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's response payload.
responseFields(Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's response payload.
responseFields(FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of the API operation's response payload.
responseFields(PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the API operation's response payload.
responseFields(PayloadSubsectionExtractor<?>, Map<String, Object>, List<FieldDescriptor>) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the API operation's response payload.
responseFields(PayloadSubsectionExtractor<?>, Map<String, Object>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the API operation's response payload.
responseFields(PayloadSubsectionExtractor<?>, FieldDescriptor...) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Returns a Snippet that will document the fields of a subsection of the API operation's response payload.
ResponseFieldsSnippet - Class in org.springframework.restdocs.payload
A Snippet that documents the fields in a response.
ResponseFieldsSnippet(List<FieldDescriptor>) - Constructor for class org.springframework.restdocs.payload.ResponseFieldsSnippet
Creates a new ResponseFieldsSnippet that will document the fields in the response using the given descriptors.
ResponseFieldsSnippet(List<FieldDescriptor>, boolean) - Constructor for class org.springframework.restdocs.payload.ResponseFieldsSnippet
Creates a new ResponseFieldsSnippet that will document the fields in the response using the given descriptors.
ResponseFieldsSnippet(List<FieldDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.ResponseFieldsSnippet
Creates a new ResponseFieldsSnippet that will document the fields in the response using the given descriptors.
ResponseFieldsSnippet(List<FieldDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.payload.ResponseFieldsSnippet
Creates a new ResponseFieldsSnippet that will document the fields in the response using the given descriptors.
ResponseFieldsSnippet(PayloadSubsectionExtractor<?>, List<FieldDescriptor>) - Constructor for class org.springframework.restdocs.payload.ResponseFieldsSnippet
Creates a new ResponseFieldsSnippet that will document the fields in a subsection of the response using the given descriptors.
ResponseFieldsSnippet(PayloadSubsectionExtractor<?>, List<FieldDescriptor>, boolean) - Constructor for class org.springframework.restdocs.payload.ResponseFieldsSnippet
Creates a new ResponseFieldsSnippet that will document the fields in the subsection of the response using the given descriptors.
ResponseFieldsSnippet(PayloadSubsectionExtractor<?>, List<FieldDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.payload.ResponseFieldsSnippet
Creates a new ResponseFieldsSnippet that will document the fields in a subsection of the response using the given descriptors.
ResponseFieldsSnippet(PayloadSubsectionExtractor<?>, List<FieldDescriptor>, Map<String, Object>, boolean) - Constructor for class org.springframework.restdocs.payload.ResponseFieldsSnippet
Creates a new ResponseFieldsSnippet that will document the fields in a subsection of the response using the given descriptors.
responseHeaders(List<HeaderDescriptor>) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Returns a new Snippet that will document the headers of the API operation's response.
responseHeaders(Map<String, Object>, List<HeaderDescriptor>) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Returns a new Snippet that will document the headers of the API operations's response.
responseHeaders(Map<String, Object>, HeaderDescriptor...) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Returns a new Snippet that will document the headers of the API operations's response.
responseHeaders(HeaderDescriptor...) - Static method in class org.springframework.restdocs.headers.HeaderDocumentation
Returns a new Snippet that will document the headers of the API operation's response.
ResponseHeadersSnippet - Class in org.springframework.restdocs.headers
A Snippet that documents the headers in a response.
ResponseHeadersSnippet(List<HeaderDescriptor>) - Constructor for class org.springframework.restdocs.headers.ResponseHeadersSnippet
Creates a new ResponseHeadersSnippet that will document the headers in the response using the given descriptors.
ResponseHeadersSnippet(List<HeaderDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.headers.ResponseHeadersSnippet
Creates a new ResponseHeadersSnippet that will document the headers in the response using the given descriptors.
RestDocumentationConfigurer<S extends AbstractConfigurer,P extends AbstractConfigurer,T> - Class in org.springframework.restdocs.config
Abstract base class for the configuration of Spring REST Docs.
RestDocumentationConfigurer() - Constructor for class org.springframework.restdocs.config.RestDocumentationConfigurer
 
RestDocumentationContext - Interface in org.springframework.restdocs
RestDocumentationContext encapsulates the context in which the documentation of a RESTful API is being performed.
RestDocumentationContextPlaceholderResolver - Class in org.springframework.restdocs.snippet
RestDocumentationContextPlaceholderResolver(RestDocumentationContext) - Constructor for class org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolver
Creates a new placeholder resolver that will resolve placeholders using the given context.
RestDocumentationContextPlaceholderResolverFactory - Class in org.springframework.restdocs.snippet
RestDocumentationContextPlaceholderResolverFactory() - Constructor for class org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolverFactory
 
RestDocumentationContextProvider - Interface in org.springframework.restdocs
A RestDocumentationContextProvider is used to provide access to the RestDocumentationContext.
RestDocumentationExtension - Class in org.springframework.restdocs
A JUnit Jupiter Extension used to automatically manage the RestDocumentationContext.
RestDocumentationExtension() - Constructor for class org.springframework.restdocs.RestDocumentationExtension
Creates a new RestDocumentationExtension that will use the default output directory.
RestDocumentationExtension(String) - Constructor for class org.springframework.restdocs.RestDocumentationExtension
Creates a new RestDocumentationExtension that will use the given outputDirectory.
RestDocumentationGenerationException - Exception in org.springframework.restdocs.generate
An exception that can be thrown when a failure occurs during REST documentation generation.
RestDocumentationGenerationException(String, Throwable) - Constructor for exception org.springframework.restdocs.generate.RestDocumentationGenerationException
Creates a new RestDocumentationException with the given message and cause.
RestDocumentationGenerationException(Throwable) - Constructor for exception org.springframework.restdocs.generate.RestDocumentationGenerationException
Creates a new RestDocumentationException with the given cause.
RestDocumentationGenerator<REQ,RESP> - Class in org.springframework.restdocs.generate
A RestDocumentationGenerator is used to generate documentation snippets from the request and response of an operation performed on a service.
RestDocumentationGenerator(String, RequestConverter<REQ>, ResponseConverter<RESP>, OperationRequestPreprocessor, OperationResponsePreprocessor, Snippet...) - Constructor for class org.springframework.restdocs.generate.RestDocumentationGenerator
Creates a new RestDocumentationGenerator for the operation identified by the given identifier.
RestDocumentationGenerator(String, RequestConverter<REQ>, ResponseConverter<RESP>, OperationRequestPreprocessor, Snippet...) - Constructor for class org.springframework.restdocs.generate.RestDocumentationGenerator
Creates a new RestDocumentationGenerator for the operation identified by the given identifier.
RestDocumentationGenerator(String, RequestConverter<REQ>, ResponseConverter<RESP>, OperationResponsePreprocessor, Snippet...) - Constructor for class org.springframework.restdocs.generate.RestDocumentationGenerator
Creates a new RestDocumentationGenerator for the operation identified by the given identifier.
RestDocumentationGenerator(String, RequestConverter<REQ>, ResponseConverter<RESP>, Snippet...) - Constructor for class org.springframework.restdocs.generate.RestDocumentationGenerator
Creates a new RestDocumentationGenerator for the operation identified by the given identifier.

S

scheme(String) - Method in class org.springframework.restdocs.operation.preprocess.UriModifyingOperationPreprocessor
Modifies the URI to use the given scheme.
set(String, String...) - Method in class org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
Sets the header with the given name to have the given values.
singleLineFormat() - Static method in class org.springframework.restdocs.cli.CliDocumentation
Creates a new CommandFormatter that produces single-line output.
Snippet - Interface in org.springframework.restdocs.snippet
A Snippet is used to document aspects of a call to a RESTful API.
SnippetConfigurer<PARENT,TYPE> - Class in org.springframework.restdocs.config
A configurer that can be used to configure the generated documentation snippets.
SnippetConfigurer(PARENT) - Constructor for class org.springframework.restdocs.config.SnippetConfigurer
Creates a new SnippetConfigurer with the given parent.
SnippetException - Exception in org.springframework.restdocs.snippet
A RuntimeException thrown to indicate a problem with the generation of a documentation snippet.
SnippetException(String) - Constructor for exception org.springframework.restdocs.snippet.SnippetException
Creates a new SnippetException described by the given message.
snippets() - Method in class org.springframework.restdocs.config.RestDocumentationConfigurer
Returns a SnippetConfigurer that can be used to configure the snippets that will be generated.
StandardOperation - Class in org.springframework.restdocs.operation
Standard implementation of Operation.
StandardOperation(String, OperationRequest, OperationResponse, Map<String, Object>) - Constructor for class org.springframework.restdocs.operation.StandardOperation
Creates a new StandardOperation.
StandardTemplateResourceResolver - Class in org.springframework.restdocs.templates
Standard implementation of TemplateResourceResolver.
StandardTemplateResourceResolver(TemplateFormat) - Constructor for class org.springframework.restdocs.templates.StandardTemplateResourceResolver
Creates a new StandardTemplateResourceResolver that will produce default template resources formatted with the given templateFormat.
StandardWriterResolver - Class in org.springframework.restdocs.snippet
Standard implementation of WriterResolver.
StandardWriterResolver(PlaceholderResolverFactory, String, TemplateFormat) - Constructor for class org.springframework.restdocs.snippet.StandardWriterResolver
Creates a new StandardWriterResolver that will use a PropertyPlaceholderHelper.PlaceholderResolver created from the given placeholderResolverFactory to resolve any placeholders in the operationName.
STRING - Enum constant in enum class org.springframework.restdocs.payload.JsonFieldType
A string.
SubsectionDescriptor - Class in org.springframework.restdocs.payload
A description of a subsection, i.e.
SubsectionDescriptor(String) - Constructor for class org.springframework.restdocs.payload.SubsectionDescriptor
Creates a new SubsectionDescriptor describing the subsection with the given path.
subsectionWithPath(String) - Static method in class org.springframework.restdocs.payload.PayloadDocumentation
Creates a FieldDescriptor that describes a subsection, i.e.
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.restdocs.RestDocumentationExtension
 

T

Template - Interface in org.springframework.restdocs.templates
A compiled Template that can be rendered to a String.
TemplatedSnippet - Class in org.springframework.restdocs.snippet
Base class for a Snippet that is produced using a Template and TemplateEngine.
TemplatedSnippet(String, String, Map<String, Object>) - Constructor for class org.springframework.restdocs.snippet.TemplatedSnippet
Creates a new TemplatedSnippet that will produce a snippet with the given snippetName using a template with the given templateName.
TemplatedSnippet(String, Map<String, Object>) - Constructor for class org.springframework.restdocs.snippet.TemplatedSnippet
Creates a new TemplatedSnippet that will produce a snippet with the given snippetName.
templateEngine(TemplateEngine) - Method in class org.springframework.restdocs.config.RestDocumentationConfigurer
Configures the TemplateEngine that will be used for snippet rendering.
TemplateEngine - Interface in org.springframework.restdocs.templates
A TemplateEngine is used to render documentation snippets.
TemplateFormat - Interface in org.springframework.restdocs.templates
A TemplateFormat provides information about a particular template format, such as Asciidoctor or Markdown.
TemplateFormats - Class in org.springframework.restdocs.templates
An enumeration of the built-in formats for which templates are provided.
TemplateResourceResolver - Interface in org.springframework.restdocs.templates
A TemplateResourceResolver is responsible for resolving a name for a template into a Resource from which the template can be read.
toString() - Method in class org.springframework.restdocs.hypermedia.Link
 
toString() - Method in enum class org.springframework.restdocs.payload.JsonFieldType
 
type(Object) - Method in class org.springframework.restdocs.payload.FieldDescriptor
Specifies the type of the field.

U

UriModifyingOperationPreprocessor - Class in org.springframework.restdocs.operation.preprocess
An OperationPreprocessor that modifies URIs in the request and in the response by changing one or more of their host, scheme, and port.
UriModifyingOperationPreprocessor() - Constructor for class org.springframework.restdocs.operation.preprocess.UriModifyingOperationPreprocessor
 

V

ValidatorConstraintResolver - Class in org.springframework.restdocs.constraints
A ConstraintResolver that uses a Bean Validation Validator to resolve constraints.
ValidatorConstraintResolver() - Constructor for class org.springframework.restdocs.constraints.ValidatorConstraintResolver
Creates a new ValidatorConstraintResolver that will use a Validator in its default configuration to resolve constraints.
ValidatorConstraintResolver(Validator) - Constructor for class org.springframework.restdocs.constraints.ValidatorConstraintResolver
Creates a new ValidatorConstraintResolver that will use the given Validator to resolve constraints.
value(Object) - Method in class org.springframework.restdocs.snippet.Attributes.AttributeBuilder
Configures the value of the attribute.
valueOf(String) - Static method in enum class org.springframework.restdocs.payload.JsonFieldType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.restdocs.payload.JsonFieldType
Returns an array containing the constants of this enum class, in the order they are declared.
VARIES - Enum constant in enum class org.springframework.restdocs.payload.JsonFieldType
A variety of different types.
verificationFailed(Set<String>, Set<String>) - Method in class org.springframework.restdocs.cookies.AbstractCookiesSnippet
Called when the documented cookies do not match the actual cookies.
verificationFailed(Set<String>, Set<String>) - Method in class org.springframework.restdocs.cookies.RequestCookiesSnippet
 
verificationFailed(Set<String>, Set<String>) - Method in class org.springframework.restdocs.cookies.ResponseCookiesSnippet
 
verificationFailed(Set<String>, Set<String>) - Method in class org.springframework.restdocs.request.AbstractParametersSnippet
Called when the documented parameters do not match the actual parameters.
verificationFailed(Set<String>, Set<String>) - Method in class org.springframework.restdocs.request.FormParametersSnippet
 
verificationFailed(Set<String>, Set<String>) - Method in class org.springframework.restdocs.request.PathParametersSnippet
 
verificationFailed(Set<String>, Set<String>) - Method in class org.springframework.restdocs.request.QueryParametersSnippet
 

W

withAdditionalDefaults(Snippet...) - Method in class org.springframework.restdocs.config.SnippetConfigurer
Configures additional documentation snippets that will be produced by default.
withDefaults(Snippet...) - Method in class org.springframework.restdocs.config.SnippetConfigurer
Configures the documentation snippets that will be produced by default.
withEncoding(String) - Method in class org.springframework.restdocs.config.SnippetConfigurer
Configures any documentation snippets to be written using the given encoding.
withRequestDefaults(OperationPreprocessor...) - Method in class org.springframework.restdocs.config.OperationPreprocessorsConfigurer
Configures the default operation request preprocessors.
withResponseDefaults(OperationPreprocessor...) - Method in class org.springframework.restdocs.config.OperationPreprocessorsConfigurer
Configures the default operation response preprocessors.
withSnippets(Snippet...) - Method in class org.springframework.restdocs.generate.RestDocumentationGenerator
Creates a new RestDocumentationGenerator with the same configuration as this one other than its snippets.
withSubsectionId(String) - Method in class org.springframework.restdocs.payload.FieldPathPayloadSubsectionExtractor
 
withSubsectionId(String) - Method in interface org.springframework.restdocs.payload.PayloadSubsectionExtractor
Returns an extractor with the given subsectionId.
withTemplateFormat(TemplateFormat) - Method in class org.springframework.restdocs.config.SnippetConfigurer
Configures the format of the documentation snippet templates.
writerResolver(WriterResolver) - Method in class org.springframework.restdocs.config.RestDocumentationConfigurer
Configures the WriterResolver that will be used to resolve a writer for a snippet.
WriterResolver - Interface in org.springframework.restdocs.snippet
A WriterResolver is used to access the Writer that should be used to write a snippet for an operation that is being documented.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form