Class Handler
java.lang.Object
java.net.URLStreamHandler
com.biglybt.core.util.protocol.biglybt.Handler
- All Implemented Interfaces:
AzURLStreamHandlerSkipConnection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canProcessWithoutConnection
(URL url, boolean processUrlNow) Determines if an URL can be processed withoutURL.openConnection()
orURL.openStream()
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
openConnection
- Specified by:
openConnection
in classURLStreamHandler
-
canProcessWithoutConnection
Description copied from interface:AzURLStreamHandlerSkipConnection
Determines if an URL can be processed withoutURL.openConnection()
orURL.openStream()
- Specified by:
canProcessWithoutConnection
in interfaceAzURLStreamHandlerSkipConnection
- Parameters:
url
- URL to checkprocessUrlNow
- If URL can be processed without a connection, true will process the URL- Returns:
-