Skip navigation links
A B C E G H L M O P R S 

A

AbstractConnector - Class in org.wso2.carbon.connector.core
 
AbstractConnector() - Constructor for class org.wso2.carbon.connector.core.AbstractConnector
 

B

borrowObject() - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
 

C

checkIfConnectionExists(String, String) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
Check if a connection exists for the connector by the same connection name
close() - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
 
Configuration - Class in org.wso2.carbon.connector.core.pool
Holds the connection pool configurations
Configuration() - Constructor for class org.wso2.carbon.connector.core.pool.Configuration
 
connect(MessageContext) - Method in class org.wso2.carbon.connector.core.AbstractConnector
 
connect(MessageContext) - Method in interface org.wso2.carbon.connector.core.Connector
implements the connection logic to external API or custom service pattern
connect(MessageContext) - Method in class org.wso2.carbon.connector.core.RefreshAccessToken
 
connect(MessageContext) - Method in class org.wso2.carbon.connector.core.RefreshAccessTokenWithExpiry
 
ConnectException - Exception in org.wso2.carbon.connector.core
 
ConnectException(Throwable) - Constructor for exception org.wso2.carbon.connector.core.ConnectException
 
ConnectException(String) - Constructor for exception org.wso2.carbon.connector.core.ConnectException
 
ConnectException(Throwable, String) - Constructor for exception org.wso2.carbon.connector.core.ConnectException
 
Connection - Interface in org.wso2.carbon.connector.core.connection
Represents a base connection that other connections should implement
ConnectionFactory - Interface in org.wso2.carbon.connector.core.pool
This class wraps the PoolableObjectFactory Defines how the connection objects are created, validated and destroyed
ConnectionHandler - Class in org.wso2.carbon.connector.core.connection
Handles the connections
ConnectionPool - Class in org.wso2.carbon.connector.core.pool
Represents a connection pool
ConnectionPool(ConnectionFactory, Configuration) - Constructor for class org.wso2.carbon.connector.core.pool.ConnectionPool
 
Connector - Interface in org.wso2.carbon.connector.core
 
ConnectorUtils - Class in org.wso2.carbon.connector.core.util
 
ConnectorUtils() - Constructor for class org.wso2.carbon.connector.core.util.ConnectorUtils
 
Constants - Class in org.wso2.carbon.connector.core.util
Contains constant values
Constants() - Constructor for class org.wso2.carbon.connector.core.util.Constants
 
ContentBuilderException - Exception in org.wso2.carbon.connector.core.exception
Exception thrown when an error occurs during building content for further mediation
ContentBuilderException(String, Throwable) - Constructor for exception org.wso2.carbon.connector.core.exception.ContentBuilderException
 
createConnection(String, String, ConnectionFactory, Configuration) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
Creates a new connection pool and stores the connection
createConnection(String, String, Connection) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
Stores a new single connection

E

EVICTION_CHECK_INTERVAL - Static variable in class org.wso2.carbon.connector.core.util.Constants
 
EXHAUSTED_ACTION - Static variable in class org.wso2.carbon.connector.core.util.Constants
 
extractAndSetPropertyAndRegistryResource(MessageContext, CloseableHttpResponse, Registry, String) - Method in class org.wso2.carbon.connector.core.RefreshAccessToken
 

G

getConnection(String, String) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
Retrieve connection by connector name and connection name
getConnectionHandler() - Static method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
Gets the Connection Handler instance
getEvictionCheckInterval() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getExhaustedAction() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getMaxActiveConnections() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getMaxIdleConnections() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getMaxWaitTime() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getMinEvictionTime() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getMinIdleConnections() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getNumTestsPerEvictionRun() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getParameter(MessageContext, String) - Method in class org.wso2.carbon.connector.core.AbstractConnector
 
getPoolConfiguration(MessageContext) - Static method in class org.wso2.carbon.connector.core.util.ConnectorUtils
Get pool configuration from template parameters
getRefreshUrl(MessageContext) - Method in class org.wso2.carbon.connector.core.RefreshAccessToken
 
getSoftMinEvictableIdleTimeMillis() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getTestOnBorrow() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getTestOnReturn() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
getTestWhileIdle() - Method in class org.wso2.carbon.connector.core.pool.Configuration
 

H

handleRefresh(MessageContext, Registry, String) - Method in class org.wso2.carbon.connector.core.RefreshAccessToken
 
handleSpecialProperties(String, MessageContext) - Static method in class org.wso2.carbon.connector.core.util.PayloadUtils
Changes the content type and handles other headers

L

lookupTemplateParamater(MessageContext, String) - Static method in class org.wso2.carbon.connector.core.util.ConnectorUtils
 
lookupTemplateParamater(MessageContext, int) - Static method in class org.wso2.carbon.connector.core.util.ConnectorUtils
 

M

MAX_ACTIVE_CONNECTIONS - Static variable in class org.wso2.carbon.connector.core.util.Constants
 
MAX_EVICTION_TIME - Static variable in class org.wso2.carbon.connector.core.util.Constants
 
MAX_IDLE_CONNECTIONS - Static variable in class org.wso2.carbon.connector.core.util.Constants
 
MAX_WAIT_TIME - Static variable in class org.wso2.carbon.connector.core.util.Constants
 
mediate(MessageContext) - Method in class org.wso2.carbon.connector.core.AbstractConnector
 

O

org.wso2.carbon.connector.core - package org.wso2.carbon.connector.core
 
org.wso2.carbon.connector.core.connection - package org.wso2.carbon.connector.core.connection
 
org.wso2.carbon.connector.core.exception - package org.wso2.carbon.connector.core.exception
 
org.wso2.carbon.connector.core.pool - package org.wso2.carbon.connector.core.pool
 
org.wso2.carbon.connector.core.util - package org.wso2.carbon.connector.core.util
 

P

PayloadUtils - Class in org.wso2.carbon.connector.core.util
Utils for setting content as the message payload in the message context
preparePayload(MessageContext, String) - Static method in class org.wso2.carbon.connector.core.util.PayloadUtils
Converts the XML String to XML Element and sets in message context
PROPERTY_PREFIX - Static variable in class org.wso2.carbon.connector.core.RefreshAccessToken
 

R

RefreshAccessToken - Class in org.wso2.carbon.connector.core
This class can be used by connectors to refresh OAuth 2.0 access tokens by setting the following mandatory properties in message context: uri.var.hostName, uri.var.refreshToken.
RefreshAccessToken() - Constructor for class org.wso2.carbon.connector.core.RefreshAccessToken
 
RefreshAccessTokenWithExpiry - Class in org.wso2.carbon.connector.core
This class can be used by connectors to refresh OAuth 2.0 access tokens by setting the following mandatory properties in message context: uri.var.hostName, uri.var.refreshToken.
RefreshAccessTokenWithExpiry() - Constructor for class org.wso2.carbon.connector.core.RefreshAccessTokenWithExpiry
 
returnConnection(String, String, Connection) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
Return borrowed connection
returnObject(Object) - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
 
reuseSavedAccessToken(MessageContext, Registry, String) - Method in class org.wso2.carbon.connector.core.RefreshAccessToken
 

S

setContent(MessageContext, InputStream, String) - Static method in class org.wso2.carbon.connector.core.util.PayloadUtils
Builds content according to the content type and set in the message body
setEvictionCheckInterval(Long) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setExhaustedAction(String) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setMaxActiveConnections(Integer) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setMaxIdleConnections(Integer) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setMaxWaitTime(Long) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setMinEvictionTime(Long) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setMinIdleConnections(Integer) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setNumTestsPerEvictionRun(Integer) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setPayloadInEnvelope(MessageContext, OMElement) - Static method in class org.wso2.carbon.connector.core.util.PayloadUtils
Sets the OMElement in the message context
setSoftMinEvictableIdleTimeMillis(Long) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setTestOnBorrow(Boolean) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setTestOnReturn(Boolean) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
setTestWhileIdle(Boolean) - Method in class org.wso2.carbon.connector.core.pool.Configuration
 
shutdownConnections() - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
Shutdown all the connection pools
shutdownConnections(String) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
Shutdown connection pools for a specified connector
A B C E G H L M O P R S 
Skip navigation links

Copyright © 2020 WSO2. All rights reserved.