Class DirectoryUtils


  • public class DirectoryUtils
    extends java.lang.Object
    Author:
    Stuart Douglas
    • Method Detail

      • sendRequestedBlobs

        public static boolean sendRequestedBlobs​(HttpServerExchange exchange)
        Serve static resource for the directory listing
        Parameters:
        exchange - The exchange
        Returns:
        true if resources were served
      • renderDirectoryListing

        public static java.lang.StringBuilder renderDirectoryListing​(java.lang.String path,
                                                                     Resource resource)