Project Wonder 5.0

er.rest.format
Interface IERXRestWriter

All Known Implementing Classes:
ERXGianduiaRestWriter, ERXJSONRestWriter, ERXPListRestWriter, ERXSimpleRestWriter, ERXSproutCoreRestWriter, ERXXmlRestWriter

public interface IERXRestWriter

IERXRestWriter provides the interface for generating the output of a restful request.

Author:
mschrag

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.
 

Method Detail

appendHeadersToResponse

void appendHeadersToResponse(ERXRestRequestNode node,
                             IERXRestResponse response)
Called at the end of a request to produce the output to the user.

Parameters:
node - the node to render
response - the response to write into

appendToResponse

void appendToResponse(ERXRestRequestNode node,
                      IERXRestResponse response,
                      ERXRestFormat.Delegate delegate)
Called at the end of a request to produce the output to the user.

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.