Package org.springframework.restdocs.operation.preprocess
package org.springframework.restdocs.operation.preprocess
Support for preprocessing an operation prior to it being documented.
-
ClassDescriptionA
ContentModifier
modifies the content of anOperationRequest
orOperationResponse
during the preprocessing that is performed prior to documentation generation.AnOperationPreprocessor
that applies aContentModifier
to the content of the request or response.AnOperationPreprocessor
that modifies a request or response by adding, setting, or removing headers.AnOperationPreprocessor
processes theOperationRequest
andOperationResponse
of anOperation
prior to it being documented.An implementation ofOperationPreprocessor
that returns the request and response as-is.AnOperationRequestPreprocessor
is used to modify anOperationRequest
prior to it being documented.AnOperationResponsePreprocessor
is used to modify anOperationResponse
prior to it being documented.Static factory methods for creatingOperationPreprocessors
that can be applied to anOperation's
request
orresponse
before it is documented.AContentModifier
that modifies the content by pretty printing it.AnOperationPreprocessor
that modifies URIs in the request and in the response by changing one or more of their host, scheme, and port.