Revised documentation for PDF, Excel and JSON views

Issue: SPR-17180
Issue: SPR-17182

(cherry picked from commit c0c9e08bf9)
This commit is contained in:
Juergen Hoeller
2018-08-14 20:36:29 +02:00
parent 7894ecf445
commit 4b2a0471e1
2 changed files with 47 additions and 175 deletions

View File

@@ -17,7 +17,6 @@
package org.springframework.web.servlet.view.json;
import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedHashSet;
@@ -224,7 +223,7 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
* Filter out undesired attributes from the given model.
* The return value can be either another {@link Map} or a single value object.
* <p>The default implementation removes {@link BindingResult} instances and entries
* not included in the {@link #setModelKeys renderedAttributes} property.
* not included in the {@link #setModelKeys modelKeys} property.
* @param model the model, as passed on to {@link #renderMergedOutputModel}
* @return the value to be rendered
*/