Package org.apache.synapse.endpoints
Class BasicAuthConfiguredHTTPEndpoint
- java.lang.Object
-
- org.apache.synapse.FaultHandler
-
- org.apache.synapse.endpoints.AbstractEndpoint
-
- org.apache.synapse.endpoints.HTTPEndpoint
-
- org.apache.synapse.endpoints.BasicAuthConfiguredHTTPEndpoint
-
- All Implemented Interfaces:
Endpoint
,ManagedLifecycle
,Nameable
,PropertyInclude
,SynapseArtifact
public class BasicAuthConfiguredHTTPEndpoint extends HTTPEndpoint
This class represents a http endpoint with basic auth configured This will configure the basic auth headers and call the send method in HTTP endpoint
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.endpoints.HTTPEndpoint
legacyPrefix
-
Fields inherited from class org.apache.synapse.endpoints.AbstractEndpoint
anonymous, artifactContainerName, CHILDREN_JSON_ATT, errorHandler, fileName, initialized, isClusteringEnabled, log, NAME_JSON_ATT, trace, TYPE_JSON_ATT
-
-
Constructor Summary
Constructors Constructor Description BasicAuthConfiguredHTTPEndpoint(AuthHandler authHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicAuthHandler
getBasicAuthHandler()
void
send(MessageContext synCtx)
Sends the message context according to an endpoint specific behavior.-
Methods inherited from class org.apache.synapse.endpoints.HTTPEndpoint
createJsonRepresentation, executeEpTypeSpecificFunctions, getHttpMethod, getHttpMethodExpression, getHttpVersion, getServerPushSequence, getUriTemplate, isLegacySupport, onFault, onSuccess, setHttpMethod, setHttpMethodExpression, setHttpVersion, setLegacySupport, setServerPushSequence, setUriTemplate
-
Methods inherited from class org.apache.synapse.endpoints.AbstractEndpoint
addProperties, addProperty, destroy, evaluateProperties, getArtifactContainerName, getChildren, getCommentsList, getContext, getDefinition, getDescription, getEndpointChildrenAsJson, getErrorHandler, getFileName, getIsEdited, getJsonRepresentation, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, getReportingName, handleException, 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, traceOrDebug
-
Methods inherited from class org.apache.synapse.FaultHandler
executeExtendedSynapseHandlerOnFault, getStackTrace, handleFault, handleFault
-
-
-
-
Constructor Detail
-
BasicAuthConfiguredHTTPEndpoint
public BasicAuthConfiguredHTTPEndpoint(AuthHandler authHandler)
-
-
Method Detail
-
send
public void send(MessageContext synCtx)
Description copied from interface:Endpoint
Sends the message context according to an endpoint specific behavior.- Specified by:
send
in interfaceEndpoint
- Overrides:
send
in classHTTPEndpoint
- Parameters:
synCtx
- MessageContext to be sent.
-
getBasicAuthHandler
public BasicAuthHandler getBasicAuthHandler()
-
-