| 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.of(ClassLoader classLoader,
String rootDir)
Creates a new
HttpVfs with the specified rootDir in the current class path. |
static HttpVfs |
HttpVfs.of(File rootDir)
Creates a new
HttpVfs with the specified rootDir in an O/S file system. |
static HttpVfs |
HttpVfs.of(Path rootDir)
Creates a new
HttpVfs with the specified rootDir in an O/S file system. |
static HttpVfs |
HttpVfs.ofClassPath(ClassLoader classLoader,
String rootDir)
Deprecated.
|
static HttpVfs |
HttpVfs.ofClassPath(String rootDir)
Deprecated.
|
static HttpVfs |
HttpVfs.ofFileSystem(Path rootDir)
Deprecated.
Use
of(Path). |
static HttpVfs |
HttpVfs.ofFileSystem(String rootDir)
Deprecated.
Use
of(Path). |
HttpVfs |
FileServiceConfig.vfs()
Returns the
HttpVfs that provides the static files to an FileService. |
| Modifier and Type | Method and Description |
|---|---|
static FileServiceBuilder |
FileService.builder(HttpVfs vfs)
Returns a new
FileServiceBuilder with the specified HttpVfs. |
static HttpFileServiceBuilder |
HttpFileServiceBuilder.forVfs(HttpVfs vfs)
Deprecated.
|
static HttpFileService |
HttpFileService.forVfs(HttpVfs vfs)
Deprecated.
|
static FileService |
FileService.of(HttpVfs vfs)
Returns a new
FileService for the specified HttpVfs. |
Copyright © 2020 LeanCloud. All rights reserved.