Modifier and Type | Method and Description |
---|---|
WebApps.Builder<T> |
at(int port) |
WebApps.Builder<T> |
at(String bindAddress) |
WebApps.Builder<T> |
at(String address,
int port,
boolean findPort) |
WebApp |
build(WebApp webapp) |
WebApps.Builder<T> |
inDevMode() |
WebApps.Builder<T> |
needsClientAuth(boolean needsClientAuth) |
WebApp |
start() |
WebApp |
start(WebApp webapp) |
WebApp |
start(WebApp webapp,
org.eclipse.jetty.webapp.WebAppContext ui2Context) |
WebApps.Builder<T> |
with(org.apache.hadoop.conf.Configuration conf) |
WebApps.Builder<T> |
withAppClientProtocol(org.apache.hadoop.yarn.api.ApplicationClientProtocol appClientProto) |
WebApps.Builder<T> |
withAttribute(String key,
Object value) |
WebApps.Builder<T> |
withCSRFProtection(String prefix)
Enable the CSRF filter.
|
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> |
withPortRange(org.apache.hadoop.conf.Configuration config,
String portRangeConfKey)
Set port range config key and associated configuration object.
|
WebApps.Builder<T> |
withServlet(String name,
String pathSpec,
Class<? extends javax.servlet.http.HttpServlet> servlet) |
WebApps.Builder<T> |
withServlet(String name,
String pathSpec,
Class<? extends javax.servlet.http.HttpServlet> servlet,
Map<String,String> params,
boolean loadExistingFilters) |
WebApps.Builder<T> |
withXFSProtection(String prefix)
Enable the XFS filter.
|
public WebApps.Builder<T> at(String bindAddress)
public WebApps.Builder<T> at(int port)
public WebApps.Builder<T> at(String address, int port, boolean findPort)
public WebApps.Builder<T> withAttribute(String key, Object value)
public WebApps.Builder<T> withServlet(String name, String pathSpec, Class<? extends javax.servlet.http.HttpServlet> servlet)
public WebApps.Builder<T> withServlet(String name, String pathSpec, Class<? extends javax.servlet.http.HttpServlet> servlet, Map<String,String> params, boolean loadExistingFilters)
public WebApps.Builder<T> with(org.apache.hadoop.conf.Configuration conf)
public WebApps.Builder<T> withHttpPolicy(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.http.HttpConfig.Policy httpPolicy)
public WebApps.Builder<T> needsClientAuth(boolean needsClientAuth)
public WebApps.Builder<T> withPortRange(org.apache.hadoop.conf.Configuration config, String portRangeConfKey)
config
- configuration.portRangeConfKey
- port range config key.public WebApps.Builder<T> withHttpSpnegoPrincipalKey(String spnegoPrincipalKey)
public WebApps.Builder<T> withHttpSpnegoKeytabKey(String spnegoKeytabKey)
public WebApps.Builder<T> withCSRFProtection(String prefix)
prefix
- The config prefix that identifies the
CSRF parameters applicable for this filter
instance.public WebApps.Builder<T> withXFSProtection(String prefix)
prefix
- The config prefix that identifies the
XFS parameters applicable for this filter
instance.public WebApps.Builder<T> inDevMode()
public WebApps.Builder<T> withAppClientProtocol(org.apache.hadoop.yarn.api.ApplicationClientProtocol appClientProto)
public WebApp start()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.