@Path(value="gateways")
public interface IGatewayResource
| Modifier and Type | Method and Description |
|---|---|
io.apiman.manager.api.beans.gateways.GatewayBean |
create(io.apiman.manager.api.beans.gateways.GatewayBean bean) |
void |
delete(String gatewayId) |
io.apiman.manager.api.beans.gateways.GatewayBean |
get(String gatewayId) |
List<io.apiman.manager.api.beans.summary.GatewaySummaryBean> |
list() |
void |
update(String gatewayId,
io.apiman.manager.api.beans.gateways.GatewayBean bean) |
@GET @Produces(value="application/json") List<io.apiman.manager.api.beans.summary.GatewaySummaryBean> list() throws NotAuthorizedException
NotAuthorizedException@POST
@Consumes(value="application/json")
@Produces(value="application/json")
io.apiman.manager.api.beans.gateways.GatewayBean create(io.apiman.manager.api.beans.gateways.GatewayBean bean)
throws GatewayAlreadyExistsException,
NotAuthorizedException
@GET
@Path(value="{gatewayId}")
@Produces(value="application/json")
io.apiman.manager.api.beans.gateways.GatewayBean get(@PathParam(value="gatewayId")
String gatewayId)
throws GatewayNotFoundException,
NotAuthorizedException
@PUT
@Path(value="{gatewayId}")
@Consumes(value="application/json")
void update(@PathParam(value="gatewayId")
String gatewayId,
io.apiman.manager.api.beans.gateways.GatewayBean bean)
throws GatewayNotFoundException,
NotAuthorizedException
@DELETE
@Path(value="{gatewayId}")
void delete(@PathParam(value="gatewayId")
String gatewayId)
throws GatewayNotFoundException,
NotAuthorizedException
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.