Package | Description |
---|---|
org.wso2.carbon.connector.core | |
org.wso2.carbon.connector.core.connection | |
org.wso2.carbon.connector.core.pool | |
org.wso2.carbon.connector.core.util |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractConnector.connect(org.apache.synapse.MessageContext messageContext) |
void |
GenerateAccessToken.connect(org.apache.synapse.MessageContext messageContext) |
void |
Connector.connect(org.apache.synapse.MessageContext messageContext)
implements the connection logic to external API or custom service pattern
|
void |
RefreshAccessTokenWithExpiry.connect(org.apache.synapse.MessageContext messageContext) |
void |
RefreshAccessToken.connect(org.apache.synapse.MessageContext messageContext) |
protected void |
GenerateAccessToken.extractAndSetPropertyAndRegistryResource(org.apache.synapse.MessageContext messageContext,
String jsonResponse,
org.apache.synapse.registry.Registry registry,
String accessTokenRegistryPath) |
protected void |
RefreshAccessToken.extractAndSetPropertyAndRegistryResource(org.apache.synapse.MessageContext messageContext,
String jsonResponse,
org.apache.synapse.registry.Registry registry,
String accessTokenRegistryPath) |
protected void |
RefreshAccessToken.handleRefresh(org.apache.synapse.MessageContext messageContext,
org.apache.synapse.registry.Registry registry,
String accessTokenRegistryPath) |
protected void |
GenerateAccessToken.handleTokenGeneration(org.apache.synapse.MessageContext messageContext,
org.apache.synapse.registry.Registry registry,
String accessTokenRegistryPath) |
Modifier and Type | Method and Description |
---|---|
void |
Connection.close()
Close the connection and cleanup resources
|
void |
Connection.connect(ConnectionConfig config)
Make the connection
|
Connection |
ConnectionHandler.getConnection(String connector,
String connectionName)
Retrieve connection by connector name and connection name
|
Modifier and Type | Method and Description |
---|---|
Object |
ConnectionPool.borrowObject() |
void |
ConnectionPool.close() |
Modifier and Type | Method and Description |
---|---|
static String |
ConnectorUtils.sendPost(String postData,
Charset charset,
org.apache.synapse.MessageContext messageContext) |
Copyright © 2022 WSO2. All rights reserved.