| Package | Description |
|---|---|
| com.linecorp.armeria.server.file |
HTTP static file service.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractHttpVfs
A skeletal
HttpVfs implementation. |
| Modifier and Type | Method and Description |
|---|---|
static HttpVfs |
HttpVfs.ofClassPath(ClassLoader classLoader,
String rootDir)
Creates a new
HttpVfs with the specified rootDir in the current class path. |
static HttpVfs |
HttpVfs.ofClassPath(String rootDir)
Creates a new
HttpVfs with the specified rootDir in the current class path. |
static HttpVfs |
HttpVfs.ofFileSystem(Path rootDir)
Creates a new
HttpVfs with the specified rootDir in an O/S file system. |
static HttpVfs |
HttpVfs.ofFileSystem(String rootDir)
Creates a new
HttpVfs with the specified rootDir in an O/S file system. |
HttpVfs |
HttpFileServiceConfig.vfs()
Returns the
HttpVfs that provides the static files to an HttpFileService. |
| Modifier and Type | Method and Description |
|---|---|
static HttpFileServiceBuilder |
HttpFileServiceBuilder.forVfs(HttpVfs vfs)
Creates a new
HttpFileServiceBuilder with the specified HttpVfs. |
static HttpFileService |
HttpFileService.forVfs(HttpVfs vfs)
Creates a new
HttpFileService for the specified HttpVfs. |
Copyright © 2020 LeanCloud. All rights reserved.