Package com.biglybt.core.util.protocol
Interface AzURLStreamHandlerSkipConnection
-
- All Known Implementing Classes:
Handler
public interface AzURLStreamHandlerSkipConnection
When this interface is present on one of ourURLStreamHandler
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canProcessWithoutConnection(java.net.URL checkUrl, boolean processUrlNow)
Determines if an URL can be processed withoutURL.openConnection()
orURL.openStream()
-
-
-
Method Detail
-
canProcessWithoutConnection
boolean canProcessWithoutConnection(java.net.URL checkUrl, boolean processUrlNow)
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:
-
-