Class OpenTsdbConnectionFactory

    • Constructor Detail

      • OpenTsdbConnectionFactory

        public OpenTsdbConnectionFactory()
    • Method Detail

      • openConnection

        public java.net.HttpURLConnection openConnection​(java.net.URI base,
                                                         StreamElement elem)
                                                  throws java.io.IOException
        Description copied from interface: ConnFactory
        Open and return HTTP(S) connection to given base URI with given input stream element. The returned connection must be open and ready to retrieve status.
        Parameters:
        base - URI
        elem - input element
        Returns:
        new connection
        Throws:
        java.io.IOException - on IO errors