Class Handler
java.lang.Object
java.net.URLStreamHandler
org.springframework.boot.loader.net.protocol.nested.Handler
- Since:
- 3.2.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Assert that the specified URL is a valid "nested" URL.static void
Clear any internal caches.protected URLConnection
openConnection
(URL url) Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
openConnection
- Specified by:
openConnection
in classURLStreamHandler
- Throws:
IOException
-
assertUrlIsNotMalformed
Assert that the specified URL is a valid "nested" URL.- Parameters:
url
- the URL to check
-
clearCache
public static void clearCache()Clear any internal caches.
-