Class SerializationParams

java.lang.Object
org.apache.struts2.json.SerializationParams

public class SerializationParams extends Object
  • Constructor Details

    • SerializationParams

      public 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)
    • SerializationParams

      public SerializationParams(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)
  • Method Details

    • getWrapSuffix

      public String getWrapSuffix()
    • getWrapPrefix

      public String getWrapPrefix()
    • getResponse

      public jakarta.servlet.http.HttpServletResponse getResponse()
    • getEncoding

      public String getEncoding()
    • isWrapWithComments

      public boolean isWrapWithComments()
    • getSerializedJSON

      public String 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

      public String getContentType()