- SerializationParams - Class in org.apache.struts2.json
-
- SerializationParams(HttpServletResponse, String, boolean, String, boolean, boolean, boolean, int, int, boolean, String, String, String) - Constructor for class org.apache.struts2.json.SerializationParams
-
- SerializationParams(HttpServletResponse, String, boolean, String, boolean, boolean, boolean, int, int, boolean, String) - Constructor for class org.apache.struts2.json.SerializationParams
-
- serialize(Object) - Static method in class org.apache.struts2.json.JSONUtil
-
Serializes an object into JSON.
- serialize(Object, Collection<Pattern>, Collection<Pattern>, boolean, boolean) - Static method in class org.apache.struts2.json.JSONUtil
-
Serializes an object into JSON, excluding any properties matching any of
the regular expressions in the given collection.
- serialize(Object, Collection<Pattern>, Collection<Pattern>, boolean, boolean, boolean, String) - Static method in class org.apache.struts2.json.JSONUtil
-
Serializes an object into JSON, excluding any properties matching any of
the regular expressions in the given collection.
- serialize(Writer, Object) - Static method in class org.apache.struts2.json.JSONUtil
-
Serializes an object into JSON to the given writer.
- serialize(Writer, Object, Collection<Pattern>, Collection<Pattern>, boolean) - Static method in class org.apache.struts2.json.JSONUtil
-
Serializes an object into JSON to the given writer, excluding any
properties matching any of the regular expressions in the given
collection.
- setAllowed(String) - Method in class org.apache.struts2.json.JSONCleaner
-
- setAllowedCollection(Collection<String>) - Method in class org.apache.struts2.json.JSONCleaner
-
- setBlocked(String) - Method in class org.apache.struts2.json.JSONCleaner
-
- setBlockedCollection(Collection<String>) - Method in class org.apache.struts2.json.JSONCleaner
-
- setCallbackParameter(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
- setCallbackParameter(String) - Method in class org.apache.struts2.json.JSONResult
-
- setCode(int) - Method in class org.apache.struts2.json.rpc.RPCError
-
- setContentType(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
- setContentType(String) - Method in class org.apache.struts2.json.JSONResult
-
Content type to be set in the response
- setDateFormat(String) - Method in class org.apache.struts2.json.JSONPopulator
-
- setDateFormatter(String) - Method in class org.apache.struts2.json.JSONWriter
-
- setDebug(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
Turns debugging on or off
- setDebug(String) - Method in class org.apache.struts2.json.rpc.RPCResponse
-
- setDefaultBlock(boolean) - Method in class org.apache.struts2.json.JSONCleaner
-
- setDefaultDateFormat(String) - Method in class org.apache.struts2.json.JSONResult
-
- setDefaultEncoding(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
- setDefaultEncoding(String) - Method in class org.apache.struts2.json.JSONResult
-
- setDevMode(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
- setEnableGZIP(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
Setting this property to "true" will compress the output.
- setEnableGZIP(boolean) - Method in class org.apache.struts2.json.JSONResult
-
- setEnableSMD(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
- setEnableSMD(boolean) - Method in class org.apache.struts2.json.JSONResult
-
Enable SMD generation for action, which can be used for JSON-RPC
- setEncoding(String) - Method in class org.apache.struts2.json.JSONResult
-
If defined will be used instead of
JSONResult.defaultEncoding
, you can define it with result
<result name="success" type="json">
<param name="encoding">UTF-8</param>
</result>
- setEnumAsBean(boolean) - Method in class org.apache.struts2.json.JSONResult
-
Controls how Enum's are serialized : If true, an Enum is serialized as a
name=value pair (name=name()) (default) If false, an Enum is serialized
as a bean with a special property _name=name()
- setEnumAsBean(boolean) - Method in class org.apache.struts2.json.JSONWriter
-
If true, an Enum is serialized as a bean with a special property
_name=name() as all as all other properties defined within the enum.
If false, an Enum is serialized as a name=value pair (name=name())
- setError(RPCError) - Method in class org.apache.struts2.json.rpc.RPCResponse
-
- setErrorCode(int) - Method in class org.apache.struts2.json.JSONResult
-
Error code to be set in the response
- setExcludeNullProperties(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
Do not serialize properties with a null value
- setExcludeNullProperties(boolean) - Method in class org.apache.struts2.json.JSONResult
-
Do not serialize properties with a null value
- setExcludeProperties(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
Sets a comma-delimited list of regular expressions to match properties
that should be excluded from the JSON output.
- setExcludeProperties(String) - Method in class org.apache.struts2.json.JSONResult
-
Sets a comma-delimited list of regular expressions to match properties
that should be excluded from the JSON output.
- setExcludeWildcards(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
Sets a comma-delimited list of wildcard expressions to match
properties that should be excluded from the JSON output.
- setExcludeWildcards(String) - Method in class org.apache.struts2.json.JSONResult
-
Sets a comma-delimited list of wildcard expressions to match properties
that should be excluded from the JSON output.
- setExprStack(String) - Method in class org.apache.struts2.json.JSONWriter
-
- setId(String) - Method in class org.apache.struts2.json.rpc.RPCResponse
-
- setIgnoreHierarchy(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
Ignore properties defined on base classes of the root object.
- setIgnoreHierarchy(boolean) - Method in class org.apache.struts2.json.JSONResult
-
- setIgnoreHierarchy(boolean) - Method in class org.apache.struts2.json.JSONWriter
-
- setIgnoreInterfaces(boolean) - Method in class org.apache.struts2.json.JSONResult
-
Controls whether interfaces should be inspected for method annotations
You may need to set to this true if your action is a proxy as annotations
on methods are not inherited
- setIgnoreSMDMethodInterfaces(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
Ignore annotations on methods in interfaces You may need to set to this
true if your action is a proxy/enhanced as annotations are not inherited
- setIncludeProperties(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
Sets a comma-delimited list of regular expressions to match properties
that should be included from the JSON output.
- setIncludeProperties(String) - Method in class org.apache.struts2.json.JSONResult
-
Sets a comma-delimited list of regular expressions to match properties
that should be included in the JSON output.
- setIncludesExcludesMap(Map<String, JSONCleaner.Filter>) - Method in class org.apache.struts2.json.JSONCleaner
-
Allow external caching of the compiled result.
- setIncludeWildcards(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
Sets a comma-delimited list of wildcard expressions to match
properties that should be included from the JSON output.
- setIncludeWildcards(String) - Method in class org.apache.struts2.json.JSONResult
-
Sets a comma-delimited list of wildcard expressions to match properties
that should be included in the JSON output.
- setJSONCleaner(JSONCleaner) - Method in class org.apache.struts2.json.JSONInterceptor
-
Sets the JSONCleaner to be used
- setJSONPopulator(JSONPopulator) - Method in class org.apache.struts2.json.JSONInterceptor
-
Sets the JSONPopulator to be used
- setMessage(String) - Method in class org.apache.struts2.json.rpc.RPCError
-
- setName(String) - Method in class org.apache.struts2.json.rpc.RPCError
-
- setName(String) - Method in class org.apache.struts2.json.smd.SMDMethod
-
- setName(String) - Method in class org.apache.struts2.json.smd.SMDMethodParameter
-
- setNoCache(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
Add headers to response to prevent the browser from caching the response
- setNoCache(boolean) - Method in class org.apache.struts2.json.JSONResult
-
Add headers to response to prevent the browser from caching the response
- setObjectName(String) - Method in class org.apache.struts2.json.smd.SMD
-
- setParameterValues(Map<String, String>) - Method in interface org.apache.struts2.json.bridge.ParameterizedBridge
-
- setPrefix(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
Add "{} && " to generated JSON
- setPrefix(boolean) - Method in class org.apache.struts2.json.JSONResult
-
Prefix JSON with "{} &&"
- setResult(Object) - Method in class org.apache.struts2.json.rpc.RPCResponse
-
- setRoot(String) - Method in class org.apache.struts2.json.JSONInterceptor
-
Sets the root object to be deserialized, defaults to the Action
- setRoot(String) - Method in class org.apache.struts2.json.JSONResult
-
Sets the root object to be serialized, defaults to the Action
- setServiceType(String) - Method in class org.apache.struts2.json.smd.SMD
-
- setServiceUrl(String) - Method in class org.apache.struts2.json.smd.SMD
-
- setStack(String) - Method in class org.apache.struts2.json.rpc.RPCError
-
- setStatusCode(int) - Method in class org.apache.struts2.json.JSONResult
-
Status code to be set in the response
- setValidationFailedStatus(int) - Method in class org.apache.struts2.json.JSONValidationInterceptor
-
HTTP status that will be set in the response if validation fails
- setVersion(String) - Method in class org.apache.struts2.json.smd.SMD
-
- setWrapPrefix(String) - Method in class org.apache.struts2.json.JSONResult
-
Text to be inserted at the begining of the response
- setWrapSuffix(String) - Method in class org.apache.struts2.json.JSONResult
-
Text to be inserted at the end of the response
- setWrapWithComments(boolean) - Method in class org.apache.struts2.json.JSONInterceptor
-
Wrap generated JSON with comments.
- setWrapWithComments(boolean) - Method in class org.apache.struts2.json.JSONResult
-
Wrap generated JSON with comments
- shouldExcludeProperty(PropertyDescriptor) - Method in class org.apache.struts2.json.JSONWriter
-
- shouldExcludeProperty(String) - Method in class org.apache.struts2.json.JSONWriter
-
- shouldSerialize() - Method in class org.apache.struts2.json.JSONWriter.JSONAnnotationFinder
-
- skipWhiteSpace() - Method in class org.apache.struts2.json.JSONReader
-
- SMD - Annotation Type in org.apache.struts2.json.annotations
-
- SMD - Class in org.apache.struts2.json.smd
-
- SMD() - Constructor for class org.apache.struts2.json.smd.SMD
-
- SMDGenerator - Class in org.apache.struts2.json.smd
-
- SMDGenerator(Object, List<Pattern>, boolean) - Constructor for class org.apache.struts2.json.smd.SMDGenerator
-
- SMDMethod - Annotation Type in org.apache.struts2.json.annotations
-
- SMDMethod - Class in org.apache.struts2.json.smd
-
- SMDMethod(String) - Constructor for class org.apache.struts2.json.smd.SMDMethod
-
- SMDMethodParameter - Annotation Type in org.apache.struts2.json.annotations
-
- SMDMethodParameter - Class in org.apache.struts2.json.smd
-
- SMDMethodParameter(String) - Constructor for class org.apache.struts2.json.smd.SMDMethodParameter
-
- string(char) - Method in class org.apache.struts2.json.JSONReader
-
- string(Object) - Method in class org.apache.struts2.json.JSONWriter
-
escape characters
- StringBridge - Class in org.apache.struts2.json.bridge
-
User: maurizio.cucchiara
Date: Oct 28, 2010
Time: 12:46:16 AM
- StringBridge() - Constructor for class org.apache.struts2.json.bridge.StringBridge
-