Class DirectoryUtils
- java.lang.Object
-
- io.undertow.server.handlers.resource.DirectoryUtils
-
public class DirectoryUtils extends java.lang.Object- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDirectoryUtils.BlobsConstant Content
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrenderDirectoryListing(HttpServerExchange exchange, Resource resource)static java.lang.StringBuilderrenderDirectoryListing(java.lang.String path, Resource resource)static booleansendRequestedBlobs(HttpServerExchange exchange)Serve static resource for the directory listing
-
-
-
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)
-
renderDirectoryListing
public static void renderDirectoryListing(HttpServerExchange exchange, Resource resource)
-
-