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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidClear any internal caches.protected intprotected URLConnectionopenConnection(URL url) protected voidprotected booleanMethods inherited from class URLStreamHandler
equals, getDefaultPort, getHostAddress, hostsEqual, openConnection, setURL, setURL, toExternalForm
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
openConnection
- Specified by:
openConnectionin classURLStreamHandler- Throws:
IOException
-
parseURL
- Overrides:
parseURLin classURLStreamHandler
-
hashCode
- Overrides:
hashCodein classURLStreamHandler
-
sameFile
- Overrides:
sameFilein classURLStreamHandler
-
clearCache
public static void clearCache()Clear any internal caches.
-