ParamsErrorPage, HelloWorld.HelloView, MyApp.MyView, TwoColumnCssLayout, TwoColumnLayout@LimitedPrivate({"YARN","MapReduce"})
public abstract class HtmlPage
extends TextView
render(org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.HTML)
to actually render the page.| Modifier and Type | Class | Description |
|---|---|---|
static class |
HtmlPage.__ |
|
class |
HtmlPage.Page |
View.ViewContext| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
DOCTYPE |
ERROR_DETAILS, TITLE, TITLE_LINK, USER| Modifier | Constructor | Description |
|---|---|---|
protected |
HtmlPage() |
|
protected |
HtmlPage(View.ViewContext ctx) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
render() |
The API to render the view
|
protected abstract void |
render(Hamlet.HTML<HtmlPage.__> html) |
Render the HTML page.
|
echo, echoWithoutEscapeHtml, puts, putWithoutEscapeHtml, writerpublic static final java.lang.String DOCTYPE
protected HtmlPage()
protected HtmlPage(View.ViewContext ctx)
public void render()
Viewprotected abstract void render(Hamlet.HTML<HtmlPage.__> html)
html - the page to render data to.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.