public abstract class AbstractRESTConnectorImpl
extends org.bonitasoft.engine.connector.AbstractConnector
| Constructor and Description |
|---|
AbstractRESTConnectorImpl() |
connect, disconnect, execute, executeBusinessLogic, getAPIAccessor, getExecutionContext, getInputParameter, getInputParameter, getOutputParameters, setAPIAccessor, setExecutionContext, setInputParameters, setOutputParameterprotected static final String URL_INPUT_PARAMETER
protected static final String METHOD_INPUT_PARAMETER
protected static final String CONTENTTYPE_INPUT_PARAMETER
protected static final String CHARSET_INPUT_PARAMETER
protected static final String URLCOOKIES_INPUT_PARAMETER
protected static final String URLHEADERS_INPUT_PARAMETER
protected static final String BODY_INPUT_PARAMETER
protected static final String DO_NOT_FOLLOW_REDIRECT_INPUT_PARAMETER
protected static final String IGNORE_BODY_INPUT_PARAMETER
protected static final String TRUST_SELF_SIGNED_CERTIFICATE_INPUT_PARAMETER
protected static final String TLS_INPUT_PARAMETER
protected static final String HOSTNAME_VERIFIER_INPUT_PARAMETER
protected static final String TRUST_STORE_FILE_INPUT_PARAMETER
protected static final String TRUST_STORE_PASSWORD_INPUT_PARAMETER
protected static final String KEY_STORE_FILE_INPUT_PARAMETER
protected static final String KEY_STORE_PASSWORD_INPUT_PARAMETER
protected static final String AUTH_TYPE_PARAMETER
protected static final String AUTH_USERNAME_INPUT_PARAMETER
protected static final String AUTH_PASSWORD_INPUT_PARAMETER
protected static final String AUTH_HOST_INPUT_PARAMETER
protected static final String AUTH_PORT_INPUT_PARAMETER
protected static final String AUTH_REALM_INPUT_PARAMETER
protected static final String AUTH_PREEMPTIVE_INPUT_PARAMETER
protected static final String PROXY_PROTOCOL_INPUT_PARAMETER
protected static final String PROXY_HOST_INPUT_PARAMETER
protected static final String PROXY_PORT_INPUT_PARAMETER
protected static final String PROXY_USERNAME_INPUT_PARAMETER
protected static final String PROXY_PASSWORD_INPUT_PARAMETER
protected static final String BODY_AS_STRING_OUTPUT_PARAMETER
protected static final String BODY_AS_OBJECT_OUTPUT_PARAMETER
protected static final String HEADERS_OUTPUT_PARAMETER
protected static final String STATUS_CODE_OUTPUT_PARAMETER
protected static final String STATUS_MESSAGE_OUTPUT_PARAMETER
protected static final String SOCKET_TIMEOUT_MS_PARAMETER
protected static final String CONNECTION_TIMEOUT_MS_PARAMETER
protected static final int SOCKET_TIMEOUT_MS_DEFAULT_VALUE
protected static final int CONNECTION_TIMEOUT_MS_DEFAULT_VALUE
protected final String getUrl()
protected String getMethod()
protected final String getContentType()
protected final String getCharset()
protected final List getUrlCookies()
protected final List getUrlHeaders()
protected final String getBody()
protected final Boolean getTLS()
protected final Boolean getTrust_self_signed_certificate()
protected final String getHostname_verifier()
protected final String getTrust_store_file()
protected final String getTrust_store_password()
protected final String getKey_store_file()
protected final String getKey_store_password()
protected final Boolean getDoNotFollowRedirect()
protected final Boolean getIgnoreBody()
protected final String getAuth_username()
protected final String getAuth_password()
protected final String getAuth_host()
protected final Integer getAuth_port()
protected final String getAuth_realm()
protected final Boolean getAuth_preemptive()
protected final AuthorizationType getAuth_type()
protected final String getProxy_protocol()
protected final String getProxy_host()
protected final Integer getProxy_port()
protected final String getProxy_username()
protected final String getProxy_password()
protected final Integer getSocketTimeoutMs()
protected final Integer getConnectionTimeoutMs()
protected final void setBody(String body)
protected final void setBody(Object body)
protected final void setStatusCode(Integer statusCode)
protected final void setStatusMessage(String statusMessage)
public void validateInputParameters()
throws org.bonitasoft.engine.connector.ConnectorValidationException
org.bonitasoft.engine.connector.ConnectorValidationExceptionCopyright © 2020. All rights reserved.