类 FileStorage
java.lang.Object
cn.taketoday.http.codec.multipart.FileStorage
Represents a directory used to store parts larger than
DefaultPartHttpMessageReader.setMaxInMemorySize(int).- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma, Harry Yang
-
嵌套类概要
嵌套类修饰符和类型类说明private static final classprivate static final class -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract reactor.core.publisher.Mono<Path>Get the mono of the directory to store files in.static FileStorageCreate a newFileStoragefrom a user-specified path.static FileStoragetempDirectory(Supplier<reactor.core.scheduler.Scheduler> scheduler) Create a newFileStoragebased on a temporary directory.
-
字段详细资料
-
logger
private static final cn.taketoday.logging.Logger logger
-
-
构造器详细资料
-
FileStorage
protected FileStorage()
-
-
方法详细资料
-
directory
Get the mono of the directory to store files in. -
fromPath
Create a newFileStoragefrom a user-specified path. Creates the path if it does not exist.- 抛出:
IOException
-
tempDirectory
Create a newFileStoragebased on a temporary directory.- 参数:
scheduler- the scheduler to use for blocking operations
-