Class AbstractRESTConnectorImpl

java.lang.Object
org.bonitasoft.engine.connector.AbstractConnector
org.bonitasoft.connectors.rest.AbstractRESTConnectorImpl
All Implemented Interfaces:
org.bonitasoft.engine.connector.Connector
Direct Known Subclasses:
RESTConnector

public abstract class AbstractRESTConnectorImpl extends org.bonitasoft.engine.connector.AbstractConnector
  • Field Details

  • Constructor Details

    • AbstractRESTConnectorImpl

      public AbstractRESTConnectorImpl()
  • Method Details

    • getUrl

      protected final String getUrl()
    • getMethod

      protected String getMethod()
    • getContentType

      protected final String getContentType()
    • getCharset

      protected final String getCharset()
    • getUrlCookies

      protected final List<List<?>> getUrlCookies()
    • getUrlHeaders

      protected final List<List<?>> getUrlHeaders()
    • getAddBonitaContextHeaders

      protected final Boolean getAddBonitaContextHeaders()
    • getBonitaActivityInstanceIdHeader

      protected final String getBonitaActivityInstanceIdHeader()
    • getBonitaProcessInstanceIdHeader

      protected final String getBonitaProcessInstanceIdHeader()
    • getBonitaRootProcessInstanceIdHeader

      protected final String getBonitaRootProcessInstanceIdHeader()
    • getBonitaProcessDefinitionIdHeader

      protected final String getBonitaProcessDefinitionIdHeader()
    • getBonitaTaskAssigneeIdHeader

      protected final String getBonitaTaskAssigneeIdHeader()
    • getDocumentBody

      protected final String getDocumentBody()
    • getBody

      protected final String getBody()
    • getTLS

      protected final Boolean getTLS()
    • getTrustCertificateStrategy

      protected final TrustCertificateStrategy getTrustCertificateStrategy()
    • getHostnameVerifier

      protected final SSLVerifier getHostnameVerifier()
    • getTrustStoreFile

      protected final String getTrustStoreFile()
    • getTrustStorePassword

      protected final String getTrustStorePassword()
    • getKeyStoreFile

      protected final String getKeyStoreFile()
    • getKeyStorePassword

      protected final String getKeyStorePassword()
    • getDoNotFollowRedirect

      protected final Boolean getDoNotFollowRedirect()
    • getIgnoreBody

      protected final Boolean getIgnoreBody()
    • getFailOnHttp5xx

      protected final Boolean getFailOnHttp5xx()
    • getFailOnHttp4xx

      protected final Boolean getFailOnHttp4xx()
    • getFailExceptionHttpCodes

      protected final List<String> getFailExceptionHttpCodes()
    • getRetryOnHttp5xx

      protected final Boolean getRetryOnHttp5xx()
    • getRetryAdditionalHttpCodes

      protected final List<String> getRetryAdditionalHttpCodes()
    • getMaximumBodyContentPrintedLogs

      protected final Integer getMaximumBodyContentPrintedLogs()
    • getShowSensitiveHeadersInLogs

      protected final Boolean getShowSensitiveHeadersInLogs()
    • getAuthUsername

      protected final String getAuthUsername()
    • getAuthPassword

      protected final String getAuthPassword()
    • getAuthHost

      protected final String getAuthHost()
    • getAuthPort

      protected final Integer getAuthPort()
    • getAuthRealm

      protected final String getAuthRealm()
    • getAuthPreemptive

      protected final Boolean getAuthPreemptive()
    • getAuthType

      protected final AuthorizationType getAuthType()
    • getProxyProtocol

      protected final String getProxyProtocol()
    • getProxyHost

      protected final String getProxyHost()
    • getProxyPort

      protected final Integer getProxyPort()
    • getProxyUsername

      protected final String getProxyUsername()
    • getProxyPassword

      protected final String getProxyPassword()
    • getSocketTimeoutMs

      protected final Integer getSocketTimeoutMs()
    • getConnectionTimeoutMs

      protected final Integer getConnectionTimeoutMs()
    • getAutomaticProxyResolution

      protected final Boolean getAutomaticProxyResolution()
    • setBody

      protected void setBody(String body)
    • setBody

      protected void setBody(Object body)
    • setHeaders

      protected void setHeaders(Map<String,String> headers)
    • setStatusCode

      protected void setStatusCode(Integer statusCode)
    • setStatusMessage

      protected void setStatusMessage(String statusMessage)
    • validateInputParameters

      public void validateInputParameters() throws org.bonitasoft.engine.connector.ConnectorValidationException
      Throws:
      org.bonitasoft.engine.connector.ConnectorValidationException
    • hasBody

      public abstract boolean hasBody()