Package org.apache.struts2.json
Class SerializationParams
java.lang.Object
org.apache.struts2.json.SerializationParams
-
Constructor Summary
ConstructorsConstructorDescriptionSerializationParams
(jakarta.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
(jakarta.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) -
Method Summary
-
Constructor Details
-
SerializationParams
-
SerializationParams
-
-
Method Details
-
getWrapSuffix
-
getWrapPrefix
-
getResponse
public jakarta.servlet.http.HttpServletResponse getResponse() -
getEncoding
-
isWrapWithComments
public boolean isWrapWithComments() -
getSerializedJSON
-
isSmd
public boolean isSmd() -
isGzip
public boolean isGzip() -
isNoCache
public boolean isNoCache() -
getStatusCode
public int getStatusCode() -
getErrorCode
public int getErrorCode() -
isPrefix
public boolean isPrefix() -
getContentType
-