Class Handler
java.lang.Object
java.net.URLStreamHandler
org.springframework.boot.loader.net.protocol.jar.Handler
URLStreamHandler
alternative to sun.net.www.protocol.jar.Handler
with
optimized support for nested jars.- Since:
- 3.2.0
- Author:
- Phillip Webb
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Clear any internal caches.protected int
protected URLConnection
openConnection
(URL url) protected void
protected boolean
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hostsEqual, openConnection, setURL, setURL, toExternalForm
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
openConnection
- Specified by:
openConnection
in classURLStreamHandler
- Throws:
IOException
-
parseURL
- Overrides:
parseURL
in classURLStreamHandler
-
hashCode
- Overrides:
hashCode
in classURLStreamHandler
-
sameFile
- Overrides:
sameFile
in classURLStreamHandler
-
clearCache
public static void clearCache()Clear any internal caches.
-