Modifier and Type | Field and Description |
---|---|
static String |
legacyPrefix |
Constructor and Description |
---|
HttpEndpoint() |
Modifier and Type | Method and Description |
---|---|
void |
build(org.apache.axiom.om.OMElement elem,
boolean isAnonymous)
Populate this endpoint from the Synapse endpoint configuration.
|
void |
build(org.apache.synapse.endpoints.Template template,
org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
Populate this endpoint from the Synapse endpoint template configuration.
|
String |
getClientId() |
String |
getClientSecret() |
String |
getDescription() |
String |
getEndpointName() |
String |
getErrorCodes() |
String |
getMaxSusDuration() |
String |
getMethod() |
String |
getProperties() |
String |
getRefreshToken() |
String |
getRequestParametersAsString() |
Map<String,String> |
getRequestParametersMap() |
String |
getRetryDelay() |
String |
getRetryDisabledErrorCodes() |
String |
getRetryTimeout() |
String |
getSuspendDurationOnFailure() |
String |
getSusProgFactor() |
String |
getTagLocalName()
Get the tag name of the endpoint
|
String |
getTimedOutErrorCodes() |
String |
getTimeoutAction() |
String |
getTimeoutActionDur() |
String |
getTokenURL() |
String |
getUriTemplate() |
boolean |
isHttpDelete() |
boolean |
isHttpGet() |
boolean |
isHttpHead() |
boolean |
isHttpOptions() |
boolean |
isHttpPatch() |
boolean |
isHttpPost() |
boolean |
isHttpPut() |
boolean |
isLegacy() |
org.apache.axiom.om.OMElement |
serialize(org.apache.axiom.om.OMElement parent)
Serialize this endpoint in to the corresponding Synapse endpoint configuration.
|
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
void |
setDescription(String description) |
void |
setEndpointName(String name) |
void |
setErrorCodes(String errorCodes) |
void |
setHttpDelete(boolean delete) |
void |
setHttpGet(boolean get) |
void |
setHttpHead(boolean head) |
void |
setHttpOptions(boolean options) |
void |
setHttpPatch(boolean patch) |
void |
setHttpPost(boolean post) |
void |
setHttpPut(boolean put) |
void |
setLegacy(boolean legacySupport) |
void |
setMaxSusDuration(String maxSusDuration) |
void |
setMethod(String method) |
void |
setProperties(String properties) |
void |
setRefreshToken(String refreshToken) |
void |
setRequestParametersMap(Map<String,String> requestParametersMap) |
void |
setRetryDelay(String retryDelay) |
void |
setRetryDisabledErrorCodes(String retryDisabledErrorCodes) |
void |
setRetryTimeout(String retryTimeout) |
void |
setSuspendDurationOnFailure(String suspendDurationOnFailure) |
void |
setSusProgFactor(String susProgFactor) |
void |
setTimedOutErrorCodes(String timedOutErrorCodes) |
void |
setTimeoutAction(String timeoutAction) |
void |
setTimeoutActionDur(String timeoutActionDur) |
void |
setTokenURL(String tokenURL) |
void |
setUriTemplate(String template) |
getEmptyEndpointElement
public static String legacyPrefix
public String getUriTemplate()
public void setRequestParametersMap(Map<String,String> requestParametersMap)
public String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public String getRefreshToken()
public void setRefreshToken(String refreshToken)
public String getTokenURL()
public void setTokenURL(String tokenURL)
public String getRequestParametersAsString()
public void setUriTemplate(String template)
public void setHttpGet(boolean get)
public void setHttpPost(boolean post)
public void setHttpPatch(boolean patch)
public void setHttpPut(boolean put)
public void setHttpDelete(boolean delete)
public void setHttpHead(boolean head)
public void setHttpOptions(boolean options)
public String getTagLocalName()
IEndpoint
public boolean isHttpGet()
public boolean isHttpPost()
public boolean isHttpPatch()
public boolean isHttpPut()
public boolean isHttpDelete()
public boolean isHttpHead()
public boolean isHttpOptions()
public String getEndpointName()
public void setEndpointName(String name)
public String getSuspendDurationOnFailure()
public void setSuspendDurationOnFailure(String suspendDurationOnFailure)
public String getMethod()
public void setMethod(String method)
public String getTimeoutAction()
public void setTimeoutAction(String timeoutAction)
public String getTimeoutActionDur()
public void setTimeoutActionDur(String timeoutActionDur)
public String getMaxSusDuration()
public void setMaxSusDuration(String maxSusDuration)
public String getSusProgFactor()
public void setSusProgFactor(String susProgFactor)
public String getErrorCodes()
public void setErrorCodes(String errorCodes)
public void setRetryDisabledErrorCodes(String retryDisabledErrorCodes)
public String getRetryDisabledErrorCodes()
public String getTimedOutErrorCodes()
public void setTimedOutErrorCodes(String timedOutErrorCodes)
public String getRetryTimeout()
public void setRetryTimeout(String retryTimeout)
public String getRetryDelay()
public void setRetryDelay(String retryDelay)
public String getDescription()
public void setDescription(String description)
public String getProperties()
public void setProperties(String properties)
public void setLegacy(boolean legacySupport)
public boolean isLegacy()
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
IEndpoint
parent
- if present the serialize node will be added to the parentpublic void build(org.apache.axiom.om.OMElement elem, boolean isAnonymous)
IEndpoint
elem
- synapse endpoint configurationisAnonymous
- whether the endpoint has a namepublic void build(org.apache.synapse.endpoints.Template template, org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
IEndpoint
template
- synapse endpoint template configurationfactory
- Template definition factoryCopyright © 2021 WSO2. All rights reserved.