public abstract class FieldSnippetResultHandler extends SnippetWritingResultHandler
SnippetWritingResultHandler
that produces a snippet documenting a RESTful
resource's request or response fields.Modifier and Type | Method and Description |
---|---|
protected abstract Reader |
getPayloadReader(MvcResult result) |
protected void |
handle(MvcResult result,
DocumentationWriter writer) |
handle
protected void handle(MvcResult result, DocumentationWriter writer) throws IOException
handle
in class SnippetWritingResultHandler
IOException
protected abstract Reader getPayloadReader(MvcResult result) throws IOException
IOException