Class Handler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- com.biglybt.core.util.protocol.biglybt.Handler
-
- All Implemented Interfaces:
AzURLStreamHandlerSkipConnection
public class Handler extends java.net.URLStreamHandler implements AzURLStreamHandlerSkipConnection
-
-
Constructor Summary
Constructors Constructor Description Handler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canProcessWithoutConnection(java.net.URL url, boolean processUrlNow)
Determines if an URL can be processed withoutURL.openConnection()
orURL.openStream()
java.net.URLConnection
openConnection(java.net.URL u)
-
-
-
Method Detail
-
openConnection
public java.net.URLConnection openConnection(java.net.URL u)
- Specified by:
openConnection
in classjava.net.URLStreamHandler
-
canProcessWithoutConnection
public boolean canProcessWithoutConnection(java.net.URL url, boolean processUrlNow)
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:
-
-