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