Interface IConnectionSettings

    • Method Detail

      • setProxy

        void setProxy​(java.lang.String url,
                      int port)

        Set proxy settings

        Parameters:
        url - Mandatory java.lang.String parameter.
        port - Mandatory int parameter.
      • getProxy

        void getProxy​(com4j.Holder<java.lang.String> pUrl,
                      com4j.Holder<java.lang.Integer> pPort)

        Set proxy settings

        Parameters:
        pUrl - Mandatory Holder parameter.
        pPort - Mandatory Holder parameter.
      • setProxyCredentials

        void setProxyCredentials​(java.lang.String login,
                                 java.lang.String pass)

        Set proxy credentials

        Parameters:
        login - Mandatory java.lang.String parameter.
        pass - Mandatory java.lang.String parameter.
      • setWebServerCredentials

        void setWebServerCredentials​(java.lang.String login,
                                     java.lang.String pass)

        Set server settings

        Parameters:
        login - Mandatory java.lang.String parameter.
        pass - Mandatory java.lang.String parameter.
      • setCookie

        void setCookie​(java.lang.String cookie)

        Set cookie

        Parameters:
        cookie - Mandatory java.lang.String parameter.
      • clientCert

        void clientCert​(java.lang.Object pCertContext)

        Set client certificate, the parameter should be valid CERT_CONTEXT structure.

        Setter method for the COM property "ClientCert"

        Parameters:
        pCertContext - Mandatory java.lang.Object parameter.
      • clientCert

        java.lang.Object clientCert()

        Set client certificate, the parameter should be valid CERT_CONTEXT structure.

        Getter method for the COM property "ClientCert"

        Returns:
        Returns a value of type java.lang.Object
      • executionMode

        void executionMode​(TDAPI_EXECUTION_MODES pExecutionMode)

        Set execution mode

        Setter method for the COM property "ExecutionMode"

        Parameters:
        pExecutionMode - Mandatory step.repository.alm.v16.otaclient.TDAPI_EXECUTION_MODES parameter.
      • executionMode

        TDAPI_EXECUTION_MODES executionMode()

        Set execution mode

        Getter method for the COM property "ExecutionMode"

        Returns:
        Returns a value of type step.repository.alm.v16.otaclient.TDAPI_EXECUTION_MODES
      • basicAuthHeaderMode

        void basicAuthHeaderMode​(TDAPI_BASIC_AUTH_HEADER_MODES pForceAuthHeader)

        Set force auth header param

        Setter method for the COM property "BasicAuthHeaderMode"

        Parameters:
        pForceAuthHeader - Mandatory step.repository.alm.v16.otaclient.TDAPI_BASIC_AUTH_HEADER_MODES parameter.
      • basicAuthHeaderMode

        TDAPI_BASIC_AUTH_HEADER_MODES basicAuthHeaderMode()

        Set force auth header param

        Getter method for the COM property "BasicAuthHeaderMode"

        Returns:
        Returns a value of type step.repository.alm.v16.otaclient.TDAPI_BASIC_AUTH_HEADER_MODES
      • setCurrentCertificateKeys

        void setCurrentCertificateKeys​(java.lang.Object certSN,
                                       java.lang.Object certIss)

        Set client certificate keys (bytes of SerialNumber&Issuer)

        Parameters:
        certSN - Mandatory java.lang.Object parameter.
        certIss - Mandatory java.lang.Object parameter.
      • getCurrentCertificateKeys

        void getCurrentCertificateKeys​(java.lang.Object pCertSN,
                                       java.lang.Object pCertIss)

        Get client certificate keys (bytes of SerialNumber&Issuer)

        Parameters:
        pCertSN - Mandatory java.lang.Object parameter.
        pCertIss - Mandatory java.lang.Object parameter.
      • useInstanceCache

        void useInstanceCache​(boolean pVal)

        Use instance cache of settings storages

        Setter method for the COM property "UseInstanceCache"

        Parameters:
        pVal - Mandatory boolean parameter.
      • useInstanceCache

        boolean useInstanceCache()

        Use instance cache of settings storages

        Getter method for the COM property "UseInstanceCache"

        Returns:
        Returns a value of type boolean
      • cloneTo

        IConnectionSettings cloneTo()

        Get copy object

        Returns:
        Returns a value of type step.repository.alm.v16.otaclient.IConnectionSettings