@Path(value="/") public class Resource<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Resource.DagInfo |
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
List<Resource.DagInfo> |
getAllDAGs(javax.servlet.http.HttpServletRequest request) |
org.glassfish.jersey.server.mvc.Viewable |
getAllDAGsAsHtml(javax.servlet.http.HttpServletRequest request) |
Dag |
getDAG(String dagkey) |
org.glassfish.jersey.server.mvc.Viewable |
getDAGasHTML(String dagkey,
javax.servlet.http.HttpServletRequest request) |
List<String> |
getTopological(String dagkey) |
List<String> |
getTopologicartifacts(String dagkey) |
List<Resource.DagInfo> |
getUserDAGs(javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
reload() |
javax.ws.rs.core.Response |
subscribe(String dagkey,
javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
unsubscribe(String dagkey,
javax.servlet.http.HttpServletRequest request) |
public static String ANONYMOUS
public Resource()
throws IOException
IOException@GET @Path(value="") @Produces(value="application/json") public List<Resource.DagInfo> getAllDAGs(@Context javax.servlet.http.HttpServletRequest request)
@GET
@Path(value="")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable getAllDAGsAsHtml(@Context
javax.servlet.http.HttpServletRequest request)
throws IOException
IOException@POST @Path(value="") @Produces(value="application/json") public javax.ws.rs.core.Response reload()
@GET
@Path(value="{dag : .+}")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable getDAGasHTML(@PathParam(value="dag")
String dagkey,
@Context
javax.servlet.http.HttpServletRequest request)
throws Exception
Exception@GET
@Path(value="{dag : .+}")
@Produces(value="application/json")
public Dag getDAG(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET
@Path(value="{dag : .+}/topological")
@Produces(value="application/json")
public List<String> getTopological(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET
@Path(value="{dag : .+}/topologicartifacts")
@Produces(value="application/json")
public List<String> getTopologicartifacts(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET @Path(value="subscription") @Produces(value="application/json") public List<Resource.DagInfo> getUserDAGs(@Context javax.servlet.http.HttpServletRequest request) throws Exception
Exception@POST
@Path(value="subscription/{dag : .+}")
public javax.ws.rs.core.Response subscribe(@PathParam(value="dag")
String dagkey,
@Context
javax.servlet.http.HttpServletRequest request)
throws IOException
IOException@DELETE
@Path(value="subscription/{dag : .+}")
public javax.ws.rs.core.Response unsubscribe(@PathParam(value="dag")
String dagkey,
@Context
javax.servlet.http.HttpServletRequest request)
throws IOException
IOExceptionCopyright © 2015 aequologica. All rights reserved.