Class ContentModifyingOperationPreprocessor

java.lang.Object
org.springframework.restdocs.operation.preprocess.ContentModifyingOperationPreprocessor
All Implemented Interfaces:
OperationPreprocessor

public class ContentModifyingOperationPreprocessor extends Object implements OperationPreprocessor
An OperationPreprocessor that applies a ContentModifier to the content of the request or response.
Author:
Andy Wilkinson
  • Constructor Details

    • ContentModifyingOperationPreprocessor

      public ContentModifyingOperationPreprocessor(ContentModifier contentModifier)
      Create a new ContentModifyingOperationPreprocessor that will apply the given contentModifier to the operation's request or response.
      Parameters:
      contentModifier - the contentModifier
  • Method Details