Revision 224f7da1
Added by Andreas Kohlbecker over 15 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/HttpStatusMessage.java | ||
---|---|---|
27 | 27 |
public final static HttpStatusMessage UUID_MISSING = new HttpStatusMessage(HttpServletResponse.SC_BAD_REQUEST, "missing uuid parameter"); |
28 | 28 |
public final static HttpStatusMessage UUID_INVALID = new HttpStatusMessage(HttpServletResponse.SC_BAD_REQUEST, "invalid uuid"); |
29 | 29 |
public final static HttpStatusMessage UUID_NOT_FOUND = new HttpStatusMessage(HttpServletResponse.SC_NOT_FOUND, "uuid not found"); |
30 |
public final static HttpStatusMessage UUID_REFERENCES_WRONG_TYPE = new HttpStatusMessage(HttpServletResponse.SC_NOT_FOUND, "uuid references wrong type"); |
|
31 |
|
|
30 | 32 |
|
31 | 33 |
|
32 | 34 |
private int statusCode; |
Also available in: Unified diff
new controllers & improved JSON serialization