A C D E G I O P R S U
All Classes All Packages

## A

activate(ComponentContext) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
addApi(APIData) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
addApi(APIData) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Adds an API with the metadata passed in.
addApiForTenant(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Set the tenant domain when a publisher publishes his API in MT mode.
addApiForTenant(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Sets the tenant domain when a publisher publishes his API in MT mode.
addApiForTenant(APIData, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Adds an API with the metadata passed in.
addApiFromString(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
addApiFromString(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Adds an API with the configuration passed in, as a string.
addSwaggerDocument(String, String, int) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Replace the swagger document in the registry with the given swagger json string
addSynapseEnvironmentService(int, SynapseEnvironmentService) - Method in class org.wso2.carbon.rest.api.ConfigHolder
APIData - Class in org.wso2.carbon.rest.api
APIData() - Constructor for class org.wso2.carbon.rest.api.APIData
APIDataSorter - Class in org.wso2.carbon.rest.api
APIDataSorter() - Constructor for class org.wso2.carbon.rest.api.APIDataSorter
ApiDeployer - Class in org.wso2.carbon.rest.api
ApiDeployer() - Constructor for class org.wso2.carbon.rest.api.ApiDeployer
APIException - Exception in org.wso2.carbon.rest.api
  Class `APIException` creates a custom exception for Rest API admin
APIException() - Constructor for exception org.wso2.carbon.rest.api.APIException
APIException(String) - Constructor for exception org.wso2.carbon.rest.api.APIException
APIException(String, Throwable) - Constructor for exception org.wso2.carbon.rest.api.APIException
APIException(Throwable) - Constructor for exception org.wso2.carbon.rest.api.APIException
APIServiceComponent - Class in org.wso2.carbon.rest.api
APIServiceComponent() - Constructor for class org.wso2.carbon.rest.api.APIServiceComponent

## C

CarbonServerConfig - Class in org.wso2.carbon.rest.api
CarbonServerConfig() - Constructor for class org.wso2.carbon.rest.api.CarbonServerConfig
compare(APIData, APIData) - Method in class org.wso2.carbon.rest.api.APIDataSorter
ConfigHolder - Class in org.wso2.carbon.rest.api
convertApiToAPIData(API) - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils
createAnonymousSequenceElement(SequenceMediator, String) - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils
createdConfigurationContext(ConfigurationContext) - Method in class org.wso2.carbon.rest.api.APIServiceComponent

## D

deactivate(ComponentContext) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
deleteAllApi() - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Delete All API in the synapse configuration
deleteApi(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
deleteApi(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Deletes an API that carries the name that is passed in.
deleteApiForTenant(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Set the tenant domain when a publisher deletes his API in MT mode.
deleteApiForTenant(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Deletes an API that exists in the space of a given tenant, carrying the name passed in.
deleteSelectedApi(String[]) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Delete Selected API
deploySynapseArtifact(OMElement, String, Properties) - Method in class org.wso2.carbon.rest.api.ApiDeployer
disableStatistics(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
disableTracing(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin

## E

enableStatistics(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
enableTracing(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin

## G

generateAPIFromSwagger(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Function to generate API from swagger definition (from JSON representation)
generateAPIFromSwaggerByFormat(String, boolean) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Function to generate API from swagger definition (from JSON representation)
generateSwaggerFromSynapseAPI(API) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Function to generate API from swagger definition (from Synapse API)
generateSwaggerFromSynapseAPIByFormat(API, boolean) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Function to generate API from swagger definition (from Synapse API).
generateUpdatedAPIFromSwagger(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Function to generate updated existing API by referring to swagger definition (from JSON representation)
generateUpdatedAPIFromSwaggerByFormat(String, boolean, API) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Function to generate updated existing API by referring to swagger definition.
generateUpdatedAPIFromSwaggerForAPI(String, API) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Function to generate updated existing API by referring to swagger definition (from JSON representation)
generateUpdatedSwaggerFromAPI(String, boolean, boolean, API) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Generate updated OpenApi definition using an updated API.
getApiByName(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getApiByName(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Retrieves API configuration mapped into the name passed in.
getAPIContent(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getAPICount() - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getApiForTenant(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Set the tenant domain when a publisher tries to retrieve API his API in MT mode.
getApiForTenant(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Sets the tenant domain when a publisher tries to retrieve API his API in MT mode.
getApiNames() - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getAPIsForListing(int, int) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getApiSource(APIData) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getArtifactContainerName() - Method in class org.wso2.carbon.rest.api.APIData
  Get the artifactContainer of the endpoint which deployed from
getAxisConfig() - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Override the AbstarctAdmin.java's getAxisConfig() to create the CarbonContext from ThreadLoaclContext.
getAxisConfiguration() - Method in class org.wso2.carbon.rest.api.ConfigHolder
getConfigContext() - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getConfigRegistry() - Method in class org.wso2.carbon.rest.api.ConfigHolder
getContentType() - Method in class org.wso2.carbon.rest.api.ResourceData
getContext() - Method in class org.wso2.carbon.rest.api.APIData
getDependencyManager() - Method in class org.wso2.carbon.rest.api.ConfigHolder
getFaultSequenceKey() - Method in class org.wso2.carbon.rest.api.ResourceData
getFaultSeqXml() - Method in class org.wso2.carbon.rest.api.ResourceData
getFileName() - Method in class org.wso2.carbon.rest.api.APIData
getGovernanceRegistry() - Method in class org.wso2.carbon.rest.api.ConfigHolder
getHost() - Method in class org.wso2.carbon.rest.api.APIData
getHost(String) - Method in class org.wso2.carbon.rest.api.CarbonServerConfig
getHost(API) - Method in class org.wso2.carbon.rest.api.CarbonServerConfig
  Function to retrieve host for the swagger definition Host is extracted from following sources 1.
getInSequenceKey() - Method in class org.wso2.carbon.rest.api.ResourceData
getInSeqXml() - Method in class org.wso2.carbon.rest.api.ResourceData
getInstance() - Static method in class org.wso2.carbon.rest.api.ConfigHolder
getIsEdited() - Method in class org.wso2.carbon.rest.api.APIData
  Get the edit state of the endpoint
getLock() - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
getMediationPersistenceManager() - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils
  Helper method to get the persistence manger
getMethods() - Method in class org.wso2.carbon.rest.api.ResourceData
getName() - Method in class org.wso2.carbon.rest.api.APIData
getOutSequenceKey() - Method in class org.wso2.carbon.rest.api.ResourceData
getOutSeqXml() - Method in class org.wso2.carbon.rest.api.ResourceData
getPort() - Method in class org.wso2.carbon.rest.api.APIData
getProtocol() - Method in class org.wso2.carbon.rest.api.ResourceData
getResources() - Method in class org.wso2.carbon.rest.api.APIData
getResourceSource(ResourceData) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getSequences() - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getServerContext() - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
getStatisticsEnable() - Method in class org.wso2.carbon.rest.api.APIData
getSwaggerDefKey() - Method in class org.wso2.carbon.rest.api.APIData
  Function to set Swagger definition path
getSwaggerDocument(String, int) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Return the registry resource for the provided location
getSynapseAPIByName(String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Function to retrieve synapse API object for given API name
getSynapseConfiguration() - Method in class org.wso2.carbon.rest.api.ConfigHolder
getSynapseConfiguration() - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils
  Override the parent's getSynapseconfig() method to retrieve the Synapse configuration from the relevant axis configuration
getSynapseConfiguration() - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Override the parent's getSynapseconfig() method to retrieve the Synapse configuration from the relevant axis configuration
getSynapseEnvironment() - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils
  Helper method to retrieve the Synapse environment from the relevant axis configuration
getSynapseEnvironment(AxisConfiguration) - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils
getSynapseEnvironmentService(int) - Method in class org.wso2.carbon.rest.api.ConfigHolder
getSynapseEnvironmentServices() - Method in class org.wso2.carbon.rest.api.ConfigHolder
getTracingEnable() - Method in class org.wso2.carbon.rest.api.APIData
getUriTemplate() - Method in class org.wso2.carbon.rest.api.ResourceData
getUrlMapping() - Method in class org.wso2.carbon.rest.api.ResourceData
getUserAgent() - Method in class org.wso2.carbon.rest.api.ResourceData
getVersion() - Method in class org.wso2.carbon.rest.api.APIData
getVersionType() - Method in class org.wso2.carbon.rest.api.APIData

## I

init(ConfigurationContext) - Method in class org.wso2.carbon.rest.api.ApiDeployer
isNullOrEmpty(String) - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils

## O

org.wso2.carbon.rest.api - package org.wso2.carbon.rest.api
org.wso2.carbon.rest.api.service - package org.wso2.carbon.rest.api.service

## P

persistApi(API) - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils

## R

removeSynapseEnvironmentService(int) - Method in class org.wso2.carbon.rest.api.ConfigHolder
ResourceData - Class in org.wso2.carbon.rest.api
ResourceData() - Constructor for class org.wso2.carbon.rest.api.ResourceData
RestApiAdmin - Class in org.wso2.carbon.rest.api.service
RestApiAdmin() - Constructor for class org.wso2.carbon.rest.api.service.RestApiAdmin
RestApiAdminService - Class in org.wso2.carbon.rest.api.service
RestApiAdminService() - Constructor for class org.wso2.carbon.rest.api.service.RestApiAdminService
RestApiAdminUtils - Class in org.wso2.carbon.rest.api
RestApiAdminUtils() - Constructor for class org.wso2.carbon.rest.api.RestApiAdminUtils
RestAPIDeployerService - Interface in org.wso2.carbon.rest.api.service
  This is a dummy service interface which is used to enforce the Synapse Application Deployer service startup order
RestAPIDeployerServiceImpl - Class in org.wso2.carbon.rest.api.service
RestAPIDeployerServiceImpl() - Constructor for class org.wso2.carbon.rest.api.service.RestAPIDeployerServiceImpl
restoreSynapseArtifact(String) - Method in class org.wso2.carbon.rest.api.ApiDeployer
retrieveAPIOMElement(APIData) - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils
retrieveResourceOMElement(ResourceData) - Static method in class org.wso2.carbon.rest.api.RestApiAdminUtils

## S

setArtifactContainerName(String) - Method in class org.wso2.carbon.rest.api.APIData
  Set the endpoint artifact container name as a metadata
setAxisConfiguration(AxisConfiguration) - Method in class org.wso2.carbon.rest.api.ConfigHolder
setConfigRegistry(UserRegistry) - Method in class org.wso2.carbon.rest.api.ConfigHolder
setConfigurationContextService(ConfigurationContextService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
setContentType(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setContext(String) - Method in class org.wso2.carbon.rest.api.APIData
setDependencyManager(DependencyManagementService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
setDependencyManager(DependencyManagementService) - Method in class org.wso2.carbon.rest.api.ConfigHolder
setFaultSequenceKey(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setFaultSeqXml(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setFileName(String) - Method in class org.wso2.carbon.rest.api.APIData
setGovernanceRegistry(UserRegistry) - Method in class org.wso2.carbon.rest.api.ConfigHolder
setHost(String) - Method in class org.wso2.carbon.rest.api.APIData
setInSequenceKey(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setInSeqXml(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setIsEdited(boolean) - Method in class org.wso2.carbon.rest.api.APIData
  Set the edit state of the endpoint as a metadata
setMethods(String[]) - Method in class org.wso2.carbon.rest.api.ResourceData
setName(String) - Method in class org.wso2.carbon.rest.api.APIData
setOutSequenceKey(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setOutSeqXml(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setPort(int) - Method in class org.wso2.carbon.rest.api.APIData
setProtocol(int) - Method in class org.wso2.carbon.rest.api.ResourceData
setRegistryService(RegistryService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
setResources(ResourceData[]) - Method in class org.wso2.carbon.rest.api.APIData
setStatisticsEnable(boolean) - Method in class org.wso2.carbon.rest.api.APIData
setSwaggerDefKey(String) - Method in class org.wso2.carbon.rest.api.APIData
  Function to set Swagger definition path
setSynapseConfiguration(SynapseConfiguration) - Method in class org.wso2.carbon.rest.api.ConfigHolder
setSynapseConfigurationService(SynapseConfigurationService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
setSynapseEnvironmentService(SynapseEnvironmentService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
  Here we receive an event about the creation of a SynapseEnvironment.
setSynapseRegistrationsService(SynapseRegistrationsService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
setTracingEnable(boolean) - Method in class org.wso2.carbon.rest.api.APIData
setUriTemplate(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setUrlMapping(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setUserAgent(String) - Method in class org.wso2.carbon.rest.api.ResourceData
setVersion(String) - Method in class org.wso2.carbon.rest.api.APIData
  Set the given version as the API version
setVersionType(String) - Method in class org.wso2.carbon.rest.api.APIData
  Set the given version type for the API
SYNAPSE_CONFIGURATION - Static variable in class org.wso2.carbon.rest.api.service.RestApiAdmin

## U

UnauthorizedAccessException - Exception in org.wso2.carbon.rest.api
  This class represents an exception, which is intended to be thrown when some client code accesses a portion of business logic, i.e method or a block of code, that the it is not authorized or privileged to access.
UnauthorizedAccessException(String) - Constructor for exception org.wso2.carbon.rest.api.UnauthorizedAccessException
UnauthorizedAccessException(String, Throwable) - Constructor for exception org.wso2.carbon.rest.api.UnauthorizedAccessException
UnauthorizedAccessException(Throwable) - Constructor for exception org.wso2.carbon.rest.api.UnauthorizedAccessException
undeploySynapseArtifact(String) - Method in class org.wso2.carbon.rest.api.ApiDeployer
unsetConfigurationContextService(ConfigurationContextService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
unsetDependencyManager(DependencyManagementService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
unsetRegistryService(RegistryService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
unsetSynapseConfigurationService(SynapseConfigurationService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
unsetSynapseEnvironmentService(SynapseEnvironmentService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
  Here we receive an event about Destroying a SynapseEnvironment.
unsetSynapseRegistrationsService(SynapseRegistrationsService) - Method in class org.wso2.carbon.rest.api.APIServiceComponent
updateApi(String, APIData) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
updateApiForTenant(String, String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Set the tenant domain when a publisher updates his API in MT mode.
updateApiForTenant(String, String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Set the tenant domain when a publisher updates his API in MT mode.
updateApiFromString(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
updateApiFromString(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdminService
  Updates a given API configuration passed in as a string.
updateNameInSwagger(String, String) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Update the title of a given swagger document.
updateSwaggerDocument(String, String, int) - Method in class org.wso2.carbon.rest.api.service.RestApiAdmin
  Create a registry resource for the swagger document and update the registry resource with the default swagger
updateSynapseArtifact(OMElement, String, String, Properties) - Method in class org.wso2.carbon.rest.api.ApiDeployer

A C D E G I O P R S U
All Classes All Packages