SPR-7070 - MappingJacksonJsonView.renderedAttributes to be made visible to subclasses
This commit is contained in:
@@ -103,6 +103,13 @@ public class MappingJacksonJsonView extends AbstractView {
|
||||
this.prefixJson = prefixJson;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the attributes in the model that should be rendered by this view.
|
||||
*/
|
||||
public Set<String> getRenderedAttributes() {
|
||||
return renderedAttributes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the attributes in the model that should be rendered by this view. When set, all other model attributes will be
|
||||
* ignored.
|
||||
|
||||
Reference in New Issue
Block a user