public class DirectoryUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DirectoryUtils.Blobs
Constant Content
|
Modifier and Type | Method and Description |
---|---|
static void |
renderDirectoryListing(HttpServerExchange exchange,
Resource resource) |
static StringBuilder |
renderDirectoryListing(String path,
Resource resource) |
static boolean |
sendRequestedBlobs(HttpServerExchange exchange)
Serve static resource for the directory listing
|
public static boolean sendRequestedBlobs(HttpServerExchange exchange)
exchange
- The exchangepublic static StringBuilder renderDirectoryListing(String path, Resource resource)
public static void renderDirectoryListing(HttpServerExchange exchange, Resource resource)
Copyright © 2017 JBoss by Red Hat. All rights reserved.