A B C E G H I L M O P R S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractConnector - Class in org.wso2.carbon.connector.core
- AbstractConnector() - Constructor for class org.wso2.carbon.connector.core.AbstractConnector
- ACCEPT_ENCODING - Static variable in class org.wso2.carbon.connector.core.GenerateAccessToken
- ACCEPT_ENCODING - Static variable in class org.wso2.carbon.connector.core.RefreshAccessToken
- addParameter(String, Object) - Method in class org.wso2.carbon.connector.core.connection.ConnectionConfig
B
- borrowObject() - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
C
- CACHE_CONTROL - Static variable in class org.wso2.carbon.connector.core.GenerateAccessToken
- CACHE_CONTROL - Static variable in class org.wso2.carbon.connector.core.RefreshAccessToken
- 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 interface org.wso2.carbon.connector.core.connection.Connection
-
Close the connection and cleanup resources
- 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.GenerateAccessToken
- connect(MessageContext) - Method in class org.wso2.carbon.connector.core.RefreshAccessToken
- connect(MessageContext) - Method in class org.wso2.carbon.connector.core.RefreshAccessTokenWithExpiry
- connect(ConnectionConfig) - Method in interface org.wso2.carbon.connector.core.connection.Connection
-
Make the connection
- ConnectException - Exception in org.wso2.carbon.connector.core
- ConnectException(String) - Constructor for exception org.wso2.carbon.connector.core.ConnectException
- ConnectException(Throwable) - 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
- ConnectionConfig - Class in org.wso2.carbon.connector.core.connection
-
Connection Config
- ConnectionConfig() - Constructor for class org.wso2.carbon.connector.core.connection.ConnectionConfig
- 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, Connection) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
-
Stores a new single connection
- createConnection(String, String, ConnectionFactory, Configuration) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
-
Creates a new connection pool and stores the 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, String, Registry, String) - Method in class org.wso2.carbon.connector.core.GenerateAccessToken
- extractAndSetPropertyAndRegistryResource(MessageContext, String, Registry, String) - Method in class org.wso2.carbon.connector.core.RefreshAccessToken
G
- GenerateAccessToken - Class in org.wso2.carbon.connector.core
-
This class can be used by connectors to generate OAuth 2.0 access tokens by setting the following mandatory property in message context: uri.var.hostName.
- GenerateAccessToken() - Constructor for class org.wso2.carbon.connector.core.GenerateAccessToken
- 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
- getPoolConnectionAgedTimeout() - Method in class org.wso2.carbon.connector.core.pool.Configuration
- getPoolConnectionAgedTimeout() - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
- getPostData(MessageContext) - Method in class org.wso2.carbon.connector.core.GenerateAccessToken
- getPostData(MessageContext) - Method in class org.wso2.carbon.connector.core.RefreshAccessToken
- getSoftMinEvictableIdleTimeMillis() - Method in class org.wso2.carbon.connector.core.pool.Configuration
- getStatusOfConnection(String, String) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
-
Retrieves whether the connection pool or not
- getStrat() - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
- 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
- handleTokenGeneration(MessageContext, Registry, String) - Method in class org.wso2.carbon.connector.core.GenerateAccessToken
I
- isAgedTimeoutEnabled() - Method in class org.wso2.carbon.connector.core.pool.Configuration
- isAgedTimeoutEnabled() - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
- isPoolExpired(Instant) - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
L
- lookupParameter(String) - Method in class org.wso2.carbon.connector.core.connection.ConnectionConfig
- lookupTemplateParamater(MessageContext, int) - Static method in class org.wso2.carbon.connector.core.util.ConnectorUtils
- lookupTemplateParamater(MessageContext, String) - 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
- PRAGMA - Static variable in class org.wso2.carbon.connector.core.GenerateAccessToken
- PRAGMA - Static variable in class org.wso2.carbon.connector.core.RefreshAccessToken
- 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.GenerateAccessToken
- 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
- removeParameter(String) - Method in class org.wso2.carbon.connector.core.connection.ConnectionConfig
- 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
- sendPost(String, Charset, MessageContext) - Static method in class org.wso2.carbon.connector.core.util.ConnectorUtils
- setAgedTimeoutEnabled(boolean) - Method in class org.wso2.carbon.connector.core.pool.Configuration
- setAgedTimeoutEnabled(boolean) - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
- 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
- setPoolConnectionAgedTimeout(long) - Method in class org.wso2.carbon.connector.core.pool.Configuration
- setPoolConnectionAgedTimeout(long) - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
- setSoftMinEvictableIdleTimeMillis(Long) - Method in class org.wso2.carbon.connector.core.pool.Configuration
- setStrat(Instant) - Method in class org.wso2.carbon.connector.core.pool.ConnectionPool
- 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 and unregister from the handler.
- shutdownConnections(String) - Method in class org.wso2.carbon.connector.core.connection.ConnectionHandler
-
Shutdown connection pools for a specified connector and unregister from the handler.
All Classes All Packages