public class RenderTemplate extends RenderAny
Render a template with template path and arguments provided by ActionContext
Modifier and Type | Field and Description |
---|---|
static RenderTemplate |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
apply(ActionContext context) |
void |
apply(org.osgl.http.H.Request req,
org.osgl.http.H.Response resp) |
static RenderTemplate |
get() |
static RenderTemplate |
get(org.osgl.http.H.Status status) |
static RenderTemplate |
of(org.osgl.http.H.Status status,
Map<String,Object> args) |
static RenderTemplate |
of(Map<String,Object> args) |
protected void |
setContentType(org.osgl.http.H.Request req,
org.osgl.http.H.Response resp) |
clearThreadLocals, ignoreMissingTemplate
addCookie, addHeader, applyAfterCommitHandler, applyBeforeCommitHandler, applyCookies, applyHeaders, applyMessage, applyStatus, header, payload, status, status, statusCode, timestamp, touchPayload
doFillInStackTrace, fillInStackTrace
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static RenderTemplate INSTANCE
public void apply(org.osgl.http.H.Request req, org.osgl.http.H.Response resp)
public void apply(ActionContext context)
protected void setContentType(org.osgl.http.H.Request req, org.osgl.http.H.Response resp)
public static RenderTemplate get()
public static RenderTemplate get(org.osgl.http.H.Status status)
public static RenderTemplate of(Map<String,Object> args)
public static RenderTemplate of(org.osgl.http.H.Status status, Map<String,Object> args)
Copyright © 2014-2017 ActFramework. All Rights Reserved.