public class NetCipherURLStreamHandlerFactory
extends java.lang.Object
implements java.net.URLStreamHandlerFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
NetCipherURLStreamHandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
This does not support
jar:, ftp:, and anything else
that system's factory might handle. |
public static final java.lang.String TAG
@Nullable public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
jar:, ftp:, and anything else
that system's factory might handle. This returns null in those cases
so that this fails closed, instead of returning an unproxied thing.createURLStreamHandler in interface java.net.URLStreamHandlerFactoryprotocol - the name of the protocol aka URL SchemeURLStreamHandler or null if protocol not supportedURL.getURLStreamHandler(String protocol)