public class RESTConnector extends AbstractRESTConnectorImpl
AUTH_HOST_INPUT_PARAMETER, AUTH_PASSWORD_INPUT_PARAMETER, AUTH_PORT_INPUT_PARAMETER, AUTH_PREEMPTIVE_INPUT_PARAMETER, AUTH_REALM_INPUT_PARAMETER, AUTH_TYPE_PARAMETER, AUTH_USERNAME_INPUT_PARAMETER, BODY_AS_OBJECT_OUTPUT_PARAMETER, BODY_AS_STRING_OUTPUT_PARAMETER, BODY_INPUT_PARAMETER, CHARSET_INPUT_PARAMETER, CONNECTION_TIMEOUT_MS_DEFAULT_VALUE, CONNECTION_TIMEOUT_MS_PARAMETER, CONTENTTYPE_INPUT_PARAMETER, DO_NOT_FOLLOW_REDIRECT_INPUT_PARAMETER, HEADERS_OUTPUT_PARAMETER, HOSTNAME_VERIFIER_INPUT_PARAMETER, IGNORE_BODY_INPUT_PARAMETER, KEY_STORE_FILE_INPUT_PARAMETER, KEY_STORE_PASSWORD_INPUT_PARAMETER, METHOD_INPUT_PARAMETER, PROXY_HOST_INPUT_PARAMETER, PROXY_PASSWORD_INPUT_PARAMETER, PROXY_PORT_INPUT_PARAMETER, PROXY_PROTOCOL_INPUT_PARAMETER, PROXY_USERNAME_INPUT_PARAMETER, SOCKET_TIMEOUT_MS_DEFAULT_VALUE, SOCKET_TIMEOUT_MS_PARAMETER, STATUS_CODE_OUTPUT_PARAMETER, STATUS_MESSAGE_OUTPUT_PARAMETER, TLS_INPUT_PARAMETER, TRUST_SELF_SIGNED_CERTIFICATE_INPUT_PARAMETER, TRUST_STORE_FILE_INPUT_PARAMETER, TRUST_STORE_PASSWORD_INPUT_PARAMETER, URL_INPUT_PARAMETER, URLCOOKIES_INPUT_PARAMETER, URLHEADERS_INPUT_PARAMETER| Constructor and Description |
|---|
RESTConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Request request)
Execute a given request
|
protected void |
executeBusinessLogic() |
void |
validateInputParameters() |
getAuthHost, getAuthPassword, getAuthPort, getAuthPreemptive, getAuthRealm, getAuthType, getAuthUsername, getBody, getCharset, getConnectionTimeoutMs, getContentType, getDoNotFollowRedirect, getHostnameVerifier, getIgnoreBody, getKeyStoreFile, getKeyStorePassword, getMethod, getProxyHost, getProxyPassword, getProxyPort, getProxyProtocol, getProxyUsername, getSocketTimeoutMs, getTLS, getTrustSelfSignedCertificate, getTrustStoreFile, getTrustStorePassword, getUrl, getUrlCookies, getUrlHeaders, setBody, setBody, setHeaders, setStatusCode, setStatusMessagepublic void validateInputParameters()
throws org.bonitasoft.engine.connector.ConnectorValidationException
validateInputParameters in interface org.bonitasoft.engine.connector.ConnectorvalidateInputParameters in class AbstractRESTConnectorImplorg.bonitasoft.engine.connector.ConnectorValidationExceptionprotected void executeBusinessLogic()
throws org.bonitasoft.engine.connector.ConnectorException
executeBusinessLogic in class org.bonitasoft.engine.connector.AbstractConnectororg.bonitasoft.engine.connector.ConnectorExceptionCopyright © 2020. All rights reserved.