@Path(value="/") public class ApiHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TENANT_HEADER_NAME |
| Constructor and Description |
|---|
ApiHandler() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
handleNotification(org.hawkular.client.api.Notification notification) |
static boolean |
isEmpty(String s) |
javax.ws.rs.core.Response |
ping() |
public static final String TENANT_HEADER_NAME
@GET @Path(value="/ping") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response ping()
@PUT @Path(value="/notification") @Consumes(value="application/json") public javax.ws.rs.core.Response handleNotification(org.hawkular.client.api.Notification notification)
public static boolean isEmpty(String s)
Copyright © 2016–2017 Red Hat. All rights reserved.