Ignore:
Timestamp:
Feb 8, 2015, 5:09:00 PM (9 years ago)
Author:
casties
Branch:
default
Children:
92:aadf8760216d, 94:fcb6fe10e08c
Message:

let CORS be handled by Restlet 2.3 CorsFilter?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorAnnotationsByTags.java

    r88 r91  
    4949 */
    5050public class AnnotatorAnnotationsByTags extends AnnotatorResourceImpl {
    51     protected String getAllowedMethodsForHeader() {
    52         return "OPTIONS,GET";
    53     }
    5451
    5552    @Get("json")
    5653    public Representation doGetJSON(Representation entity) {
    5754        logger.fine("AnnotatorAnnotatonsBytag doGetJSON!");
    58         setCorsHeaders();
    5955
    6056        // do authentication
Note: See TracChangeset for help on using the changeset viewer.