Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## juzu
Annotation Type MimeType.JSON

    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    public static @interface MimeType.JSON

Annotation matching the `application/json` mime type.

`

       @MimeType.JSON
       public Response index() {
         return Response.ok().body("{'say':'hello world'}");
       }

`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2014 eXo Platform SAS. All rights reserved.