public class RenderJson extends Result
Constructor and Description |
---|
RenderJson(Object response) |
RenderJson(Object response,
com.google.gson.Gson gson) |
RenderJson(Object response,
com.google.gson.JsonSerializer<?>... adapters) |
RenderJson(Object response,
Type type) |
RenderJson(String jsonString) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Http.Request request,
Http.Response response) |
String |
getJson() |
Object |
getResponse() |
getEncoding, setContentTypeIfNotSet
fillInStackTrace
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RenderJson(Object response)
public RenderJson(Object response, com.google.gson.JsonSerializer<?>... adapters)
public RenderJson(String jsonString)
public RenderJson(Object response, com.google.gson.Gson gson)
public void apply(Http.Request request, Http.Response response)
public String getJson()
public Object getResponse()
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly