@Path(value="config") @Consumes(value="application/json") @Produces(value="application/json") public class ConfigurationHandler extends Object
| Constructor and Description |
|---|
ConfigurationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response) |
void |
getBusinessTxnConfiguration(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
String name) |
void |
getBusinessTxnConfigurations(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
long updated) |
void |
getBusinessTxnConfigurationSummaries(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response) |
void |
getCollectorConfiguration(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
String host,
String server) |
void |
removeBusinessTxnConfiguration(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
String name) |
void |
setBusinessTxnConfiguration(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
String name,
BusinessTxnConfig config) |
void |
validateBusinessTxnConfiguration(javax.ws.rs.core.SecurityContext context,
javax.ws.rs.container.AsyncResponse response,
BusinessTxnConfig config) |
@GET
@Path(value="collector")
@Produces(value="application/json")
public void getCollectorConfiguration(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
@QueryParam(value="host")
String host,
@QueryParam(value="server")
String server)
@GET
@Path(value="businesstxn/summary")
@Produces(value="application/json")
public void getBusinessTxnConfigurationSummaries(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response)
@GET
@Path(value="businesstxn/full")
@Produces(value="application/json")
public void getBusinessTxnConfigurations(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
@QueryParam(value="updated") @DefaultValue(value="0")
long updated)
@GET
@Path(value="businesstxn/full/{name}")
@Produces(value="application/json")
public void getBusinessTxnConfiguration(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
@PathParam(value="name")
String name)
@PUT
@Path(value="businesstxn/full/{name}")
@Consumes(value="application/json")
public void setBusinessTxnConfiguration(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
@PathParam(value="name")
String name,
BusinessTxnConfig config)
@DELETE
@Path(value="businesstxn/full/{name}")
public void removeBusinessTxnConfiguration(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
@PathParam(value="name")
String name)
@POST
@Path(value="businesstxn/validate")
@Consumes(value="application/json")
public void validateBusinessTxnConfiguration(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response,
BusinessTxnConfig config)
@DELETE
@Path(value="/")
@Produces(value="application/json")
public void clear(@Context
javax.ws.rs.core.SecurityContext context,
@Suspended
javax.ws.rs.container.AsyncResponse response)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.