Class HttpConnectionManagerFactory

    • Constructor Detail

      • HttpConnectionManagerFactory

        public HttpConnectionManagerFactory()
        Create a new http connection manager factory.
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: ConnectionManagerFactory
        Get the ID of this connection manager factory. This should be a unique string matching the id of extension that has been registered with BASE.
        Specified by:
        getId in interface ConnectionManagerFactory
      • getDescription

        public String getDescription()
        Description copied from interface: ConnectionManagerFactory
        Get a longer description that can be used by client applications to show more information about the capabilities of the factory to the users.
        Specified by:
        getDescription in interface ConnectionManagerFactory
        A string or null if no more information is available
      • createConnectionManager

        public ConnectionManager createConnectionManager​(URI uri,
                                                         ConnectionParameters parameters)
        Description copied from interface: ConnectionManagerFactory
        Create a new handler for accessing the resource at the given URI. Unless otherwise noted it is expected that this method create a new connection manager for each call.

        NOTE! Also consider if it is possible for the connection manager to implement the ResumableConnectionManager interface. This will improve support for resuming downloads at a specified location.

        Specified by:
        createConnectionManager in interface ConnectionManagerFactory
        uri - The URI to access (required)
        parameters - Connection parameters, such as user login/password, etc. Optional, unless otherwise is noted by the implementation.
        An URI handler
      • init

        public void init​(String id,
                         String name,
                         String description)
        Initialize this factory with some information.