public class AssetResolutionServlet
extends io.dropwizard.servlets.assets.AssetServlet
AssetServlet which is able to search assets in multiple classpath locations.| Constructor and Description |
|---|
AssetResolutionServlet(AssetLookup assets,
java.lang.String uriPath,
java.lang.String indexFile,
java.nio.charset.Charset defaultCharset) |
| Modifier and Type | Method and Description |
|---|---|
protected java.net.URL |
getResourceUrl(java.lang.String absolutePath) |
doGet, getIndexFile, getResourceURL, getUriPath, readResourcedoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic AssetResolutionServlet(AssetLookup assets, java.lang.String uriPath, @Nullable java.lang.String indexFile, @Nullable java.nio.charset.Charset defaultCharset)