final class URLResourceSubstitution extends Object
This class is a bit of a hack to allow static resource to work correctly with Substrate.
The class path is iterated at image build time, and any web resources have their content length and last modified times stored in a Map.
This seems like a simple enough solution for now, but hopefully we can do something better in the future. Another possibility is just not supporting embedded resources, and requiring resources to be served from the file system (or extracted tmp dir)
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
URLResourceSubstitution.ResourceInfo |
| Constructor and Description |
|---|
URLResourceSubstitution() |
Copyright © 2019 JBoss by Red Hat. All rights reserved.