org.apache.hadoop.yarn.webapp
Class WebApps.Builder<T>

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.WebApps.Builder<T>
Enclosing class:
WebApps

public static class WebApps.Builder<T>
extends Object


Method Summary
 WebApps.Builder<T> at(int port)
           
 WebApps.Builder<T> at(String bindAddress)
           
 WebApps.Builder<T> at(String address, int port, boolean findPort)
           
 WebApps.Builder<T> inDevMode()
           
 WebApp start()
           
 WebApp start(WebApp webapp)
           
 WebApps.Builder<T> with(org.apache.hadoop.conf.Configuration conf)
           
 WebApps.Builder<T> withAttribute(String key, Object value)
           
 WebApps.Builder<T> withHttpPolicy(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.http.HttpConfig.Policy httpPolicy)
           
 WebApps.Builder<T> withHttpSpnegoKeytabKey(String spnegoKeytabKey)
           
 WebApps.Builder<T> withHttpSpnegoPrincipalKey(String spnegoPrincipalKey)
           
 WebApps.Builder<T> withServlet(String name, String pathSpec, Class<? extends javax.servlet.http.HttpServlet> servlet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

at

public WebApps.Builder<T> at(String bindAddress)

at

public WebApps.Builder<T> at(int port)

at

public WebApps.Builder<T> at(String address,
                             int port,
                             boolean findPort)

withAttribute

public WebApps.Builder<T> withAttribute(String key,
                                        Object value)

withServlet

public WebApps.Builder<T> withServlet(String name,
                                      String pathSpec,
                                      Class<? extends javax.servlet.http.HttpServlet> servlet)

with

public WebApps.Builder<T> with(org.apache.hadoop.conf.Configuration conf)

withHttpPolicy

public WebApps.Builder<T> withHttpPolicy(org.apache.hadoop.conf.Configuration conf,
                                         org.apache.hadoop.http.HttpConfig.Policy httpPolicy)

withHttpSpnegoPrincipalKey

public WebApps.Builder<T> withHttpSpnegoPrincipalKey(String spnegoPrincipalKey)

withHttpSpnegoKeytabKey

public WebApps.Builder<T> withHttpSpnegoKeytabKey(String spnegoKeytabKey)

inDevMode

public WebApps.Builder<T> inDevMode()

start

public WebApp start(WebApp webapp)

start

public WebApp start()


Copyright © 2014 Apache Software Foundation. All Rights Reserved.