public class OAuthConfiguredHTTPEndpoint extends HTTPEndpoint
legacyPrefixanonymous, artifactContainerName, CHILDREN_JSON_ATT, errorHandler, fileName, initialized, isClusteringEnabled, log, NAME_JSON_ATT, trace, TYPE_JSON_ATT| Constructor and Description |
|---|
OAuthConfiguredHTTPEndpoint(AuthHandler authHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
OAuthHandler |
getOauthHandler() |
MessageContext |
retryCallWithNewToken(MessageContext synCtx)
This method is called when we need to retry a call to the resource with a new token
|
void |
send(MessageContext synCtx)
Sends the message context according to an endpoint specific behavior.
|
createJsonRepresentation, executeEpTypeSpecificFunctions, getHttpMethod, getHttpMethodExpression, getUriTemplate, isLegacySupport, onFault, onSuccess, setHttpMethod, setHttpMethodExpression, setLegacySupport, setUriTemplateaddProperties, addProperty, evaluateProperties, getArtifactContainerName, getChildren, getCommentsList, getContext, getDefinition, getDescription, getEndpointChildrenAsJson, getErrorHandler, getFileName, getIsEdited, getJsonRepresentation, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, getReportingName, handleException, handleException, informFailure, init, isAnonymous, isInitialized, isLeafEndpoint, isRetry, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, logSetter, onChildEndpointFail, prepareForEndpointStatistics, readyToSend, removeProperty, setAdvancedProperties, setAnonymous, setArtifactContainerName, setChildren, setCommentsList, setComponentStatisticsId, setContentAware, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setForceBuildMC, setIsEdited, setName, setParentEndpoint, toString, traceOrDebuggetStackTrace, handleFault, handleFaultpublic OAuthConfiguredHTTPEndpoint(AuthHandler authHandler)
public void send(MessageContext synCtx)
Endpointsend in interface Endpointsend in class HTTPEndpointsynCtx - MessageContext to be sent.public MessageContext retryCallWithNewToken(MessageContext synCtx)
synCtx - Original Synapse MessageContext that went through this endpointpublic void destroy()
ManagedLifecycledestroy in interface ManagedLifecycledestroy in class AbstractEndpointpublic OAuthHandler getOauthHandler()
Copyright © 2005–2024 Apache Software Foundation. All rights reserved.