Project Wonder 5.0

er.rest.format
Class ERXJSONRestWriter

java.lang.Object
  extended by er.rest.format.ERXJSONRestWriter
All Implemented Interfaces:
IERXRestWriter
Direct Known Subclasses:
ERXSproutCoreRestWriter

public class ERXJSONRestWriter
extends java.lang.Object
implements IERXRestWriter


Nested Class Summary
static class ERXJSONRestWriter.ERXRestValueProcessorMatcher
           
static class ERXJSONRestWriter.NSTimestampProcessor
           
 
Field Summary
static net.sf.json.JsonConfig _config
           
 
Constructor Summary
ERXJSONRestWriter()
           
 
Method Summary
 void appendHeadersToResponse(ERXRestRequestNode node, IERXRestResponse response)
          Called at the end of a request to produce the output to the user.
 void appendToResponse(ERXRestRequestNode node, IERXRestResponse response, ERXRestFormat.Delegate delegate)
          Called at the end of a request to produce the output to the user.
protected  ERXRestRequestNode processNode(ERXRestRequestNode node)
           
protected  void removeDictionaryTypes(ERXRestRequestNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_config

public static net.sf.json.JsonConfig _config
Constructor Detail

ERXJSONRestWriter

public ERXJSONRestWriter()
Method Detail

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 render
response - 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 render
response - the response to write into

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.