| Package | Description |
|---|---|
| com.linecorp.armeria.server.file |
HTTP static file service.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpFileService
Deprecated.
Use
FileService. |
| Modifier and Type | Method and Description |
|---|---|
FileService |
FileServiceBuilder.build()
Returns a newly-created
FileService based on the properties of this builder. |
static FileService |
FileService.of(ClassLoader classLoader,
String rootDir)
Returns a new
FileService for the specified rootDir in the current class path. |
static FileService |
FileService.of(File rootDir)
Returns a new
FileService for the specified rootDir in an O/S file system. |
static FileService |
FileService.of(HttpVfs vfs)
Returns a new
FileService for the specified HttpVfs. |
static FileService |
FileService.of(Path rootDir)
Returns a new
FileService for the specified rootDir in an O/S file system. |
Copyright © 2020 LeanCloud. All rights reserved.