Class AbstractRESTConnectorImpl

  • All Implemented Interfaces:
    org.bonitasoft.engine.connector.Connector
    Direct Known Subclasses:
    RESTConnector

    public abstract class AbstractRESTConnectorImpl
    extends org.bonitasoft.engine.connector.AbstractConnector
    • Constructor Detail

      • AbstractRESTConnectorImpl

        public AbstractRESTConnectorImpl()
    • Method Detail

      • 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()
      • getDocumentBody

        protected final String getDocumentBody()
      • getBody

        protected final String getBody()
      • getTLS

        protected final Boolean getTLS()
      • 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()
      • 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()
      • 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()
      • 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()