Package ratpack.file.internal

Examples of ratpack.file.internal.AssetHandler


   * @param path The relative path to the location of the assets to serve
   * @param indexFiles The index files to try if the request is for a directory
   * @return A handler
   */
  public static Handler assets(LaunchConfig launchConfig, String path, List<String> indexFiles) {
    Handler handler = new AssetHandler(copyOf(indexFiles));
    return fileSystem(launchConfig, path, handler);
  }
View Full Code Here

TOP

Related Classes of ratpack.file.internal.AssetHandler

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.