Skip navigation links
A B C D E F G H I J L M N O P R S T V W Y 

A

addContent(String, InputStream, MediaType) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext.Builder
Will create a binding for the specified identifier and value with the specified media type.
addContent(String, InputStream, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsBindingContextBuilder
 
addJava(String, Object) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext.Builder
Will create a binding for the specified identifier and value of Java Object type.
addJava(String, Object) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsBindingContextBuilder
 
addJson(String, InputStream, Charset) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext.Builder
Will create a binding for the specified identifier and value of a JSON type with the specified encoding.
addJson(String, CommonsExpressionLanguageValue) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext.Builder
Will create a binding for the specified identifier and value of a JSON type.
addJson(String, InputStream, Charset) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsBindingContextBuilder
 
addJson(String, CommonsExpressionLanguageValue) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsBindingContextBuilder
 
addXml(String, InputStream, Charset) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext.Builder
Will create a binding for the specified identifier and value of an XML type with the specified encoding.
addXml(String, CommonsExpressionLanguageValue) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext.Builder
Will create a binding for the specified identifier and value of an XML type.
addXml(String, InputStream, Charset) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsBindingContextBuilder
 
addXml(String, CommonsExpressionLanguageValue) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsBindingContextBuilder
 
APPLICATION_YAML - Static variable in class com.mulesoft.connectivity.rest.commons.internal.util.MediaTypeUtils
 
ArrayHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
ArrayHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ArrayHandler
 
asByteArray(Charset) - Method in class com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguageValue
 
asInputStream(Charset) - Method in class com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguageValue
 
asString() - Method in class com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguageValue
 
authenticate(HttpRequestBuilder) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
Allows to different type of connections to intercept the request before sending the HTTP call.
authenticate(HttpRequestBuilder) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.bearer.BearerRestConnection
 
authenticate(HttpRequestBuilder) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection
 
authenticate(HttpRequestBuilder, O) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection
Allows to implement a custom signature for OAuth.
AutoCloseableCursorProviderInputStream - Class in com.mulesoft.connectivity.rest.commons.internal.util
An implementation of InputStream that wraps a CursorProvider.
AutoCloseableCursorProviderInputStream(CursorStreamProvider) - Constructor for class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
available() - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 

B

BaseAuthorizationCodeConnectionProvider<C extends OAuthRestConnection> - Class in com.mulesoft.connectivity.rest.commons.api.connection.oauth
Base class for OAuthRestConnections that authenticate using OAuth with the Authorization Code Grant Type.
BaseAuthorizationCodeConnectionProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseAuthorizationCodeConnectionProvider
 
BaseBasicAuthenticationConnectionProvider<C extends DefaultRestConnection> - Class in com.mulesoft.connectivity.rest.commons.api.connection.basic
Base class for RestConnections that authenticate using Basic mechanism.
BaseBasicAuthenticationConnectionProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.basic.BaseBasicAuthenticationConnectionProvider
 
BaseBearerAuthenticationConnectionProvider<C extends BearerRestConnection> - Class in com.mulesoft.connectivity.rest.commons.api.connection.bearer
Base class for RestConnections that authenticate using Bearer mechanism.
BaseBearerAuthenticationConnectionProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.bearer.BaseBearerAuthenticationConnectionProvider
 
BaseClientCredentialsConnectionProvider<C extends OAuthRestConnection> - Class in com.mulesoft.connectivity.rest.commons.api.connection.oauth
Base class for OAuthRestConnections that authenticate using OAuth with the Authorization Client Credentials.
BaseClientCredentialsConnectionProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseClientCredentialsConnectionProvider
 
BaseDataWeaveBasedRestPollingSourceStrategy<S extends Serializable,A> - Class in com.mulesoft.connectivity.rest.commons.api.source
 
BaseDataWeaveBasedRestPollingSourceStrategy(String, String, String, String, ExpressionLanguage, Class<S>) - Constructor for class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 
BaseRestConnection<E extends org.mule.runtime.extension.api.exception.ModuleException,T extends org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> - Class in com.mulesoft.connectivity.rest.commons.api.connection
Base class for implementing RestConnection which provides an implementation based on HttpClient and supports for error handling which allow to be customized by sub classing with template methods.
BaseRestConnection(HttpClient, HttpRequestOptions, String, ExpressionLanguage) - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
BaseRestOperation - Class in com.mulesoft.connectivity.rest.commons.api.operation
 
BaseRestOperation() - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
 
BaseRestSampleDataProvider<T,U> - Class in com.mulesoft.connectivity.rest.commons.api.sampledata
Base class for SampleDataProvider that injects the Connection, Configuration and ExpressionLanguage that can be used to get the sample.
BaseRestSampleDataProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.sampledata.BaseRestSampleDataProvider
 
BaseRestValueProvider - Class in com.mulesoft.connectivity.rest.commons.api.valueprovider
Base class for ValueProvider that injects the Connection, Configuration and ExpressionLanguage that can be used to resolve the values.
BaseRestValueProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.valueprovider.BaseRestValueProvider
 
BasicAuthenticationConnectionProvider - Class in com.mulesoft.connectivity.rest.commons.api.connection.basic
Base abstract class that already defines the Parameter for supporting a basic authentication connection provider.
BasicAuthenticationConnectionProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.basic.BasicAuthenticationConnectionProvider
 
BearerAuthenticationConnectionProvider - Class in com.mulesoft.connectivity.rest.commons.api.connection.bearer
Base abstract class that already defines the Parameter for supporting a bearer authentication connection provider.
BearerAuthenticationConnectionProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.bearer.BearerAuthenticationConnectionProvider
 
BearerRestConnection - Class in com.mulesoft.connectivity.rest.commons.api.connection.bearer
Specialization of DefaultRestConnection for resources protected with Bearer, regardless of the grant type.
BearerRestConnection(HttpClient, HttpRequestOptions, String, ExpressionLanguage, String) - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.bearer.BearerRestConnection
 
beforeRequest(HttpRequest) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
bindingContext() - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext
 
BooleanHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
BooleanHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.BooleanHandler
 
build() - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext.Builder
 
build() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult.Builder
 
build() - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsBindingContextBuilder
 
buildAuthentication() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.basic.BaseBasicAuthenticationConnectionProvider
 
buildAuthentication() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
builder() - Static method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsBindingContext
Provides a builder to create CommonsBindingContext objects.
builder() - Static method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult
 
Builder() - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult.Builder
 
buildLinkHeaderMap(String) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.HypermediaPagingStrategy
Parse Link header into a Map of links by its relation
buildLinkHeaderMap(String) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.LinkHeaderUtils
Parse Link header into a Map of links by its relation

C

charset - Variable in class com.mulesoft.connectivity.rest.commons.api.config.RestConfiguration
 
close(RestConnection) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider
 
close() - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
closeStream(Object) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.RestUtils
Closes the given stream which can be either a CursorProvider or an InputStream.
com.mulesoft.connectivity.rest.commons.api.config - package com.mulesoft.connectivity.rest.commons.api.config
 
com.mulesoft.connectivity.rest.commons.api.connection - package com.mulesoft.connectivity.rest.commons.api.connection
 
com.mulesoft.connectivity.rest.commons.api.connection.basic - package com.mulesoft.connectivity.rest.commons.api.connection.basic
 
com.mulesoft.connectivity.rest.commons.api.connection.bearer - package com.mulesoft.connectivity.rest.commons.api.connection.bearer
 
com.mulesoft.connectivity.rest.commons.api.connection.oauth - package com.mulesoft.connectivity.rest.commons.api.connection.oauth
 
com.mulesoft.connectivity.rest.commons.api.dw - package com.mulesoft.connectivity.rest.commons.api.dw
 
com.mulesoft.connectivity.rest.commons.api.error - package com.mulesoft.connectivity.rest.commons.api.error
 
com.mulesoft.connectivity.rest.commons.api.metadata - package com.mulesoft.connectivity.rest.commons.api.metadata
 
com.mulesoft.connectivity.rest.commons.api.metadata.input - package com.mulesoft.connectivity.rest.commons.api.metadata.input
 
com.mulesoft.connectivity.rest.commons.api.metadata.output - package com.mulesoft.connectivity.rest.commons.api.metadata.output
 
com.mulesoft.connectivity.rest.commons.api.operation - package com.mulesoft.connectivity.rest.commons.api.operation
 
com.mulesoft.connectivity.rest.commons.api.operation.paging - package com.mulesoft.connectivity.rest.commons.api.operation.paging
 
com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy - package com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy
 
com.mulesoft.connectivity.rest.commons.api.sampledata - package com.mulesoft.connectivity.rest.commons.api.sampledata
 
com.mulesoft.connectivity.rest.commons.api.source - package com.mulesoft.connectivity.rest.commons.api.source
 
com.mulesoft.connectivity.rest.commons.api.valueprovider - package com.mulesoft.connectivity.rest.commons.api.valueprovider
 
com.mulesoft.connectivity.rest.commons.internal - package com.mulesoft.connectivity.rest.commons.internal
 
com.mulesoft.connectivity.rest.commons.internal.dw - package com.mulesoft.connectivity.rest.commons.internal.dw
 
com.mulesoft.connectivity.rest.commons.internal.http - package com.mulesoft.connectivity.rest.commons.internal.http
 
com.mulesoft.connectivity.rest.commons.internal.metadata - package com.mulesoft.connectivity.rest.commons.internal.metadata
 
com.mulesoft.connectivity.rest.commons.internal.metadatamodel - package com.mulesoft.connectivity.rest.commons.internal.metadatamodel
 
com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler - package com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
com.mulesoft.connectivity.rest.commons.internal.util - package com.mulesoft.connectivity.rest.commons.internal.util
 
CombinedHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
CombinedHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.CombinedHandler
 
CommonsBindingContext - Interface in com.mulesoft.connectivity.rest.commons.api.dw
Wrapping class of a BindingContext in which it's creation simplifies the mechanism to add bindings (removing the usages of typed values).
CommonsBindingContext.Builder - Interface in com.mulesoft.connectivity.rest.commons.api.dw
 
CommonsBindingContextBuilder - Class in com.mulesoft.connectivity.rest.commons.internal.dw
 
CommonsBindingContextBuilder() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsBindingContextBuilder
 
CommonsExpressionLanguage - Interface in com.mulesoft.connectivity.rest.commons.api.dw
Evaluates an expression considering a set of given bindings and a set of global ones in a simplified way, for a broader usage we recommend using ExpressionLanguage
CommonsExpressionLanguageImpl - Class in com.mulesoft.connectivity.rest.commons.internal.dw
 
CommonsExpressionLanguageImpl(ExpressionLanguage) - Constructor for class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsExpressionLanguageImpl
 
CommonsExpressionLanguageValue - Class in com.mulesoft.connectivity.rest.commons.api.dw
Wrapping class of the result of an expression evaluation using CommonsExpressionLanguage.
CommonsExpressionLanguageValue(String) - Constructor for class com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguageValue
 
config - Variable in class com.mulesoft.connectivity.rest.commons.api.sampledata.BaseRestSampleDataProvider
 
config - Variable in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
config - Variable in class com.mulesoft.connectivity.rest.commons.api.valueprovider.BaseRestValueProvider
 
configureClient(HttpClientConfiguration.Builder) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
Template method that will be invoked just before the httpConfiguration is turned into an actual HttpClient.
configureRequest(String, HttpRequestBuilder, RestPagingProvider.PagingContext) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.HypermediaPagingStrategy
 
configureRequest(String, HttpRequestBuilder, RestPagingProvider.PagingContext) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.MarkerPagingStrategy
 
configureRequest(String, HttpRequestBuilder, RestPagingProvider.PagingContext) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.OffsetPagingStrategy
 
configureRequest(String, HttpRequestBuilder, RestPagingProvider.PagingContext) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.PageNumberPagingStrategy
 
configureRequest(String, HttpRequestBuilder, RestPagingProvider.PagingContext) - Method in interface com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.PagingStrategy
Depending on the paging strategy, different parameters or headers may need to be passed.
connect() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
connection - Variable in class com.mulesoft.connectivity.rest.commons.api.sampledata.BaseRestSampleDataProvider
 
connection - Variable in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
connection - Variable in class com.mulesoft.connectivity.rest.commons.api.valueprovider.BaseRestValueProvider
 
connectionProvider - Variable in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
ConnectivityJsonTypeLoader - Class in com.mulesoft.connectivity.rest.commons.internal.metadata
 
ConnectivityJsonTypeLoader(ClassLoader, String) - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadata.ConnectivityJsonTypeLoader
 
ConnectivityTypeLoader - Interface in com.mulesoft.connectivity.rest.commons.internal.metadata
 
consumeStringAndClose(Object, MediaType, Charset) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.RestUtils
Consumes the contents of the given stream as a String and closes it.
copy() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult
 
createArrayHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createBooleanHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createCombinedHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createConnection(HttpClient, HttpRequestOptions, ExpressionLanguage) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.basic.BaseBasicAuthenticationConnectionProvider
 
createConnection(HttpClient, HttpRequestOptions, ExpressionLanguage) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.bearer.BaseBearerAuthenticationConnectionProvider
 
createConnection(HttpClient, HttpRequestOptions, ExpressionLanguage) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseAuthorizationCodeConnectionProvider
Override this method if a custom condition needs to be implemented to check if refresh token is needed with a custom implementation of OAuthRestConnection.
createConnection(HttpClient, HttpRequestOptions, ExpressionLanguage) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseClientCredentialsConnectionProvider
Override this method if a custom condition needs to be implemented to check if refresh token is needed with a custom implementation of OAuthRestConnection.
createConnection(HttpClient, HttpRequestOptions, ExpressionLanguage) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
Creates a new connection C
createEmptyHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createEnumHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createModuleException(HttpResponse, T, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
Utility method that provides a hook for customizing the E to be thrown when an HttpResponse is marked as failure based on BaseRestConnection.httpResponseToErrorTypeDefinition(HttpResponse, MediaType).
createModuleException(HttpResponse, ErrorTypeDefinition<RestError>, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnection
 
createNullHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createNumberHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createObjectHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createReferenceHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createRestHandlerManager() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestJsonTypeLoader
 
createSchemaHandlers() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
createStringHandler() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
CUSTOM_JSON_PROPERTY_PREFIX - Static variable in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 

D

DataWeaveBasedRestPollingSourceStrategy<S extends Serializable> - Class in com.mulesoft.connectivity.rest.commons.api.source
 
DataWeaveBasedRestPollingSourceStrategy(String, String, String, String, ExpressionLanguage, Class<S>) - Constructor for class com.mulesoft.connectivity.rest.commons.api.source.DataWeaveBasedRestPollingSourceStrategy
 
DataweaveHypermediaPagingStrategy - Class in com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy
An implementation for HypermediaPagingStrategy which uses DataWeave to extract the next URL.
DataweaveHypermediaPagingStrategy(String, ExpressionLanguage) - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.DataweaveHypermediaPagingStrategy
 
DataweaveMarkerPagingStrategy - Class in com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy
An implementation for MarkerPagingStrategy which uses DataWeave to extract the next marker.
DataweaveMarkerPagingStrategy(String, String, ExpressionLanguage) - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.DataweaveMarkerPagingStrategy
 
defaultEncoding - Variable in class com.mulesoft.connectivity.rest.commons.api.config.RestConfiguration
 
DefaultRestConnection - Class in com.mulesoft.connectivity.rest.commons.api.connection
Implementation that handles RESTfull responses and handling errors based on RestError.
DefaultRestConnection(HttpClient, HttpRequestOptions, String, ExpressionLanguage) - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnection
 
disconnect(C) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
doStart() - Method in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
doStop() - Method in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
DWBindingConstants - Class in com.mulesoft.connectivity.rest.commons.internal
Set of constants

E

EmptyHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
EmptyHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.EmptyHandler
 
entityContent(InputStream) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult.Builder
 
EnumHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
EnumHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.EnumHandler
 
evaluate(String, CommonsBindingContext, DataType) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguage
Evaluates an expression according to a given CommonsBindingContext and the global one and a specific data type.
evaluate(String, CommonsBindingContext, DataType) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsExpressionLanguageImpl
 
evaluateAsJavaBoolean(String, CommonsBindingContext) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguage
Evaluates an expression according to a given CommonsBindingContext and the global one.
evaluateAsJavaBoolean(String, CommonsBindingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsExpressionLanguageImpl
 
evaluateAsJavaNumber(String, CommonsBindingContext) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguage
Evaluates an expression according to a given CommonsBindingContext and the global one.
evaluateAsJavaNumber(String, CommonsBindingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsExpressionLanguageImpl
 
evaluateAsJavaString(String, CommonsBindingContext) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguage
Evaluates an expression according to a given CommonsBindingContext and the global one.
evaluateAsJavaString(String, CommonsBindingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsExpressionLanguageImpl
 
evaluateJson(String, CommonsBindingContext) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguage
Evaluates an expression according to a given CommonsBindingContext and the global one.
evaluateJson(String, CommonsBindingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsExpressionLanguageImpl
 
evaluateXml(String, CommonsBindingContext) - Method in interface com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguage
Evaluates an expression according to a given CommonsBindingContext and the global one.
evaluateXml(String, CommonsBindingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.dw.CommonsExpressionLanguageImpl
 
expressionLanguage - Variable in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
expressionLanguage - Variable in class com.mulesoft.connectivity.rest.commons.api.sampledata.BaseRestSampleDataProvider
 
expressionLanguage - Variable in class com.mulesoft.connectivity.rest.commons.api.valueprovider.BaseRestValueProvider
 
ExpressionLanguageMetadataService - Interface in com.mulesoft.connectivity.rest.commons.api.metadata
Simplified version of Mule's ExpressionLanguageMetadataService to allow Metadata type resolvers to infer or resolve types based on already defined metadata type and Data Weave expressions.
extractItems(Optional<S>, TypedValue<String>, int, String, MultiMap<String, String>) - Method in class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 
extractItems(Optional<S>, TypedValue<String>, int, String, MultiMap<String, String>) - Method in interface com.mulesoft.connectivity.rest.commons.api.source.RestPollingSourceStrategy
This method gets the list of items from the SaaS response.
extractNextUrl(TypedValue<String>, MultiMap<String, String>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.DataweaveHypermediaPagingStrategy
 
extractNextUrl(TypedValue<String>, MultiMap<String, String>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.HypermediaPagingStrategy
 
extractPageCount(TypedValue<String>, MultiMap<String, String>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.PageNumberPagingStrategy
 
extractPageItems(TypedValue<String>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingDataWeaveProvider
 
extractPageItems(TypedValue<String>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider
Given the raw content response body this method will extract the payload data as a list of items which represent a page.

F

FileUtils - Class in com.mulesoft.connectivity.rest.commons.internal.util
 

G

generateSchema(JSONObject, URI, Consumer<SchemaLoader.SchemaLoaderBuilder>) - Static method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestSchemaHelper
 
generateSchema(JSONObject, URI) - Static method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestSchemaHelper
 
getBaseUri() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
getBaseUri() - Method in interface com.mulesoft.connectivity.rest.commons.api.connection.RestConnection
 
getBaseUri() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
getBuilder(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ParsingContext
 
getByteLength() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult
 
getCharset() - Method in class com.mulesoft.connectivity.rest.commons.api.config.RestConfiguration
 
getCharset() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult
 
getCommonsExpressionLanguage() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
getCommonsExpressionLanguage() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
Simplified, and limited, version of the runtime's expression language, which heavily relies on CommonsBindingContext.
getDefaultResponseMediaType() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
This method specifies the MediaType that should be assumed the response to have in case the remote service doesn't specify a Content-Type header.
getDefaultResponseMediaType() - Method in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
This method specifies the MediaType that should be assumed the response to have in case the remote service doesn't specify a Content-Type header.
getDependencies(File) - Static method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestSchemaHelper
 
getEntityContent() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult
 
getErrorMessage() - Method in enum com.mulesoft.connectivity.rest.commons.api.error.RestError
 
getErrorTypeDefinitionByStatusCode(int) - Static method in enum com.mulesoft.connectivity.rest.commons.api.error.RestError
Returns the RestError corresponding to a given status code.
getErrorTypes() - Method in class com.mulesoft.connectivity.rest.commons.api.error.RestErrorTypeProvider
 
getExpressionLanguage() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
getExpressionLanguage() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
 
getExpressionLanguage() - Method in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
getFieldDescription(String, Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
getFieldLabel(String, Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
getHeaders() - Method in class com.mulesoft.connectivity.rest.commons.internal.http.HttpResponseAttributes
 
getHttpClient() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
getHttpRequestOptions() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
getHttpResponseAttributes() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult
 
getId() - Method in class com.mulesoft.connectivity.rest.commons.api.sampledata.BaseRestSampleDataProvider
 
getId() - Method in class com.mulesoft.connectivity.rest.commons.api.valueprovider.BaseRestValueProvider
 
getItemAttributes(int, String, MultiMap, TypedValue) - Method in class com.mulesoft.connectivity.rest.commons.api.source.DataWeaveBasedRestPollingSourceStrategy
 
getItemAttributes(int, String, MultiMap<String, String>, TypedValue<String>) - Method in interface com.mulesoft.connectivity.rest.commons.api.source.RestPollingSourceStrategy
This method returns the attributes to be set for the item result attributes.
getItemIdentity(Optional<S>, TypedValue<String>, TypedValue<String>) - Method in class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 
getItemIdentity(Optional<S>, TypedValue<String>, TypedValue<String>) - Method in interface com.mulesoft.connectivity.rest.commons.api.source.RestPollingSourceStrategy
This method gets the item identity from the SaaS response having the full response, the individual item and the last watermark available.
getItemWatermark(Optional<S>, TypedValue<String>, TypedValue<String>) - Method in class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 
getItemWatermark(Optional<S>, TypedValue<String>, TypedValue<String>) - Method in interface com.mulesoft.connectivity.rest.commons.api.source.RestPollingSourceStrategy
This method gets the item watermark from the SaaS response having the full response, the individual item and the last watermark available.
getLastWatermark() - Method in class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 
getLastWatermark() - Method in interface com.mulesoft.connectivity.rest.commons.api.source.RestPollingSourceStrategy
This method gets the latest watermark from the poll context to be used as starting point for new responses.
getMediaType(HttpResponse, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
getMediaType() - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult
 
getNextMarker(TypedValue<String>, MultiMap<String, String>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.DataweaveMarkerPagingStrategy
 
getNextMarker(TypedValue<String>, MultiMap<String, String>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.MarkerPagingStrategy
 
getOAuthState() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseAuthorizationCodeConnectionProvider
 
getOAuthState() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseClientCredentialsConnectionProvider
 
getObjectLabel(ObjectSchema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
getOutputType(MetadataType, String) - Method in interface com.mulesoft.connectivity.rest.commons.api.metadata.ExpressionLanguageMetadataService
Given the MetadataType and a DataWeave expression it will infer the resulting output type.
getOutputType(TypeBindings, String) - Method in interface com.mulesoft.connectivity.rest.commons.api.metadata.ExpressionLanguageMetadataService
Given the TypeBindings and a DataWeave expression it will infer the resulting output type.
getOutputType(MetadataType, String) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadata.WeaveExpressionLanguageMetadataService
 
getOutputType(TypeBindings, String) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadata.WeaveExpressionLanguageMetadataService
 
getPage(C) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider
 
getParent() - Method in enum com.mulesoft.connectivity.rest.commons.api.error.RestError
 
getPassword() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.basic.BaseBasicAuthenticationConnectionProvider
 
getPassword() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.basic.BasicAuthenticationConnectionProvider
 
getReasonPhrase() - Method in class com.mulesoft.connectivity.rest.commons.internal.http.HttpResponseAttributes
 
getRequest(Optional<S>) - Method in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
This method generates the http request to be executed for the polling source at each execution time
getResolverName() - Method in class com.mulesoft.connectivity.rest.commons.api.metadata.input.SchemaInputMetadataResolver
 
getResponseTimeout() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
getRestPollingSourceStrategy() - Method in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
This method specifies the RestPollingSourceStrategy that must be defined as the rest polling source strategy.
getSchemaPath() - Method in class com.mulesoft.connectivity.rest.commons.api.metadata.input.SchemaInputMetadataResolver
Relative path to the schema between the context of the owning connector.
getSchemaPath() - Method in class com.mulesoft.connectivity.rest.commons.api.metadata.output.SchemaOutputMetadataResolver
Relative path to the schema between the context of the owning connector.
getStaticMetadata() - Method in class com.mulesoft.connectivity.rest.commons.api.metadata.input.JsonInputMetadataResolver
 
getStaticMetadata() - Method in class com.mulesoft.connectivity.rest.commons.api.metadata.output.JsonOutputMetadataResolver
 
getStatusCode() - Method in class com.mulesoft.connectivity.rest.commons.internal.http.HttpResponseAttributes
 
getToken() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.bearer.BaseBearerAuthenticationConnectionProvider
Returns the token used to authenticate the requests that will be used to build the corresponding authentication.
getToken() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.bearer.BearerAuthenticationConnectionProvider
 
getTotalResults(RestConnection) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider
 
getUsername() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.basic.BaseBasicAuthenticationConnectionProvider
 
getUsername() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.basic.BasicAuthenticationConnectionProvider
 

H

handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ArrayHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.BooleanHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.CombinedHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.EmptyHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.EnumHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.NullHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.NumberHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ReferenceHandler
 
handle(Schema, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in interface com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.SchemaHandler
 
handle(Schema, BaseTypeBuilder, RestHandlerManager, ParsingContext) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.StringHandler
 
handlers - Variable in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ArrayHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.BooleanHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.CombinedHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.EmptyHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.EnumHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.NullHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.NumberHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ReferenceHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
handles(Schema) - Method in interface com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.SchemaHandler
 
handles(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.StringHandler
 
HEADERS - Static variable in class com.mulesoft.connectivity.rest.commons.internal.DWBindingConstants
 
httpResponseAttributes(HttpResponseAttributes) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult.Builder
 
HttpResponseAttributes - Class in com.mulesoft.connectivity.rest.commons.internal.http
Internal representation of an HTTP response message attributes.
HttpResponseAttributes(int, String, MultiMap<String, String>) - Constructor for class com.mulesoft.connectivity.rest.commons.internal.http.HttpResponseAttributes
 
HttpResponseResult - Class in com.mulesoft.connectivity.rest.commons.api.operation
Represents a successful result of invoking an HttpRequest to the server.
HttpResponseResult() - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult
 
HttpResponseResult.Builder - Class in com.mulesoft.connectivity.rest.commons.api.operation
 
httpResponseToErrorTypeDefinition(HttpResponse, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
Template method that allows usage of custom ErrorTypeDefinition's for those scenarios where SaaS is not Restful complaint or signal success error responses are returned with 20x responses.
httpResponseToErrorTypeDefinition(HttpResponse, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnection
 
httpService - Variable in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
HypermediaPagingStrategy - Class in com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy
Base class of PagingStrategy for APIs which do paging based on a next URL provided in the response of each request.
HypermediaPagingStrategy() - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.HypermediaPagingStrategy
 

I

identityExpression - Variable in class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 
inferFieldDescription(String, Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
inferFieldLabel(String, Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
initialise() - Method in class com.mulesoft.connectivity.rest.commons.api.config.RestConfiguration
 
initialise() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
isAlreadyBuild(Schema) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ParsingContext
 
isFollowsRedirect() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
itemBinding - Variable in class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 
itemsExpression - Variable in class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 

J

JSON - Static variable in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestJsonTypeLoader
 
JsonInputMetadataResolver - Class in com.mulesoft.connectivity.rest.commons.api.metadata.input
 
JsonInputMetadataResolver() - Constructor for class com.mulesoft.connectivity.rest.commons.api.metadata.input.JsonInputMetadataResolver
 
JsonOutputMetadataResolver - Class in com.mulesoft.connectivity.rest.commons.api.metadata.output
 
JsonOutputMetadataResolver() - Constructor for class com.mulesoft.connectivity.rest.commons.api.metadata.output.JsonOutputMetadataResolver
 

L

length(OptionalLong) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult.Builder
 
LINK - Static variable in class com.mulesoft.connectivity.rest.commons.internal.DWBindingConstants
 
LinkHeaderUtils - Class in com.mulesoft.connectivity.rest.commons.internal.util
Utils class for parsing Link header.
LinkHeaderUtils() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.util.LinkHeaderUtils
 
load() - Method in class com.mulesoft.connectivity.rest.commons.internal.metadata.ConnectivityJsonTypeLoader
 
load() - Method in interface com.mulesoft.connectivity.rest.commons.internal.metadata.ConnectivityTypeLoader
 
load(String) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestJsonTypeLoader
 
load(String, String) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestJsonTypeLoader
 

M

mark(int) - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
MarkerPagingStrategy - Class in com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy
Base class of PagingStrategy for APIs which do paging based on a marker provided in the response of each request, acting as a marker or position inside the stream of results.
MarkerPagingStrategy(String) - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.MarkerPagingStrategy
Creates a new instance
markSupported() - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
materializeHttpResponseEntity(HttpEntity) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
Whenever the connection implementation needs to handle signal error responses which are 200 response status code the method BaseRestConnection.httpResponseToErrorTypeDefinition(HttpResponse, MediaType) would be implemented in order to read the entity content response to check for the signal error flag.
materializeHttpResponseEntity(HttpEntity) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnection
 
mediaType(MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.HttpResponseResult.Builder
 
MediaTypeUtils - Class in com.mulesoft.connectivity.rest.commons.internal.util
 
MediaTypeUtils() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.util.MediaTypeUtils
 

N

nonBlank(String) - Static method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
notifyCompletionCallbackError(CompletionCallback<P, A>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
Utility method that provides a Function responsible for handling Throwables and notify the CompletionCallback on non-blocking operations only.
NullHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
NullHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.NullHandler
 
NumberHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
NumberHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.NumberHandler
 

O

OAuthRestConnection<O extends org.mule.runtime.extension.api.connectivity.oauth.OAuthState> - Class in com.mulesoft.connectivity.rest.commons.api.connection.oauth
Specialization of DefaultRestConnection for resources protected with OAuth, regardless of the grant type.
OAuthRestConnection(HttpClient, HttpRequestOptions, String, ExpressionLanguage, O, String) - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection
 
oauthState - Variable in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseAuthorizationCodeConnectionProvider
 
oauthState - Variable in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.BaseClientCredentialsConnectionProvider
 
OffsetPagingStrategy - Class in com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy
Implementation of RestPagingProvider for APIs which do paging based on an offset query param.
OffsetPagingStrategy(String, int) - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.OffsetPagingStrategy
Creates a new instance
onPage(List<TypedValue<String>>, TypedValue<String>, MultiMap<String, String>, RestPagingProvider.PagingContext) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.HypermediaPagingStrategy
 
onPage(List<TypedValue<String>>, TypedValue<String>, MultiMap<String, String>, RestPagingProvider.PagingContext) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.MarkerPagingStrategy
 
onPage(List<TypedValue<String>>, TypedValue<String>, MultiMap<String, String>, RestPagingProvider.PagingContext) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.OffsetPagingStrategy
 
onPage(List<TypedValue<String>>, TypedValue<String>, MultiMap<String, String>, RestPagingProvider.PagingContext) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.PageNumberPagingStrategy
 
onPage(List<TypedValue<String>>, TypedValue<String>, MultiMap<String, String>, RestPagingProvider.PagingContext) - Method in interface com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.PagingStrategy
Invoked each time a page is obtained.
onRejectedItem(Result<InputStream, A>, SourceCallbackContext) - Method in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
optional(Supplier<Optional<T>>, Supplier<Optional<T>>) - Static method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 

P

PageNumberPagingStrategy - Class in com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy
Base class of PagingStrategy for APIs which do paging based on requesting individual pages by number
PageNumberPagingStrategy(String, int) - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy.PageNumberPagingStrategy
Creates a new instance
PagingStrategy - Interface in com.mulesoft.connectivity.rest.commons.api.operation.paging.strategy
Strategy to allow implementing different types of pagination.
ParsingContext - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
ParsingContext() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ParsingContext
 
PAYLOAD - Static variable in class com.mulesoft.connectivity.rest.commons.internal.DWBindingConstants
 
poll(PollContext<InputStream, A>) - Method in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
postProcess(TypedValue<String>) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider
Allows post process the server response before the payload is extracted.
processSchemaProperty(RestHandlerManager, ParsingContext, List<String>, Map.Entry<String, Schema>, ObjectFieldTypeBuilder) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
PROPERTY_ORDER - Static variable in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 

R

read(byte[]) - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
read(byte[], int, int) - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
read() - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
readFile(ClassLoader, String) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.FileUtils
 
ReferenceHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
ReferenceHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ReferenceHandler
 
registerBuilder(Schema, TypeBuilder<?>) - Method in class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.ParsingContext
 
reset() - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
resolveDefaultResponseMediaType(RestConfiguration) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
Resolves the default MediaType to be used when processing the response if remote server doesn't specify a Content-Type header.
resolveDefaultResponseMediaType(Charset, MediaType) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.MediaTypeUtils
Resolves the default MediaType to be used when processing the response.
resolveDefaultResponseMediaType(RestConfiguration, MediaType) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.MediaTypeUtils
Resolves the default MediaType to be used when processing the response.
RestConfiguration - Class in com.mulesoft.connectivity.rest.commons.api.config
Base class for configuration objects.
RestConfiguration() - Constructor for class com.mulesoft.connectivity.rest.commons.api.config.RestConfiguration
 
RestConnection - Interface in com.mulesoft.connectivity.rest.commons.api.connection
A connection is responsible for executing the HttpRequest to the server and generate the for the response with the body and HTTP protocol attributes.
RestConnectionProvider<C extends RestConnection> - Class in com.mulesoft.connectivity.rest.commons.api.connection
 
RestConnectionProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
 
RestError - Enum in com.mulesoft.connectivity.rest.commons.api.error
Represents an error that can happen in an HTTP operation.
RestErrorTypeProvider - Class in com.mulesoft.connectivity.rest.commons.api.error
Errors that can be thrown in a REST APIs.
RestErrorTypeProvider() - Constructor for class com.mulesoft.connectivity.rest.commons.api.error.RestErrorTypeProvider
 
RestHandlerManager - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
This class is a copy of org.mule.metadata.json.api.handler.HandlerManager where the implementation of ObjectHandler is overridden with a custom one.
RestHandlerManager() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestHandlerManager
 
RestJsonTypeLoader - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel
This class is a copy of org.mule.metadata.json.api.JsonTypeLoader created because of the lack of an extension mechanism.
RestJsonTypeLoader(File) - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestJsonTypeLoader
 
RestJsonTypeLoader(String) - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestJsonTypeLoader
 
RestJsonTypeLoader(String, URI) - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestJsonTypeLoader
 
RestObjectHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
This class is a copy of org.mule.metadata.json.api.handler.ObjectHandler that supports the custom logic required to propagate the composer metadata fields from the Json Schema to the extension model.
RestObjectHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.RestObjectHandler
 
RestPagingDataWeaveProvider<C extends RestConnection> - Class in com.mulesoft.connectivity.rest.commons.api.operation.paging
An implementation for RestPagingProvider which uses DataWeave to extract the payload and create the list of pages.
RestPagingDataWeaveProvider(Function<C, HttpRequestBuilder>, MediaType, PagingStrategy, ExpressionLanguage, String) - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingDataWeaveProvider
Creates a new instance
RestPagingProvider<C extends RestConnection> - Class in com.mulesoft.connectivity.rest.commons.api.operation.paging
Provides the base functionality for paginating the results of a REST endpoint.
RestPagingProvider(Function<C, HttpRequestBuilder>, MediaType, PagingStrategy) - Constructor for class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider
Creates a new instance
RestPagingProvider.PagingContext - Interface in com.mulesoft.connectivity.rest.commons.api.operation.paging
Context related to the pagination.
RestPollingSource<C extends RestConnection,S extends Serializable,A> - Class in com.mulesoft.connectivity.rest.commons.api.source
Base class for implementing a PollingSource.
RestPollingSource() - Constructor for class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
restPollingSourceStrategy - Variable in class com.mulesoft.connectivity.rest.commons.api.source.RestPollingSource
 
RestPollingSourceStrategy<S extends Serializable,A> - Interface in com.mulesoft.connectivity.rest.commons.api.source
This interface defines the necessary methods to extract the information needed to use a RestPollingSource
RestSchemaHelper - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel
 
RestSchemaHelper() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.RestSchemaHelper
 
RestUtils - Class in com.mulesoft.connectivity.rest.commons.internal.util
Utility methods

S

SchemaHandler - Interface in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
SchemaInputMetadataResolver - Class in com.mulesoft.connectivity.rest.commons.api.metadata.input
Base class for InputStaticTypeResolver implementations that dynamically load a schema
SchemaInputMetadataResolver() - Constructor for class com.mulesoft.connectivity.rest.commons.api.metadata.input.SchemaInputMetadataResolver
 
SchemaOutputMetadataResolver - Class in com.mulesoft.connectivity.rest.commons.api.metadata.output
Base class for OutputStaticTypeResolver implementations that dynamically load a schema
SchemaOutputMetadataResolver() - Constructor for class com.mulesoft.connectivity.rest.commons.api.metadata.output.SchemaOutputMetadataResolver
 
send(HttpRequest, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
send(HttpRequest, MediaType) - Method in interface com.mulesoft.connectivity.rest.commons.api.connection.RestConnection
Synchronous invocation of the HttpRequest against the connection.
send(C, HttpRequestBuilder, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider
Does the HTTP call with the given connection for the requestBuilder.
sendAsync(HttpRequest, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
sendAsync(HttpRequest, MediaType) - Method in interface com.mulesoft.connectivity.rest.commons.api.connection.RestConnection
Asynchronous invocation of the HttpRequest against this connection.
setExpressionLanguage(ExpressionLanguage) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
 
skip(long) - Method in class com.mulesoft.connectivity.rest.commons.internal.util.AutoCloseableCursorProviderInputStream
 
SourceStartingException - Exception in com.mulesoft.connectivity.rest.commons.api.error
 
SourceStartingException(String) - Constructor for exception com.mulesoft.connectivity.rest.commons.api.error.SourceStartingException
 
split(ExpressionLanguage, TypedValue<?>) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.SplitPayloadUtils
Splits a payload handling its media type and the needed expressions automatically.
SplitPayloadUtils - Class in com.mulesoft.connectivity.rest.commons.internal.util
Utils class for splitting payloads.
SplitPayloadUtils() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.util.SplitPayloadUtils
 
start() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
Starts the resources related to this connection provider.
stop() - Method in class com.mulesoft.connectivity.rest.commons.api.connection.RestConnectionProvider
Stops the started resources related to this connection provider.
stopPaging() - Method in interface com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider.PagingContext
Allows the strategy to stop the pagination mechanism.
StringHandler - Class in com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler
 
StringHandler() - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadatamodel.handler.StringHandler
 
stringValue(Object) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.RestUtils
Transforms a value into a tailored String representation for HTTP requests.

T

throwAccessTokenExpiredExceptionIfNeedsRefreshToken(ErrorTypeDefinition, String) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection
Template method to allow custom code for triggering a refresh token in case of a different error or custom error types.
throwModuleExceptionIfErrorResponse(HttpResponse, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
Utility method that provides a Function responsible for checking if the HttpResponse should be treated as error, based on BaseRestConnection.httpResponseToErrorTypeDefinition(HttpResponse, MediaType) error type definition function.
toConnectivityErrorFunction(Throwable) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
Template method that allows usage of custom ErrorTypeDefinition's for general errors like TimeoutException or IOException which are thrown by the HttpClient API.
toConnectivityErrorFunction(Throwable) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnection
 
toConnectivityErrorFunction(Throwable) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.oauth.OAuthRestConnection
 
token - Variable in class com.mulesoft.connectivity.rest.commons.api.connection.bearer.BearerAuthenticationConnectionProvider
 
toList(Iterator<TypedValue<?>>) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.RestUtils
Transform an iterator of TypedValue into a list of TypedValue consuming the iterator typed values using the provided media type and charset.
toRawPage(InputStream, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingDataWeaveProvider
 
toRawPage(InputStream, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.paging.RestPagingProvider
Given the server response this method will consume the response from the content InputStream with the given MediaType, which may or may not contain a charset (cases like application/json should use the default encodings), returns a TypedValue with the content as String.
toResult(HttpResponse, MediaType) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
toString() - Method in class com.mulesoft.connectivity.rest.commons.api.dw.CommonsExpressionLanguageValue
 
toString() - Method in class com.mulesoft.connectivity.rest.commons.internal.http.HttpResponseAttributes
 
toTypedValue(String, MediaType, Charset) - Static method in class com.mulesoft.connectivity.rest.commons.internal.util.RestUtils
 
toUnknownErrorModuleException(Throwable) - Method in class com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
Allows to customize the generation of a ModuleException for unknown errors.

V

validate(HttpRequest, Function<HttpResponse, ConnectionValidationResult>, Function<Exception, ConnectionValidationResult>) - Method in class com.mulesoft.connectivity.rest.commons.api.connection.BaseRestConnection
 
validate(HttpRequest, Function<HttpResponse, ConnectionValidationResult>, Function<Exception, ConnectionValidationResult>) - Method in interface com.mulesoft.connectivity.rest.commons.api.connection.RestConnection
Executes the HttpRequest and validates the response to generate the corresponding ConnectionValidationResult.
valueOf(String) - Static method in enum com.mulesoft.connectivity.rest.commons.api.error.RestError
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mulesoft.connectivity.rest.commons.api.error.RestError
Returns an array containing the constants of this enum type, in the order they are declared.

W

WATERMARK - Static variable in class com.mulesoft.connectivity.rest.commons.internal.DWBindingConstants
 
watermarkExpression - Variable in class com.mulesoft.connectivity.rest.commons.api.source.BaseDataWeaveBasedRestPollingSourceStrategy
 
WeaveExpressionLanguageMetadataService - Class in com.mulesoft.connectivity.rest.commons.internal.metadata
Implementation that delegates to Mule's ExpressionLanguageMetadataService.
WeaveExpressionLanguageMetadataService(ExpressionLanguageMetadataService) - Constructor for class com.mulesoft.connectivity.rest.commons.internal.metadata.WeaveExpressionLanguageMetadataService
 

Y

YAML - Static variable in class com.mulesoft.connectivity.rest.commons.internal.util.MediaTypeUtils
 
A B C D E F G H I J L M N O P R S T V W Y 
Skip navigation links

Copyright © 2023. All rights reserved.