View Javadoc

1   package com.atlassian.plugins.rest.expand;
2   
3   import javax.ws.rs.GET;
4   import javax.ws.rs.Path;
5   import javax.ws.rs.Produces;
6   import javax.ws.rs.core.MediaType;
7   
8   /**
9    * Resource for testing expand functionality.
10   */
11  @Path("/expand")
12  @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
13  public class ExpandResource {
14      @GET
15      public Expand get() {
16          return new Expand();
17      }
18  }