Interface AzURLStreamHandlerSkipConnection

  • All Known Implementing Classes:
    Handler

    public interface AzURLStreamHandlerSkipConnection
    When this interface is present on one of our URLStreamHandler classes, the handler may be able to process the url without opening a connection or creating an InputStream.

    The primary example for this is proto://install-plugin/pluginname which fires off the plugin installer

    • Method Detail

      • canProcessWithoutConnection

        boolean canProcessWithoutConnection​(java.net.URL checkUrl,
                                            boolean processUrlNow)
        Determines if an URL can be processed without URL.openConnection() or URL.openStream()
        Parameters:
        checkUrl - URL to check
        processUrlNow - If URL can be processed without a connection, true will process the URL
        Returns: