Class DirectoryUtils

java.lang.Object
io.undertow.server.handlers.resource.DirectoryUtils

public class DirectoryUtils extends Object
Author:
Stuart Douglas
  • Method Details

    • 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 StringBuilder renderDirectoryListing(String path, Resource resource)
    • renderDirectoryListing

      public static void renderDirectoryListing(HttpServerExchange exchange, Resource resource)