public class GlobalArchiveStreamHandler extends URLStreamHandler
shrinkwrap protocol (urls starting with shrinkwrap://).
This is for URLs that don't have the embedded stream handler, which is for instance the case when resource URLs obtained from Piranha Micro are converted to external string form and used to create a new URL.
| Constructor and Description |
|---|
GlobalArchiveStreamHandler(cloud.piranha.api.WebApplication webApplication) |
| Modifier and Type | Method and Description |
|---|---|
URLConnection |
connect(URL requestedUrl) |
URLConnection |
openConnection(URL requestedUrl) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic GlobalArchiveStreamHandler(cloud.piranha.api.WebApplication webApplication)
public URLConnection connect(URL requestedUrl)
public URLConnection openConnection(URL requestedUrl) throws IOException
openConnection in class URLStreamHandlerIOExceptionCopyright © 2020. All rights reserved.