public class PartImpl extends Object implements javax.servlet.http.Part
Constructor and Description |
---|
PartImpl(String name, FormData.FormValue formValue, javax.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, javax.servlet.MultipartConfigElement config, ServletContextImpl servletContext, HttpServletRequestImpl servletRequest)
public InputStream getInputStream() throws IOException
getInputStream
in interface javax.servlet.http.Part
IOException
public String getContentType()
getContentType
in interface javax.servlet.http.Part
public String getName()
getName
in interface javax.servlet.http.Part
public String getSubmittedFileName()
getSubmittedFileName
in interface javax.servlet.http.Part
public long getSize()
getSize
in interface javax.servlet.http.Part
public void write(String fileName) throws IOException
write
in interface javax.servlet.http.Part
IOException
public void delete() throws IOException
delete
in interface javax.servlet.http.Part
IOException
public String getHeader(String name)
getHeader
in interface javax.servlet.http.Part
public Collection<String> getHeaders(String name)
getHeaders
in interface javax.servlet.http.Part
public Collection<String> getHeaderNames()
getHeaderNames
in interface javax.servlet.http.Part
Copyright © 2017 JBoss by Red Hat. All rights reserved.