FileService.@Deprecated public final class HttpFileService extends FileService
HttpService that serves static files from a file system.| Modifier and Type | Method and Description |
|---|---|
static HttpFileService |
forClassPath(ClassLoader classLoader,
String rootDir)
Deprecated.
|
static HttpFileService |
forClassPath(String rootDir)
Deprecated.
|
static HttpFileService |
forFileSystem(Path rootDir)
Deprecated.
Use
FileService.of(Path). |
static HttpFileService |
forFileSystem(String rootDir)
Deprecated.
Use
FileService.of(Path). |
static HttpFileService |
forVfs(HttpVfs vfs)
Deprecated.
|
builder, builder, builder, builder, config, doGet, of, of, of, of, orElse, serviceAdded, shouldCachePathdoDelete, doDelete, doGet, doHead, doHead, doOptions, doOptions, doPatch, doPatch, doPost, doPost, doPut, doPut, doTrace, doTrace, serveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecorate, decorate@Deprecated public static HttpFileService forFileSystem(String rootDir)
FileService.of(Path).HttpFileService for the specified rootDir in an O/S file system.@Deprecated public static HttpFileService forFileSystem(Path rootDir)
FileService.of(Path).HttpFileService for the specified rootDir in an O/S file system.@Deprecated public static HttpFileService forClassPath(String rootDir)
FileService.of(ClassLoader, String).HttpFileService for the specified rootDir in the current class path.@Deprecated public static HttpFileService forClassPath(ClassLoader classLoader, String rootDir)
FileService.of(ClassLoader, String).HttpFileService for the specified rootDir in the current class path.@Deprecated public static HttpFileService forVfs(HttpVfs vfs)
FileService.of(HttpVfs).HttpFileService for the specified HttpVfs.Copyright © 2020 LeanCloud. All rights reserved.