@Tracked(value=TRACE) public class PublishEventMessageRest extends MultiRestServiceAdapter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTRIBUTE_EVENT_NAME |
static java.lang.String |
ATTRIBUTE_MESSAGE |
static java.lang.String |
beginMsg |
static java.lang.String |
endMsg |
static java.lang.String |
middleMsg |
AUTH_APP_ID, AUTH_PASSWORD, AUTH_PROVIDER, AUTH_USER, ENDPOINT_URI, HEADERS_VARIABLE, HTTP_METHODCONNECT_TIMEOUT, DEFAULT_ERROR_HTTP_CODE, DEFAULT_RETRY_HTTP_CODE, ERROR_HTTP_CODES, PROP_PASS, PROP_USER, READ_TIMEOUT, RETRY_HTTP_CODESDISABLED, GROOVY, JAVA_EL, JAVASCRIPT, logger, OUTPUTDOCSCOMPCODE_AUTO_RETRY, DEFAULT_STUBBER_PORT, DEFAULT_STUBBER_TIMEOUT, DO_LOGGING, MAKE_ACTUAL_CALL, PROP_MAX_TRIES, PROP_RETRY_INTERVAL, PROP_SYNCHRONOUS_RESPONSE, PROP_TIMEOUT, REQUEST_VARIABLE, REQUEST_XSD, RESPONSE_VARIABLE, RESPONSE_XSD| Constructor and Description |
|---|
PublishEventMessageRest() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getEventMessage() |
protected java.lang.String |
getEventName() |
protected java.lang.String |
getHttpMethod() |
protected java.lang.String |
getRequestData()
The method overrides the one from the super class and does the following:
For HTTP GET and DELETE requests, it returns an empty string
Otherwise it gets the value of the variable with the name specified in the
attribute REQUEST_VARIABLE.
|
getConnectionObjs, getEndpointUris, invoke, openConnection, openConnectiongetAdapterInvocationErrorMessage, getAuthProvider, getEndpointUri, getHttpHelper, getRequestHeaders, getRequestMeta, getRequestParameters, getResponseHeaders, getResponseMeta, getStubRequest, getUrlEncoding, invoke, logRequest, openConnection, openConnection, performHttpAction, setResponseHeaderscanBeAsynchronous, canBeSynchronous, closeConnection, getConnectTimeout, getReadTimeout, getResponse, init, setRequestHeadersdirectInvoke, doInvoke, doLogging, execute, executePostScript, executePreScript, filterStubResponse, getAttribute, getErrorCode, getMaxTries, getRetryInterval, getStubbedResponse, getStubResponse, getTimeoutForResponse, handleConnectionException, handleException, handleRetry, hasPostScript, hasPreScript, isRetryable, isStubMode, isSynchronous, logRequest, logResponse, logResponse, onFailure, onSuccessexecutecloseDatabaseAccess, createDocument, createDocument, createDocument, createDocument, doCompatibilityCodeSubstitutions, evaluateExpression, executeScript, getActivityId, getActivityInstance, getActivityInstanceId, getActivityName, getAsset, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValueAsVariableName, getAttributeValueSmart, getDocument, getDocumentContent, getDocumentForUpdate, getEngine, getEntryCode, getExternalEventInstanceDetails, getMainProcessDefinition, getMasterRequestId, getOutputDocuments, getPackage, getParameterId, getParameters, getParameterStringValue, getParameterType, getParameterValue, getParameterValue, getParentProcessId, getPerformanceLevel, getProcessDefinition, getProcessId, getProcessInstance, getProcessInstanceId, getProcessInstanceOwner, getProcessInstanceOwnerId, getProperty, getRequiredAttribute, getRequiredVariableValue, getReturnCode, getReturnMessage, getRuntimeContext, getScriptEvaluator, getScriptExecClassName, getScriptExecutor, getValue, getValueSmart, getVariableInstance, getVariableValue, getVariableValueSmart, getWorkTransitionInstanceId, initialize, isDisabled, isLogDebugEnabled, isLogInfoEnabled, isOutputDocument, lockActivityInstance, lockProcessInstance, logdebug, logexception, loginfo, logsevere, logtag, logwarn, openDatabaseAccess, prepare, setOutputDocuments, setParameterValue, setParameterValue, setParameterValueAsDocument, setParameterValues, setProcessInstanceCompletionCode, setReturnCode, setReturnMessage, setValue, setVariableValue, setVariableValue, startTransaction, stopTransaction, translatePlaceHolder, updateDocumentContent, updateDocumentInfo, updateDocumentInfo, valueIsJavaExpression, valueIsVariablepublic static final java.lang.String ATTRIBUTE_EVENT_NAME
public static final java.lang.String ATTRIBUTE_MESSAGE
public static final java.lang.String beginMsg
public static final java.lang.String middleMsg
public static final java.lang.String endMsg
protected java.lang.String getRequestData()
throws com.centurylink.mdw.activity.ActivityException
RestServiceAdaptergetRequestData in class RestServiceAdaptercom.centurylink.mdw.activity.ActivityExceptionprotected java.lang.String getHttpMethod()
throws com.centurylink.mdw.activity.ActivityException
getHttpMethod in class RestServiceAdaptercom.centurylink.mdw.activity.ActivityExceptionprotected java.lang.String getEventName()
protected java.lang.String getEventMessage()