public class RenderJSON extends RenderContent
Result.Payload| Constructor and Description |
|---|
RenderJSON(org.osgl.http.H.Status status,
org.osgl.Lang.Visitor<Writer> contentWriter) |
RenderJSON(org.osgl.http.H.Status status,
Object v) |
RenderJSON(org.osgl.http.H.Status status,
String jsonStr) |
RenderJSON(org.osgl.http.H.Status status,
String jsonFormat,
Object... args) |
RenderJSON(org.osgl.Lang.Visitor<Writer> contentWriter) |
RenderJSON(Object v) |
RenderJSON(String jsonStr) |
RenderJSON(String jsonFormat,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static RenderJSON |
of(org.osgl.http.H.Status status,
org.osgl.Lang.Func0<String> contentProducer) |
static RenderJSON |
of(org.osgl.http.H.Status status,
org.osgl.Lang.Visitor<Writer> contentWriter) |
static RenderJSON |
of(org.osgl.http.H.Status status,
Object v) |
static RenderJSON |
of(org.osgl.http.H.Status status,
String jsonStr) |
static RenderJSON |
of(org.osgl.http.H.Status status,
String jsonFormt,
Object... args) |
static RenderJSON |
of(org.osgl.Lang.Func0<String> producer) |
static RenderJSON |
of(org.osgl.Lang.Visitor<Writer> contentWriter) |
static RenderJSON |
of(Object v) |
static RenderJSON |
of(String jsonStr) |
static RenderJSON |
of(String jsonFormt,
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 RenderJSON(String jsonStr)
public RenderJSON(org.osgl.Lang.Visitor<Writer> contentWriter)
public RenderJSON(Object v)
public RenderJSON(org.osgl.http.H.Status status,
String jsonStr)
public RenderJSON(org.osgl.http.H.Status status,
org.osgl.Lang.Visitor<Writer> contentWriter)
public RenderJSON(org.osgl.http.H.Status status,
Object v)
public static RenderJSON of(String jsonStr)
public static RenderJSON of(String jsonFormt, Object... args)
public static RenderJSON of(org.osgl.Lang.Visitor<Writer> contentWriter)
public static RenderJSON of(org.osgl.Lang.Func0<String> producer)
public static RenderJSON of(Object v)
public static RenderJSON of(org.osgl.http.H.Status status, String jsonStr)
public static RenderJSON of(org.osgl.http.H.Status status, String jsonFormt, Object... args)
public static RenderJSON of(org.osgl.http.H.Status status, Object v)
public static RenderJSON of(org.osgl.http.H.Status status, org.osgl.Lang.Visitor<Writer> contentWriter)
public static RenderJSON of(org.osgl.http.H.Status status, org.osgl.Lang.Func0<String> contentProducer)
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.