
Public Member Functions | |
| void | appendToResponse (ERXRestContext context, IERXRestResponse response, ERXRestKey result) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException, ParseException |
| String | toString (EOEditingContext editingContext, String entityName, NSArray values) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException, ParseException |
| String | toString (EOEntity entity, NSArray values) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException, ParseException |
| String | toString (Object value) throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException, ParseException |
Static Public Attributes | |
| static final String | DETAILS_PREFIX = ".details" |
| static final String | DETAILS_PROPERTIES_PREFIX = ".detailsProperties" |
| static final String | REST_PREFIX = "ERXRest." |
| void appendToResponse | ( | ERXRestContext | context, | |
| IERXRestResponse | response, | |||
| ERXRestKey | result | |||
| ) | throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException, ParseException |
Called at the end of a request to produce the output to the user.
| context | the rest context | |
| response | the response to write into | |
| result | 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 |
Implemented in ERXAbstractRestResponseWriter, ERXJSONRestResponseWriter, ERXPListRestResponseWriter, and ERXXmlRestResponseWriter.
| String toString | ( | EOEditingContext | editingContext, | |
| String | entityName, | |||
| NSArray | values | |||
| ) | throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException, ParseException |
Returns a String form of the given objects using the unsafe delegate.
| editingContext | the editingcontext to resolve the given entity name within | |
| entityName | the entity name of the values of the array | |
| values | the values to write |
| ERXRestException | ||
| ERXRestSecurityException | ||
| ERXRestNotFoundException | ||
| ParseException |
Implemented in ERXAbstractRestResponseWriter, ERXJSONRestResponseWriter, and ERXPListRestResponseWriter.
| String toString | ( | EOEntity | entity, | |
| NSArray | values | |||
| ) | throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException, ParseException |
Returns a String form of the given objects using the unsafe delegate.
| values | the values to write |
| ERXRestException | ||
| ERXRestSecurityException | ||
| ERXRestNotFoundException | ||
| ParseException |
Implemented in ERXAbstractRestResponseWriter, ERXJSONRestResponseWriter, and ERXPListRestResponseWriter.
| String toString | ( | Object | value | ) | throws ERXRestException, ERXRestSecurityException, ERXRestNotFoundException, ParseException |
Returns a String form of the given object using the unsafe delegate.
| value | the value to write |
| ERXRestException | ||
| ERXRestSecurityException | ||
| ERXRestNotFoundException | ||
| ParseException |
Implemented in ERXAbstractRestResponseWriter, ERXJSONRestResponseWriter, and ERXPListRestResponseWriter.
final String DETAILS_PREFIX = ".details" [static] |
final String DETAILS_PROPERTIES_PREFIX = ".detailsProperties" [static] |
final String REST_PREFIX = "ERXRest." [static] |
1.5.8