public class Handler extends URLStreamHandler
URLStreamHandler for Spring Boot loader JarFiles.JarFile.registerUrlProtocolHandler()| Modifier and Type | Method | Description |
|---|---|---|
JarFile |
getRootJarFileFromUrl(URL url) |
|
protected URLConnection |
openConnection(URL url) |
|
static void |
setUseFastConnectionExceptions(boolean useFastConnectionExceptions) |
Set if a generic static exception can be thrown when a URL cannot be connected.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic Handler()
public Handler(JarFile jarFile)
public static void setUseFastConnectionExceptions(boolean useFastConnectionExceptions)
useFastConnectionExceptions - if fast connection exceptions can be used.protected URLConnection openConnection(URL url) throws IOException
openConnection in class URLStreamHandlerIOExceptionpublic JarFile getRootJarFileFromUrl(URL url) throws IOException
IOExceptionCopyright © 2018. All rights reserved.