Uses of Class
org.wso2.carbon.rest.api.APIException
Packages that use APIException
-
Uses of APIException in org.wso2.carbon.rest.api
Methods in org.wso2.carbon.rest.api that throw APIExceptionModifier and TypeMethodDescriptionorg.apache.axis2.engine.AxisConfigurationConfigHolder.getAxisConfiguration()org.wso2.carbon.registry.core.session.UserRegistryConfigHolder.getConfigRegistry()static org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManagerRestApiAdminUtils.getMediationPersistenceManager()Helper method to get the persistence mangerorg.apache.synapse.config.SynapseConfigurationConfigHolder.getSynapseConfiguration()static org.apache.synapse.config.SynapseConfigurationRestApiAdminUtils.getSynapseConfiguration()Override the parent's getSynapseconfig() method to retrieve the Synapse configuration from the relevant axis configurationstatic org.apache.synapse.core.SynapseEnvironmentRestApiAdminUtils.getSynapseEnvironment()Helper method to retrieve the Synapse environment from the relevant axis configurationstatic voidRestApiAdminUtils.persistApi(org.apache.synapse.api.API api) Constructors in org.wso2.carbon.rest.api that throw APIException -
Uses of APIException in org.wso2.carbon.rest.api.service
Methods in org.wso2.carbon.rest.api.service that throw APIExceptionModifier and TypeMethodDescriptionbooleanbooleanAdds an API with the metadata passed in.booleanRestApiAdmin.addApiForTenant(String apiData, String tenantDomain) Set the tenant domain when a publisher publishes his API in MT mode.booleanRestApiAdminService.addApiForTenant(String apiData, String tenantDomain) Sets the tenant domain when a publisher publishes his API in MT mode.booleanRestApiAdminService.addApiForTenant(APIData apiData, String tenantDomain) Adds an API with the metadata passed in.booleanRestApiAdmin.addApiFromString(String apiData) booleanRestApiAdminService.addApiFromString(String apiData) Adds an API with the configuration passed in, as a string.voidRestApiAdmin.addSwaggerDocument(String apiName, String swaggerJsonString, int tenantId) Replace the swagger document in the registry with the given swagger json stringvoidRestApiAdmin.deleteAllApi()Delete All API in the synapse configurationbooleanbooleanDeletes an API that carries the name that is passed in.booleanRestApiAdmin.deleteApiForTenant(String apiName, String tenantDomain) Set the tenant domain when a publisher deletes his API in MT mode.booleanRestApiAdminService.deleteApiForTenant(String apiName, String tenantDomain) Deletes an API that exists in the space of a given tenant, carrying the name passed in.voidRestApiAdmin.deleteSelectedApi(String[] apiNames) Delete Selected APIRestApiAdmin.disableStatistics(String apiName) RestApiAdmin.disableTracing(String apiName) RestApiAdmin.enableStatistics(String apiName) RestApiAdmin.enableTracing(String apiName) RestApiAdmin.generateAPIFromSwagger(String swaggerJsonString) Function to generate API from swagger definition (from JSON representation)RestApiAdmin.generateAPIFromSwaggerByFormat(String swaggerString, boolean isJSON) Function to generate API from swagger definition (from JSON representation)RestApiAdmin.generateSwaggerFromSynapseAPI(org.apache.synapse.api.API api) Function to generate API from swagger definition (from Synapse API)RestApiAdmin.generateSwaggerFromSynapseAPIByFormat(org.apache.synapse.api.API api, boolean isJSON) Function to generate API from swagger definition (from Synapse API).RestApiAdmin.generateUpdatedAPIFromSwagger(String swaggerJsonString, String existingApiName) Function to generate updated existing API by referring to swagger definition (from JSON representation)RestApiAdmin.generateUpdatedAPIFromSwaggerByFormat(String swaggerJsonString, boolean isJSON, org.apache.synapse.api.API existingApi) Function to generate updated existing API by referring to swagger definition.RestApiAdmin.generateUpdatedAPIFromSwaggerForAPI(String swaggerJsonString, org.apache.synapse.api.API existingApi) Function to generate updated existing API by referring to swagger definition (from JSON representation)RestApiAdminService.getApiByName(String apiName) Retrieves API configuration mapped into the name passed in.RestApiAdmin.getApiForTenant(String apiName, String tenantDomain) Set the tenant domain when a publisher tries to retrieve API his API in MT mode.RestApiAdminService.getApiForTenant(String apiName, String tenantDomain) Sets the tenant domain when a publisher tries to retrieve API his API in MT mode.protected LockRestApiAdminService.getLock()RestApiAdmin.getServerContext()RestApiAdmin.getSwaggerDocument(String apiName, int tenantId) Return the registry resource for the provided locationbooleanbooleanRestApiAdmin.updateApiForTenant(String apiName, String apiData, String tenantDomain) Set the tenant domain when a publisher updates his API in MT mode.booleanRestApiAdminService.updateApiForTenant(String apiName, String apiData, String tenantDomain) Set the tenant domain when a publisher updates his API in MT mode.booleanRestApiAdmin.updateApiFromString(String apiName, String apiData) booleanRestApiAdminService.updateApiFromString(String apiName, String apiData) Updates a given API configuration passed in as a string.RestApiAdmin.updateNameInSwagger(String newName, String swagger) Update the title of a given swagger document.voidRestApiAdmin.updateSwaggerDocument(String apiName, String swaggerJsonString, int tenantId) Create a registry resource for the swagger document and update the registry resource with the default swagger