Package io.dropwizard.servlets.assets

Examples of io.dropwizard.servlets.assets.AssetServlet$CachedAsset


        LOGGER.info("Registering AssetBundle with name: {} for path {}", assetsName, uriPath + '*');
        environment.servlets().addServlet(assetsName, createServlet()).addMapping(uriPath + '*');
    }

    private AssetServlet createServlet() {
        return new AssetServlet(resourcePath, uriPath, indexFile, Charsets.UTF_8);
    }
View Full Code Here

TOP

Related Classes of io.dropwizard.servlets.assets.AssetServlet$CachedAsset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.