public class ERXSimpleRestWriter extends Object implements IERXRestWriter
Constructor and Description |
---|
ERXSimpleRestWriter() |
Modifier and Type | Method and Description |
---|---|
void |
appendHeadersToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestContext context)
Called at the end of a request to produce the output to the user.
|
void |
appendToResponse(ERXRestRequestNode node,
IERXRestResponse response,
ERXRestFormat.Delegate delegate,
ERXRestContext context)
Called at the end of a request to produce the output to the user.
|
public void appendHeadersToResponse(ERXRestRequestNode node, IERXRestResponse response, ERXRestContext context)
IERXRestWriter
appendHeadersToResponse
in interface IERXRestWriter
node
- the node to renderresponse
- the response to write intocontext
- the REST contextpublic void appendToResponse(ERXRestRequestNode node, IERXRestResponse response, ERXRestFormat.Delegate delegate, ERXRestContext context)
IERXRestWriter
appendToResponse
in interface IERXRestWriter
node
- the node to renderresponse
- the response to write intodelegate
- the REST delegatecontext
- the REST contextCopyright © 2002 – 2020 Project Wonder.