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 Summary
Modifier and TypeMethodDescriptionbooleancanProcessWithoutConnection(URL checkUrl, boolean processUrlNow) Determines if an URL can be processed withoutURL.openConnection()orURL.openStream()
-
Method Details
-
canProcessWithoutConnection
Determines if an URL can be processed withoutURL.openConnection()orURL.openStream()- Parameters:
checkUrl- URL to checkprocessUrlNow- If URL can be processed without a connection, true will process the URL- Returns:
-