public class SerializationParams extends Object
Constructor and Description |
---|
SerializationParams(javax.servlet.http.HttpServletResponse response,
String defaultEncoding,
boolean wrapWithComments,
String json,
boolean b,
boolean b1,
boolean noCache,
int i,
int i1,
boolean prefix,
String contentType) |
SerializationParams(javax.servlet.http.HttpServletResponse response,
String encoding,
boolean wrapWithComments,
String serializedJSON,
boolean smd,
boolean gzip,
boolean noCache,
int statusCode,
int errorCode,
boolean prefix,
String contentType,
String wrapPrefix,
String wrapSuffix) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getEncoding() |
int |
getErrorCode() |
javax.servlet.http.HttpServletResponse |
getResponse() |
String |
getSerializedJSON() |
int |
getStatusCode() |
String |
getWrapPrefix() |
String |
getWrapSuffix() |
boolean |
isGzip() |
boolean |
isNoCache() |
boolean |
isPrefix() |
boolean |
isSmd() |
boolean |
isWrapWithComments() |
public SerializationParams(javax.servlet.http.HttpServletResponse response, String encoding, boolean wrapWithComments, String serializedJSON, boolean smd, boolean gzip, boolean noCache, int statusCode, int errorCode, boolean prefix, String contentType, String wrapPrefix, String wrapSuffix)
public String getWrapSuffix()
public String getWrapPrefix()
public javax.servlet.http.HttpServletResponse getResponse()
public String getEncoding()
public boolean isWrapWithComments()
public String getSerializedJSON()
public boolean isSmd()
public boolean isGzip()
public boolean isNoCache()
public int getStatusCode()
public int getErrorCode()
public boolean isPrefix()
public String getContentType()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.