public class HTTPEndpoint extends AbstractEndpoint
Modifier and Type | Field and Description |
---|---|
static String |
legacyPrefix |
anonymous, artifactContainerName, errorHandler, fileName, initialized, isClusteringEnabled, log, trace
Constructor and Description |
---|
HTTPEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
executeEpTypeSpecificFunctions(MessageContext synCtx) |
String |
getHttpMethod() |
SynapseXPath |
getHttpMethodExpression() |
com.damnhandy.uri.template.UriTemplate |
getUriTemplate() |
boolean |
isLegacySupport() |
void |
onFault(MessageContext synCtx)
On a fault, propagate to parent if any, or call into the fault handler
|
void |
onSuccess()
The SynapseCallback Receiver notifies an endpoint, if a message was successfully processed
to give it a chance to clear up or reset its state to active
|
void |
send(MessageContext synCtx)
Sends the message context according to an endpoint specific behavior.
|
void |
setHttpMethod(String httpMethod) |
void |
setHttpMethodExpression(SynapseXPath httpMethodExpression) |
void |
setLegacySupport(boolean legacySupport) |
void |
setUriTemplate(com.damnhandy.uri.template.UriTemplate uriTemplate) |
addProperties, addProperty, destroy, evaluateProperties, getArtifactContainerName, getChildren, getContext, getDefinition, getDescription, getErrorHandler, getFileName, getIsEdited, getMetricsMBean, getName, getParentEndpoint, getProperties, getProperty, getReportingName, handleException, handleException, informFailure, init, isAnonymous, isInitialized, isLeafEndpoint, isRetry, isSuspendFault, isTimeout, isTraceOn, isTraceOrDebugOn, logOnChildEndpointFail, logSetter, onChildEndpointFail, prepareForEndpointStatistics, readyToSend, removeProperty, setAnonymous, setArtifactContainerName, setChildren, setComponentStatisticsId, setContentAware, setDefinition, setDescription, setEnableMBeanStats, setErrorHandler, setErrorOnMessage, setFileName, setForceBuildMC, setIsEdited, setName, setParentEndpoint, toString, traceOrDebug
getStackTrace, handleFault, handleFault
public static String legacyPrefix
public void onFault(MessageContext synCtx)
AbstractEndpoint
onFault
in class AbstractEndpoint
synCtx
- the message at handpublic void onSuccess()
AbstractEndpoint
onSuccess
in interface Endpoint
onSuccess
in class AbstractEndpoint
public void send(MessageContext synCtx)
Endpoint
send
in interface Endpoint
send
in class AbstractEndpoint
synCtx
- MessageContext to be sent.public void executeEpTypeSpecificFunctions(MessageContext synCtx)
executeEpTypeSpecificFunctions
in class AbstractEndpoint
public String getHttpMethod()
public void setHttpMethod(String httpMethod)
public com.damnhandy.uri.template.UriTemplate getUriTemplate()
public SynapseXPath getHttpMethodExpression()
public void setUriTemplate(com.damnhandy.uri.template.UriTemplate uriTemplate)
public void setHttpMethodExpression(SynapseXPath httpMethodExpression)
public boolean isLegacySupport()
public void setLegacySupport(boolean legacySupport)
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.