org.apache.hadoop.yarn.webapp.example
Class HelloWorld.Hello

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.Controller
      extended by org.apache.hadoop.yarn.webapp.example.HelloWorld.Hello
All Implemented Interfaces:
Params
Enclosing class:
HelloWorld

public static class HelloWorld.Hello
extends Controller


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.webapp.Controller
Controller.RequestContext
 
Field Summary
 
Fields inherited from class org.apache.hadoop.yarn.webapp.Controller
LOG
 
Fields inherited from interface org.apache.hadoop.yarn.webapp.Params
ERROR_DETAILS, TITLE, TITLE_LINK, USER
 
Constructor Summary
HelloWorld.Hello()
           
 
Method Summary
 void html()
           
 void index()
          The default action.
 void json()
           
 
Methods inherited from class org.apache.hadoop.yarn.webapp.Controller
$, context, cookies, echo, error, get, getInstance, inDevMode, info, injector, render, renderJSON, renderJSON, renderText, request, response, set, setStatus, setTitle, setTitle, status, url, writer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorld.Hello

public HelloWorld.Hello()
Method Detail

index

public void index()
Description copied from class: Controller
The default action.

Specified by:
index in class Controller

html

public void html()

json

public void json()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.