@ApplicationScoped public class GatewayResourceImpl extends Object implements io.apiman.manager.api.rest.contract.IGatewayResource
| Constructor and Description |
|---|
GatewayResourceImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
io.apiman.manager.api.beans.gateways.GatewayBean |
create(io.apiman.manager.api.beans.gateways.NewGatewayBean bean) |
void |
delete(String gatewayId) |
io.apiman.manager.api.beans.gateways.GatewayBean |
get(String gatewayId) |
io.apiman.manager.api.security.ISecurityContext |
getSecurityContext() |
io.apiman.manager.api.core.IStorage |
getStorage() |
List<io.apiman.manager.api.beans.summary.GatewaySummaryBean> |
list() |
void |
setSecurityContext(io.apiman.manager.api.security.ISecurityContext securityContext) |
void |
setStorage(io.apiman.manager.api.core.IStorage storage) |
io.apiman.manager.api.beans.summary.GatewayTestResultBean |
test(io.apiman.manager.api.beans.gateways.NewGatewayBean bean) |
void |
update(String gatewayId,
io.apiman.manager.api.beans.gateways.UpdateGatewayBean bean) |
public io.apiman.manager.api.beans.summary.GatewayTestResultBean test(io.apiman.manager.api.beans.gateways.NewGatewayBean bean)
throws io.apiman.manager.api.rest.contract.exceptions.NotAuthorizedException
test in interface io.apiman.manager.api.rest.contract.IGatewayResourceio.apiman.manager.api.rest.contract.exceptions.NotAuthorizedExceptionIGatewayResource.test(io.apiman.manager.api.beans.gateways.NewGatewayBean)public List<io.apiman.manager.api.beans.summary.GatewaySummaryBean> list() throws io.apiman.manager.api.rest.contract.exceptions.NotAuthorizedException
list in interface io.apiman.manager.api.rest.contract.IGatewayResourceio.apiman.manager.api.rest.contract.exceptions.NotAuthorizedExceptionIGatewayResource.list()public io.apiman.manager.api.beans.gateways.GatewayBean create(io.apiman.manager.api.beans.gateways.NewGatewayBean bean)
throws io.apiman.manager.api.rest.contract.exceptions.GatewayAlreadyExistsException
create in interface io.apiman.manager.api.rest.contract.IGatewayResourceio.apiman.manager.api.rest.contract.exceptions.GatewayAlreadyExistsExceptionIGatewayResource.create(io.apiman.manager.api.beans.gateways.NewGatewayBean)public io.apiman.manager.api.beans.gateways.GatewayBean get(String gatewayId) throws io.apiman.manager.api.rest.contract.exceptions.GatewayNotFoundException, io.apiman.manager.api.rest.contract.exceptions.NotAuthorizedException
get in interface io.apiman.manager.api.rest.contract.IGatewayResourceio.apiman.manager.api.rest.contract.exceptions.GatewayNotFoundExceptionio.apiman.manager.api.rest.contract.exceptions.NotAuthorizedExceptionIGatewayResource.get(java.lang.String)public void update(String gatewayId, io.apiman.manager.api.beans.gateways.UpdateGatewayBean bean) throws io.apiman.manager.api.rest.contract.exceptions.GatewayNotFoundException, io.apiman.manager.api.rest.contract.exceptions.NotAuthorizedException
update in interface io.apiman.manager.api.rest.contract.IGatewayResourceio.apiman.manager.api.rest.contract.exceptions.GatewayNotFoundExceptionio.apiman.manager.api.rest.contract.exceptions.NotAuthorizedExceptionIGatewayResource.update(java.lang.String, io.apiman.manager.api.beans.gateways.UpdateGatewayBean)public void delete(String gatewayId) throws io.apiman.manager.api.rest.contract.exceptions.GatewayNotFoundException, io.apiman.manager.api.rest.contract.exceptions.NotAuthorizedException
delete in interface io.apiman.manager.api.rest.contract.IGatewayResourceio.apiman.manager.api.rest.contract.exceptions.GatewayNotFoundExceptionio.apiman.manager.api.rest.contract.exceptions.NotAuthorizedExceptionIGatewayResource.delete(java.lang.String)public io.apiman.manager.api.core.IStorage getStorage()
public void setStorage(io.apiman.manager.api.core.IStorage storage)
storage - the storage to setpublic io.apiman.manager.api.security.ISecurityContext getSecurityContext()
public void setSecurityContext(io.apiman.manager.api.security.ISecurityContext securityContext)
securityContext - the securityContext to setCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.