@Path(value="/")
public interface SAMRestService
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
checkAlive() |
javax.ws.rs.core.Response |
getEvent(String id) |
javax.ws.rs.core.Response |
getFlow(String id) |
javax.ws.rs.core.Response |
getFlows(Integer offset,
Integer limit) |
@GET @Path(value="") @Produces(value="text/plain") javax.ws.rs.core.Response checkAlive()
@GET
@Path(value="list")
@Produces(value="application/json")
javax.ws.rs.core.Response getFlows(@QueryParam(value="offset") @DefaultValue(value="0")
Integer offset,
@QueryParam(value="limit") @DefaultValue(value="10")
Integer limit)
@GET
@Path(value="flow/{id}")
@Produces(value="application/json")
javax.ws.rs.core.Response getFlow(@PathParam(value="id")
String id)
@GET
@Path(value="event/{id}")
@Produces(value="application/json")
javax.ws.rs.core.Response getEvent(@PathParam(value="id")
String id)
Copyright © 2011–2021 Talend Inc.. All rights reserved.