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  {
15      @GET
16      public Expand get()
17      {
18          return new Expand();
19      }
20  }