Created
April 11, 2012 17:37
-
-
Save Vineeth-Mohan/2360788 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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