public class MultiSourceAssetServlet
extends io.dropwizard.servlets.assets.AssetServlet
AssetServlet which is able to search assets in multiple classpath locations.| Constructor and Description |
|---|
MultiSourceAssetServlet(LazyLocationProvider locationProvider,
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 absoluteRequestedResourcePath) |
doGet, getIndexFile, getResourceURL, getUriPath, readResourcedoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic MultiSourceAssetServlet(LazyLocationProvider locationProvider, java.lang.String uriPath, @Nullable java.lang.String indexFile, @Nullable java.nio.charset.Charset defaultCharset)