org.apache.struts2.json
Class SerializationParams

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

public class SerializationParams
extends java.lang.Object


Constructor Summary
SerializationParams(javax.servlet.http.HttpServletResponse response, java.lang.String defaultEncoding, boolean wrapWithComments, java.lang.String json, boolean b, boolean b1, boolean noCache, int i, int i1, boolean prefix, java.lang.String contentType)
           
SerializationParams(javax.servlet.http.HttpServletResponse response, java.lang.String encoding, boolean wrapWithComments, java.lang.String serializedJSON, boolean smd, boolean gzip, boolean noCache, int statusCode, int errorCode, boolean prefix, java.lang.String contentType, java.lang.String wrapPrefix, java.lang.String wrapSuffix)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.lang.String getEncoding()
           
 int getErrorCode()
           
 javax.servlet.http.HttpServletResponse getResponse()
           
 java.lang.String getSerializedJSON()
           
 int getStatusCode()
           
 java.lang.String getWrapPrefix()
           
 java.lang.String getWrapSuffix()
           
 boolean isGzip()
           
 boolean isNoCache()
           
 boolean isPrefix()
           
 boolean isSmd()
           
 boolean isWrapWithComments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationParams

public SerializationParams(javax.servlet.http.HttpServletResponse response,
                           java.lang.String encoding,
                           boolean wrapWithComments,
                           java.lang.String serializedJSON,
                           boolean smd,
                           boolean gzip,
                           boolean noCache,
                           int statusCode,
                           int errorCode,
                           boolean prefix,
                           java.lang.String contentType,
                           java.lang.String wrapPrefix,
                           java.lang.String wrapSuffix)

SerializationParams

public SerializationParams(javax.servlet.http.HttpServletResponse response,
                           java.lang.String defaultEncoding,
                           boolean wrapWithComments,
                           java.lang.String json,
                           boolean b,
                           boolean b1,
                           boolean noCache,
                           int i,
                           int i1,
                           boolean prefix,
                           java.lang.String contentType)
Method Detail

getWrapSuffix

public java.lang.String getWrapSuffix()

getWrapPrefix

public java.lang.String getWrapPrefix()

getResponse

public javax.servlet.http.HttpServletResponse getResponse()

getEncoding

public java.lang.String getEncoding()

isWrapWithComments

public boolean isWrapWithComments()

getSerializedJSON

public java.lang.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 java.lang.String getContentType()


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.