Interface HttpPart
public interface HttpPart
-
Method Details
-
getContent
get the content of the part as a string.- Returns:
- content of the part as a string.
- Throws:
IOException
-
getFileName
String getFileName()get the file name of the part if it is a file.- Returns:
- file name of the part, or null if it is not a file
-
getInputStream
get input stream of the part.- Returns:
- input stream of the part
- Throws:
IOException
-
getName
String getName()get the name of the part.- Returns:
- name of the part
-
isFile
boolean isFile()Check if the part is a file.- Returns:
- true if the part is a file, false otherwise.
-
toHttpString
-