Package br.ufsc.labsec.web
Class GenericPart
java.lang.Object
br.ufsc.labsec.web.GenericPart
- All Implemented Interfaces:
jakarta.servlet.http.Part
public class GenericPart extends Object implements jakarta.servlet.http.Part
-
Constructor Summary
Constructors Constructor Description GenericPart(String name)
-
Method Summary
Modifier and Type Method Description void
delete()
String
getContentType()
String
getHeader(String s)
Collection<String>
getHeaderNames()
Collection<String>
getHeaders(String s)
InputStream
getInputStream()
String
getName()
long
getSize()
String
getSubmittedFileName()
void
setInputStream(InputStream stream)
void
write(String s)
-
Constructor Details
-
GenericPart
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfacejakarta.servlet.http.Part
- Throws:
IOException
-
setInputStream
-
getContentType
- Specified by:
getContentType
in interfacejakarta.servlet.http.Part
-
getName
- Specified by:
getName
in interfacejakarta.servlet.http.Part
-
getSubmittedFileName
- Specified by:
getSubmittedFileName
in interfacejakarta.servlet.http.Part
-
getSize
public long getSize()- Specified by:
getSize
in interfacejakarta.servlet.http.Part
-
write
- Specified by:
write
in interfacejakarta.servlet.http.Part
- Throws:
IOException
-
delete
- Specified by:
delete
in interfacejakarta.servlet.http.Part
- Throws:
IOException
-
getHeader
- Specified by:
getHeader
in interfacejakarta.servlet.http.Part
-
getHeaders
- Specified by:
getHeaders
in interfacejakarta.servlet.http.Part
-
getHeaderNames
- Specified by:
getHeaderNames
in interfacejakarta.servlet.http.Part
-