@Path(value="/urls")
@Produces(value="application/hawkular.1.0.0+json")
@Consumes(value="application/json")
public interface RestURL
| Modifier and Type | Method and Description |
|---|---|
void |
createUrl(javax.ws.rs.container.AsyncResponse asyncResponse,
URL url,
String authToken) |
void |
deleteUrl(javax.ws.rs.container.AsyncResponse asyncResponse,
String id,
String authToken) |
void |
getAll(javax.ws.rs.container.AsyncResponse asyncResponse,
String authToken) |
void |
getUrl(javax.ws.rs.container.AsyncResponse asyncResponse,
String id,
String authToken) |
void |
updateUrl(javax.ws.rs.container.AsyncResponse asyncResponse,
String id,
URL url,
String authToken) |
@GET
@Path(value="{urlId}")
void getUrl(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="urlId")
String id,
@HeaderParam(value="Authorization")
String authToken)
@GET
void getAll(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@HeaderParam(value="Authorization")
String authToken)
@POST
@Path(value="/")
void createUrl(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
URL url,
@HeaderParam(value="Authorization")
String authToken)
@PUT
@Path(value="/")
void updateUrl(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="urlId")
String id,
URL url,
@HeaderParam(value="Authorization")
String authToken)
Copyright © 2016–2017 Red Hat. All rights reserved.