org.apache.hadoop.yarn.webapp.view
Class HtmlBlock
java.lang.Object
org.apache.hadoop.yarn.webapp.View
org.apache.hadoop.yarn.webapp.view.TextView
org.apache.hadoop.yarn.webapp.view.HtmlBlock
- All Implemented Interfaces:
- Params, SubView
- Direct Known Subclasses:
- AggregatedLogsBlock, AggregatedLogsNavBlock, FooterBlock, HeaderBlock, InfoBlock, JQueryUI, LipsumBlock, NavBlock
@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"})
public abstract class HtmlBlock- extends TextView
- implements SubView
| Fields inherited from class org.apache.hadoop.yarn.webapp.View |
LOG |
| Methods inherited from class org.apache.hadoop.yarn.webapp.View |
$, $, context, cookies, error, getInstance, inDevMode, info, injector, moreParams, outputStream, prefix, render, request, response, root_url, root, set, setTitle, setTitle, status, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlBlock
protected HtmlBlock()
HtmlBlock
protected HtmlBlock(View.ViewContext ctx)
render
public void render()
- Description copied from class:
View
- The API to render the view
- Specified by:
render in class View
renderPartial
public void renderPartial()
- Description copied from interface:
SubView
- render the sub-view
- Specified by:
renderPartial in interface SubView
render
protected abstract void render(HtmlBlock.Block html)
- Render a block of html. To be overridden by implementation.
- Parameters:
html - the block to render
getCallerUGI
protected org.apache.hadoop.security.UserGroupInformation getCallerUGI()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.