Uses of Class
org.springframework.restdocs.operation.preprocess.HeadersModifyingOperationPreprocessor
Packages that use HeadersModifyingOperationPreprocessor
Package
Description
Support for preprocessing an operation prior to it being documented.
-
Uses of HeadersModifyingOperationPreprocessor in org.springframework.restdocs.operation.preprocess
Methods in org.springframework.restdocs.operation.preprocess that return HeadersModifyingOperationPreprocessorModifier and TypeMethodDescriptionAdds a header with the givennameandvalue.Preprocessors.modifyHeaders()Returns aHeadersModifyingOperationPreprocessorthat can then be configured to modify the headers of the request or response.Removes the header with the givenname.Removes the givenvaluefrom the header with the givenname.HeadersModifyingOperationPreprocessor.removeMatching(String namePattern) Remove headers that match the givennamePatternregular expression.Sets the header with the givennameto have the givenvalues.