限定符和类型 | 字段和说明 |
---|---|
static View |
COMPACT |
static String |
CT |
protected Object |
data |
static View |
FORLOOK |
protected JsonFormat |
format |
static View |
FULL |
protected boolean |
jsonp |
static View |
JSONP |
static String |
JSONP_CT |
protected String |
jsonpParam |
static View |
NICE |
构造器和说明 |
---|
UTF8JsonView() |
UTF8JsonView(JsonFormat format) |
限定符和类型 | 方法和说明 |
---|---|
void |
render(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Object obj) |
UTF8JsonView |
setData(Object data) |
UTF8JsonView |
setJsonp(boolean jsonp) |
UTF8JsonView |
setJsonpParam(String jsonpParam) |
public static String CT
public static String JSONP_CT
protected JsonFormat format
protected Object data
protected boolean jsonp
protected String jsonpParam
public static final View NICE
public static final View COMPACT
public static final View FULL
public static final View FORLOOK
public static final View JSONP
public UTF8JsonView(JsonFormat format)
public UTF8JsonView()
public UTF8JsonView setData(Object data)
public UTF8JsonView setJsonp(boolean jsonp)
public UTF8JsonView setJsonpParam(String jsonpParam)
public void render(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Object obj) throws IOException
render
在接口中 View
IOException
Copyright © 2017. All rights reserved.