public class PartImpl extends Object implements jakarta.servlet.http.Part
| Constructor and Description |
|---|
PartImpl(String name,
FormData.FormValue formValue,
jakarta.servlet.MultipartConfigElement config,
ServletContextImpl servletContext,
HttpServletRequestImpl servletRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
String |
getContentType() |
String |
getHeader(String name) |
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String name) |
InputStream |
getInputStream() |
String |
getName() |
long |
getSize() |
String |
getSubmittedFileName() |
void |
write(String fileName) |
public PartImpl(String name, FormData.FormValue formValue, jakarta.servlet.MultipartConfigElement config, ServletContextImpl servletContext, HttpServletRequestImpl servletRequest)
public InputStream getInputStream() throws IOException
getInputStream in interface jakarta.servlet.http.PartIOExceptionpublic String getContentType()
getContentType in interface jakarta.servlet.http.Partpublic String getName()
getName in interface jakarta.servlet.http.Partpublic String getSubmittedFileName()
getSubmittedFileName in interface jakarta.servlet.http.Partpublic long getSize()
getSize in interface jakarta.servlet.http.Partpublic void write(String fileName) throws IOException
write in interface jakarta.servlet.http.PartIOExceptionpublic void delete()
throws IOException
delete in interface jakarta.servlet.http.PartIOExceptionpublic String getHeader(String name)
getHeader in interface jakarta.servlet.http.Partpublic Collection<String> getHeaders(String name)
getHeaders in interface jakarta.servlet.http.Partpublic Collection<String> getHeaderNames()
getHeaderNames in interface jakarta.servlet.http.PartCopyright © 2022 JBoss by Red Hat. All rights reserved.