@ApplicationScoped public class GatewayResourceImpl extends Object implements IGatewayResource
| Constructor and Description |
|---|
GatewayResourceImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GatewayBean |
create(NewGatewayBean gatewayToInsert) |
void |
delete(String gatewayId) |
GatewayBean |
get(String gatewayId) |
GatewayEndpointSummaryBean |
getGatewayEndpoint(String gatewayId) |
ISecurityContext |
getSecurityContext() |
IStorage |
getStorage() |
List<GatewaySummaryBean> |
list() |
void |
setSecurityContext(ISecurityContext securityContext) |
void |
setStorage(IStorage storage) |
GatewayTestResultBean |
test(NewGatewayBean gatewayToTest) |
void |
update(String gatewayId,
UpdateGatewayBean gatewayToUpdate) |
public GatewayTestResultBean test(NewGatewayBean gatewayToTest) throws NotAuthorizedException
test in interface IGatewayResourceNotAuthorizedExceptionIGatewayResource.test(io.apiman.manager.api.beans.gateways.NewGatewayBean)public List<GatewaySummaryBean> list()
list in interface IGatewayResourceIGatewayResource.list()public GatewayBean create(NewGatewayBean gatewayToInsert) throws GatewayAlreadyExistsException
create in interface IGatewayResourceGatewayAlreadyExistsExceptionIGatewayResource.create(io.apiman.manager.api.beans.gateways.NewGatewayBean)public GatewayBean get(String gatewayId) throws GatewayNotFoundException, NotAuthorizedException
get in interface IGatewayResourceGatewayNotFoundExceptionNotAuthorizedExceptionIGatewayResource.get(java.lang.String)public GatewayEndpointSummaryBean getGatewayEndpoint(String gatewayId) throws GatewayNotFoundException
getGatewayEndpoint in interface IGatewayResourceGatewayNotFoundExceptionIGatewayResource.getGatewayEndpoint(java.lang.String)public void update(String gatewayId, UpdateGatewayBean gatewayToUpdate) throws GatewayNotFoundException, NotAuthorizedException
update in interface IGatewayResourceGatewayNotFoundExceptionNotAuthorizedExceptionIGatewayResource.update(java.lang.String, io.apiman.manager.api.beans.gateways.UpdateGatewayBean)public void delete(String gatewayId) throws GatewayNotFoundException, NotAuthorizedException
delete in interface IGatewayResourceGatewayNotFoundExceptionNotAuthorizedExceptionIGatewayResource.delete(java.lang.String)public IStorage getStorage()
public void setStorage(IStorage storage)
storage - the storage to setpublic ISecurityContext getSecurityContext()
public void setSecurityContext(ISecurityContext securityContext)
securityContext - the securityContext to setCopyright © 2021 Apiman. All rights reserved.