Interface HttpConnectionFactory

    • Method Detail

      • create

        HttpConnection create​(java.net.URL url)
                       throws java.io.IOException
        Creates a new connection to a destination defined by a URL
        Parameters:
        url -
        Returns:
        a HttpConnection
        Throws:
        java.io.IOException
      • create

        HttpConnection create​(java.net.URL url,
                              java.net.Proxy proxy)
                       throws java.io.IOException
        Creates a new connection to a destination defined by a URL using a proxy
        Parameters:
        url -
        proxy - the proxy to be used
        Returns:
        a HttpConnection
        Throws:
        java.io.IOException