public class Handler extends URLStreamHandler
URLStreamHandler
for Spring Boot loader JarFile
s.JarFile.registerUrlProtocolHandler()
Modifier and Type | Method and Description |
---|---|
JarFile |
getJarFileFromUrl(URL url) |
protected URLConnection |
openConnection(URL url) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
public Handler()
public Handler(JarFile jarFile)
protected URLConnection openConnection(URL url) throws IOException
openConnection
in class URLStreamHandler
IOException
public JarFile getJarFileFromUrl(URL url) throws IOException
IOException
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.