Package io.microsphere.net.classpath
Class Handler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- io.microsphere.net.ExtendableProtocolURLStreamHandler
-
- io.microsphere.net.classpath.Handler
-
public class Handler extends ExtendableProtocolURLStreamHandler
The "classpath" protocolURLStreamHandler
based onClassLoader
- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
ClassLoader.getResource(String)
,ClassLoaderUtils.getDefaultClassLoader()
-
-
Constructor Summary
Constructors Constructor Description Handler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.net.URLConnection
openConnection(java.net.URL u, java.net.Proxy proxy)
-
Methods inherited from class io.microsphere.net.ExtendableProtocolURLStreamHandler
equals, getHandlePackages, getHandlePackagesPropertyValue, getProtocol, hashCode, hostsEqual, init, initSubProtocolURLConnectionFactories, openConnection, openFallbackConnection, parseURL, reformSpec, resolveAuthority, resolvePath, resolveSubProtocols, toExternalForm, toString
-
-
-
-
Method Detail
-
openConnection
protected java.net.URLConnection openConnection(java.net.URL u, java.net.Proxy proxy) throws java.io.IOException
- Overrides:
openConnection
in classExtendableProtocolURLStreamHandler
- Throws:
java.io.IOException
-
-