public class JSONResponse<T> extends Response
Returns a JSON version of the given object.
responseHeaders
Constructor and Description |
---|
JSONResponse(java.lang.String jsonString) |
JSONResponse(T object) |
equals, getCode, getContent, getHeader, getHeader, getResponse, hashCode, send, setContent, setHeader, setResponseHeaders, setType, toString
public JSONResponse(T object)
public JSONResponse(java.lang.String jsonString)