| 程序包 | 说明 |
|---|---|
| com.oreilly.servlet | |
| com.oreilly.servlet.multipart |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
MultipartRequest.parse(javax.servlet.http.HttpServletRequest request,
String saveDirectory,
long maxPostSize,
String encoding,
FileRenamePolicy policy)
Constructs a new MultipartRequest to handle the specified request,
saving any uploaded files to the given directory, and limiting the
upload size to the specified length.
|
| 构造器和说明 |
|---|
MultipartRequest(javax.servlet.http.HttpServletRequest request,
String saveDirectory,
long maxPostSize,
FileRenamePolicy policy)
Constructs a new MultipartRequest to handle the specified request,
saving any uploaded files to the given directory, and limiting the
upload size to the specified length.
|
MultipartRequest(javax.servlet.http.HttpServletRequest request,
String saveDirectory,
long maxPostSize,
String encoding,
FileRenamePolicy policy) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultFileRenamePolicy
Implements a renaming policy that adds increasing integers to the body of
any file that collides.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
FilePart.setRenamePolicy(FileRenamePolicy policy)
Puts in place the specified policy for handling file name collisions.
|
Copyright © 2022. All rights reserved.