Class BimWorksClientFactory

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class BimWorksClientFactory
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Detail

      • BimWorksClientFactory

        public BimWorksClientFactory​(java.lang.String address)
    • Method Detail

      • createAnonymousClient

        public BimWorksClient createAnonymousClient()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createClientWithUsernamePassword

        public BimWorksClient createClientWithUsernamePassword​(java.lang.String username,
                                                               java.lang.String password)
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createClientWithApiToken

        public BimWorksClient createClientWithApiToken​(java.lang.String apiToken)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createClientWithAuth

        public BimWorksClient createClientWithAuth​(com.fasterxml.jackson.databind.node.ObjectNode auth)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAddress

        public java.lang.String getAddress()
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception