类 DefaultParts.DefaultFilePart
java.lang.Object
cn.taketoday.http.codec.multipart.DefaultParts.AbstractPart
cn.taketoday.http.codec.multipart.DefaultParts.DefaultPart
cn.taketoday.http.codec.multipart.DefaultParts.DefaultFilePart
- 封闭类:
- DefaultParts
private static class DefaultParts.DefaultFilePart
extends DefaultParts.DefaultPart
implements FilePart
Default implementation of
FilePart.-
字段概要
从类继承的字段 cn.taketoday.http.codec.multipart.DefaultParts.DefaultPart
content -
构造器概要
构造器 -
方法概要
从类继承的方法 cn.taketoday.http.codec.multipart.DefaultParts.DefaultPart
content, delete从类继承的方法 cn.taketoday.http.codec.multipart.DefaultParts.AbstractPart
headers, name从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 cn.taketoday.http.codec.multipart.FilePart
transferTo
-
构造器详细资料
-
DefaultFilePart
-
-
方法详细资料
-
filename
从接口复制的说明:FilePartReturn the original filename in the client's filesystem.Note: Please keep in mind this filename is supplied by the client and should not be used blindly. In addition to not using the directory portion, the file name could also contain characters such as ".." and others that can be used maliciously. It is recommended to not use this filename directly. Preferably generate a unique one and save this one one somewhere for reference, if necessary.
-
transferTo
从接口复制的说明:FilePartConvenience method to copy the content of the file in this part to the given destination file. If the destination file already exists, it will be truncated first.- 指定者:
transferTo在接口中FilePart- 参数:
dest- the target file- 返回:
- completion
Monowith the result of the file transfer, possiblyIllegalStateExceptionif the part isn't a file - 另请参阅:
-
toString
- 覆盖:
toString在类中DefaultParts.DefaultPart
-