public class RenderText extends RenderContent
Render a text message
Result.Payload| Constructor and Description |
|---|
RenderText(org.osgl.http.H.Format fmt,
String text,
Object... args) |
RenderText(org.osgl.http.H.Status status,
org.osgl.http.H.Format fmt,
String text,
Object... args) |
RenderText(org.osgl.http.H.Status status,
String text,
Object... args) |
RenderText(String text,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static RenderText |
of(org.osgl.http.H.Format fmt,
String text,
Object... args) |
static RenderText |
of(org.osgl.http.H.Status status,
org.osgl.http.H.Format fmt,
String text,
Object... args) |
static RenderText |
of(org.osgl.http.H.Status status,
org.osgl.Lang.Func0<String> contentProducer) |
static RenderText |
of(org.osgl.http.H.Status status,
org.osgl.Lang.Visitor<Writer> contentWriter) |
static RenderText |
of(org.osgl.http.H.Status status,
String text) |
static RenderText |
of(org.osgl.http.H.Status status,
String text,
Object... args) |
static RenderText |
of(org.osgl.Lang.Func0<String> contentProducer) |
static RenderText |
of(org.osgl.Lang.Visitor<Writer> contentWriter) |
static RenderText |
of(String text) |
static RenderText |
of(String text,
Object... args) |
apply, content, contentWriter, format, isOutputEncoding, setContentType, setOutputEncodingaddCookie, addHeader, applyAfterCommitHandler, applyBeforeCommitHandler, applyCookies, applyHeaders, applyMessage, applyStatus, clearThreadLocals, header, payload, status, status, statusCode, timestamp, touchPayloaddoFillInStackTrace, fillInStackTraceaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static RenderText of(org.osgl.Lang.Visitor<Writer> contentWriter)
public static RenderText of(org.osgl.Lang.Func0<String> contentProducer)
public static RenderText of(String text)
public static RenderText of(String text, Object... args)
public static RenderText of(org.osgl.http.H.Format fmt, String text, Object... args)
public static RenderText of(org.osgl.http.H.Status status, String text)
public static RenderText of(org.osgl.http.H.Status status, String text, Object... args)
public static RenderText of(org.osgl.http.H.Status status, org.osgl.http.H.Format fmt, String text, Object... args)
public static RenderText of(org.osgl.http.H.Status status, org.osgl.Lang.Visitor<Writer> contentWriter)
public static RenderText of(org.osgl.http.H.Status status, org.osgl.Lang.Func0<String> contentProducer)
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.