public final class ResponseModifier extends Object
MvcResult by applying ResponsePostProcessors to it.RestDocumentation.modifyResponseTo(ResponsePostProcessor...)| Modifier and Type | Method and Description |
|---|---|
RestDocumentationResultHandler |
andDocument(String outputDir)
Provides a
RestDocumentationResultHandler that can be used to document the
request and modified result. |
public RestDocumentationResultHandler andDocument(String outputDir)
RestDocumentationResultHandler that can be used to document the
request and modified result.outputDir - The directory to which the documentation will be written