public class NonCachedJarStreamHandler extends URLStreamHandler
| Constructor and Description |
|---|
NonCachedJarStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
static URL |
forceNonCachedJarURL(URL url)
JDK caches JarFiles, which causes unwanted side effects
in multi-threaded environments.
|
protected URLConnection |
openConnection(URL u) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic static URL forceNonCachedJarURL(URL url)
url - protected URLConnection openConnection(URL u) throws IOException
openConnection in class URLStreamHandlerIOExceptionCopyright © 2021. All rights reserved.