Changeset 91:cf44d9e1a4a7 in AnnotationManagerN4J for src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorTags.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/AnnotatorTags.java
r75 r91 1 /**2 * ReST API for accessing groups in the Annotation store.3 */4 1 package de.mpiwg.itgroup.annotations.restlet; 5 2 … … 49 46 */ 50 47 public class AnnotatorTags extends AnnotatorResourceImpl { 51 protected String getAllowedMethodsForHeader() {52 return "OPTIONS,GET";53 }54 48 55 49 /** … … 65 59 public Representation doGetJSON(Representation entity) { 66 60 logger.fine("AnnotatorGroups doGetJSON!"); 67 setCorsHeaders();68 61 69 62 String jsonId = (String) getRequest().getAttributes().get("id");
Note: See TracChangeset
for help on using the changeset viewer.