@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> |
getAllDagInfos(String username) |
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> |
getUserDagInfos(javax.servlet.http.HttpServletRequest request) |
List<Resource.DagInfo> |
getUserDAGs(javax.servlet.http.HttpServletRequest request) |
org.glassfish.jersey.server.mvc.Viewable |
pickDate(javax.servlet.http.HttpServletRequest request) |
String |
ping() |
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) |
org.glassfish.jersey.server.mvc.Viewable |
viewDags(javax.servlet.http.HttpServletRequest request) |
public Resource()
throws IOException
IOException@GET @Path(value="") @Produces(value="text/plain") public String ping()
@POST @Path(value="/reload") @Produces(value="application/json") public javax.ws.rs.core.Response reload()
@GET
@Path(value="/pick-dag")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable pickDate(@Context
javax.servlet.http.HttpServletRequest request)
throws Exception
Exception@GET @Path(value="/dags") @Produces(value="application/json") public List<Resource.DagInfo> getUserDagInfos(@Context javax.servlet.http.HttpServletRequest request)
@GET
@Path(value="/dags/users/{user : .+}")
@Produces(value="application/json")
public List<Resource.DagInfo> getAllDagInfos(@PathParam(value="user")
String username)
@GET
@Path(value="/dags")
@Produces(value="text/html")
public org.glassfish.jersey.server.mvc.Viewable viewDags(@Context
javax.servlet.http.HttpServletRequest request)
throws IOException
IOException@GET
@Path(value="/dags/{dag : .+}")
@Produces(value="application/json")
public Dag getDAG(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET
@Path(value="/dags/{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="/dags/{dag : .+}/topological")
@Produces(value="application/json")
public List<String> getTopological(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET
@Path(value="/dags/{dag : .+}/topologicartifacts")
@Produces(value="application/json")
public List<String> getTopologicartifacts(@PathParam(value="dag")
String dagkey)
throws Exception
Exception@GET @Path(value="/dags/subscription") @Produces(value="application/json") public List<Resource.DagInfo> getUserDAGs(@Context javax.servlet.http.HttpServletRequest request) throws Exception
Exception@POST
@Path(value="/dags/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="/dags/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.