Skip to content

Instantly share code, notes, and snippets.

@Vineeth-Mohan
Created April 11, 2012 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vineeth-Mohan/2360788 to your computer and use it in GitHub Desktop.
Save Vineeth-Mohan/2360788 to your computer and use it in GitHub Desktop.
package com.opengamma.web.reports;
import java.io.StringWriter;
import java.net.URI;
import java.util.Collection;
import java.util.Map;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.joda.beans.impl.flexi.FlexiBean;
import com.opengamma.web.AbstractPerRequestWebResource;
@Path("/reports")
public class ReportsResource extends AbstractPerRequestWebResource {
@GET
public String getJSON() {
return "{ 'message' : 'hello reports'}";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment