public class ServletFilePart extends Object implements javax.servlet.http.Part
| 构造器和说明 |
|---|
ServletFilePart(io.netty.handler.codec.http.multipart.FileUpload fileUpload,
Supplier<ResourceManager> resourceManagerSupplier) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
delete() |
String |
getContentType() |
String |
getHeader(String name) |
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String name) |
InputStream |
getInputStream() |
String |
getName() |
long |
getSize() |
String |
getSubmittedFileName() |
static void |
main(String[] args) |
String |
toString() |
void |
write(String fileName) |
public ServletFilePart(io.netty.handler.codec.http.multipart.FileUpload fileUpload,
Supplier<ResourceManager> resourceManagerSupplier)
public InputStream getInputStream() throws IOException
getInputStream 在接口中 javax.servlet.http.PartIOExceptionpublic static void main(String[] args)
public String getContentType()
getContentType 在接口中 javax.servlet.http.Partpublic String getName()
getName 在接口中 javax.servlet.http.Partpublic String getSubmittedFileName()
getSubmittedFileName 在接口中 javax.servlet.http.Partpublic long getSize()
getSize 在接口中 javax.servlet.http.Partpublic void write(String fileName) throws IOException
write 在接口中 javax.servlet.http.PartIOExceptionpublic void delete()
throws IOException
delete 在接口中 javax.servlet.http.PartIOExceptionpublic Collection<String> getHeaders(String name)
getHeaders 在接口中 javax.servlet.http.Partpublic Collection<String> getHeaderNames()
getHeaderNames 在接口中 javax.servlet.http.PartCopyright © 2021. All rights reserved.