Changeset 91:cf44d9e1a4a7 in AnnotationManagerN4J for src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByResources.java
- Timestamp:
- Feb 8, 2015, 5:09:00 PM (9 years ago)
- Branch:
- default
- Children:
- 92:aadf8760216d, 94:fcb6fe10e08c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByResources.java
r88 r91 50 50 */ 51 51 public class AnnotatorAnnotationsByResources extends AnnotatorResourceImpl { 52 protected String getAllowedMethodsForHeader() {53 return "OPTIONS,GET";54 }55 52 56 53 @Get("json") 57 54 public Representation doGetJSON(Representation entity) { 58 55 logger.fine("AnnotatorAnnotatonsByResource doGetJSON!"); 59 setCorsHeaders();60 56 61 57 // do authentication
Note: See TracChangeset
for help on using the changeset viewer.