public static class HelloWorld.Hello extends Controller
Controller.RequestContext
LOG
ERROR_DETAILS, TITLE, TITLE_LINK, USER
Constructor and Description |
---|
Hello() |
Modifier and Type | Method and Description |
---|---|
void |
html() |
void |
index()
The default action.
|
void |
json() |
$, context, cookies, echo, error, get, getInstance, inDevMode, info, injector, render, renderJSON, renderJSON, renderText, request, response, set, setStatus, setTitle, setTitle, status, url, writer
public void index()
Controller
index
in class Controller
public void html()
public void json()
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.