public class ModelAndJsonView extends JsonViewHint
ExtDirectMethod can return an instance of this class to specify a JsonView
that Jackson uses to serialize the response. Not supported for
ExtDirectMethodType.FORM_POST.
If the property jsonView is set it overrides a jsonView specified on
ExtDirectMethod.jsonView().
To disable a JsonView specified on ExtDirectMethod.jsonView() set the property
jsonView to ExtDirectMethod.NoJsonView.
| Constructor and Description |
|---|
ModelAndJsonView() |
ModelAndJsonView(Object model,
Class<?> jsonView) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getModel() |
void |
setModel(Object model) |
getJsonView, setJsonViewCopyright © 2010–2017. All rights reserved.