|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
public interface IERXRestResponseWriter
IERXRestResponseWriter provides the interface for generating the output of a restful request.
| Field Summary | |
|---|---|
static java.lang.String |
DETAILS_PREFIX
|
static java.lang.String |
DETAILS_PROPERTIES_PREFIX
|
static java.lang.String |
REST_PREFIX
|
| Method Summary | |
|---|---|
void |
appendToResponse(ERXRestContext context,
IERXRestResponse response,
ERXRestKey result)
Called at the end of a request to produce the output to the user. |
java.lang.String |
toString(com.webobjects.eocontrol.EOEditingContext editingContext,
java.lang.String entityName,
com.webobjects.foundation.NSArray values)
Returns a String form of the given objects using the unsafe delegate. |
java.lang.String |
toString(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.foundation.NSArray values)
Returns a String form of the given objects using the unsafe delegate. |
java.lang.String |
toString(java.lang.Object value)
Returns a String form of the given object using the unsafe delegate. |
| Field Detail |
|---|
static final java.lang.String REST_PREFIX
static final java.lang.String DETAILS_PREFIX
static final java.lang.String DETAILS_PROPERTIES_PREFIX
| Method Detail |
|---|
void appendToResponse(ERXRestContext context,
IERXRestResponse response,
ERXRestKey result)
throws ERXRestException,
ERXRestSecurityException,
ERXRestNotFoundException,
java.text.ParseException
context - the rest contextresponse - the response to write intoresult - the result of the rest request
ERXRestException - if there is a general failure
ERXRestSecurityException - if there is a security violation
ERXRestNotFoundException - if there is a missing entity
ParseException - if there is a parse error
java.lang.String toString(java.lang.Object value)
throws ERXRestException,
ERXRestSecurityException,
ERXRestNotFoundException,
java.text.ParseException
value - the value to write
ERXRestException
ERXRestSecurityException
ERXRestNotFoundException
ParseException
java.lang.String toString(com.webobjects.eoaccess.EOEntity entity,
com.webobjects.foundation.NSArray values)
throws ERXRestException,
ERXRestSecurityException,
ERXRestNotFoundException,
java.text.ParseException
values - the values to write
ERXRestException
ERXRestSecurityException
ERXRestNotFoundException
ParseException
java.lang.String toString(com.webobjects.eocontrol.EOEditingContext editingContext,
java.lang.String entityName,
com.webobjects.foundation.NSArray values)
throws ERXRestException,
ERXRestSecurityException,
ERXRestNotFoundException,
java.text.ParseException
editingContext - the editingcontext to resolve the given entity name withinentityName - the entity name of the values of the arrayvalues - the values to write
ERXRestException
ERXRestSecurityException
ERXRestNotFoundException
ParseException
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||