public class JsonWebActionFactory extends Object implements WebActionRegistry.IFactory
| Constructor and Description |
|---|
JsonWebActionFactory() |
| Modifier and Type | Method and Description |
|---|---|
IWebActionHandler |
createHandler(Class<? extends NodeBase> node,
String actionCode) |
static void |
renderResponse(Method calledMethod,
RequestContextImpl ctx,
Object response)
Render the response as a JSON object, by default.
|
@Nullable public IWebActionHandler createHandler(@Nonnull Class<? extends NodeBase> node, @Nonnull String actionCode)
createHandler in interface WebActionRegistry.IFactoryCopyright © 2017 etc.to. All rights reserved.