public class CookBookSignalErrorHandlingConnection
extends com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnection
| Constructor and Description |
|---|
CookBookSignalErrorHandlingConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.HttpRequestOptions httpRequestOptions,
String baseUri,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage) |
| Modifier and Type | Method and Description |
|---|---|
protected org.mule.runtime.extension.api.exception.ModuleException |
createModuleException(org.mule.runtime.http.api.domain.message.response.HttpResponse httpResponse,
org.mule.runtime.extension.api.error.ErrorTypeDefinition<com.mulesoft.connectivity.rest.commons.api.error.RestError> errorTypeDefinition,
org.mule.runtime.api.metadata.MediaType mediaType) |
protected Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<com.mulesoft.connectivity.rest.commons.api.error.RestError>> |
httpResponseToErrorTypeDefinition(org.mule.runtime.http.api.domain.message.response.HttpResponse httpResponse,
org.mule.runtime.api.metadata.MediaType mediaType) |
protected org.mule.runtime.http.api.domain.entity.HttpEntity |
materializeHttpResponseEntity(org.mule.runtime.http.api.domain.entity.HttpEntity httpEntity) |
toConnectivityErrorFunctionauthenticate, beforeRequest, getBaseUri, getCommonsExpressionLanguage, getExpressionLanguage, getHttpClient, getHttpRequestOptions, getMediaType, send, sendAsync, throwModuleExceptionIfErrorResponse, toResult, validatepublic CookBookSignalErrorHandlingConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.HttpRequestOptions httpRequestOptions,
String baseUri,
org.mule.runtime.api.el.ExpressionLanguage expressionLanguage)
protected org.mule.runtime.http.api.domain.entity.HttpEntity materializeHttpResponseEntity(org.mule.runtime.http.api.domain.entity.HttpEntity httpEntity)
materializeHttpResponseEntity in class com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnectionprotected Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<com.mulesoft.connectivity.rest.commons.api.error.RestError>> httpResponseToErrorTypeDefinition(org.mule.runtime.http.api.domain.message.response.HttpResponse httpResponse, org.mule.runtime.api.metadata.MediaType mediaType)
httpResponseToErrorTypeDefinition in class com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnectionprotected org.mule.runtime.extension.api.exception.ModuleException createModuleException(org.mule.runtime.http.api.domain.message.response.HttpResponse httpResponse,
org.mule.runtime.extension.api.error.ErrorTypeDefinition<com.mulesoft.connectivity.rest.commons.api.error.RestError> errorTypeDefinition,
org.mule.runtime.api.metadata.MediaType mediaType)
createModuleException in class com.mulesoft.connectivity.rest.commons.api.connection.DefaultRestConnectionCopyright © 2023 MuleSoft, Inc.. All rights reserved.