er.rest.format
Class ERXJSONRestWriter
java.lang.Object
er.rest.format.ERXJSONRestWriter
- All Implemented Interfaces:
- IERXRestWriter
- Direct Known Subclasses:
- ERXSproutCoreRestWriter
public class ERXJSONRestWriter
- extends java.lang.Object
- implements IERXRestWriter
Field Summary |
static net.sf.json.JsonConfig |
_config
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_config
public static net.sf.json.JsonConfig _config
ERXJSONRestWriter
public ERXJSONRestWriter()
removeDictionaryTypes
protected void removeDictionaryTypes(ERXRestRequestNode node)
processNode
protected ERXRestRequestNode processNode(ERXRestRequestNode node)
appendHeadersToResponse
public void appendHeadersToResponse(ERXRestRequestNode node,
IERXRestResponse response)
- Description copied from interface:
IERXRestWriter
- Called at the end of a request to produce the output to the user.
- Specified by:
appendHeadersToResponse
in interface IERXRestWriter
- Parameters:
node
- the node to renderresponse
- the response to write into
appendToResponse
public void appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate)
- Description copied from interface:
IERXRestWriter
- Called at the end of a request to produce the output to the user.
- Specified by:
appendToResponse
in interface IERXRestWriter
- Parameters:
node
- the node to renderresponse
- the response to write into
Copyright © 2002 – 2007 Project Wonder.