public class DirectoryUtils
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
DirectoryUtils.Blobs |
Constant Content
|
Modifier and Type | Method | Description |
---|---|---|
static void |
renderDirectoryListing(HttpServerExchange exchange,
Resource resource) |
|
static java.lang.StringBuilder |
renderDirectoryListing(java.lang.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 java.lang.StringBuilder renderDirectoryListing(java.lang.String path, Resource resource)
public static void renderDirectoryListing(HttpServerExchange exchange, Resource resource)
Copyright © 2018. All rights reserved.