Package kong.unirest.core
Class InputStreamPart
- All Implemented Interfaces:
Comparable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInputStreamPart
(String name, InputStream value, String contentType) InputStreamPart
(String name, InputStream value, String contentType, String fileName) -
Method Summary
Methods inherited from class kong.unirest.core.BodyPart
compareTo, getContentType, getName, getPartType, getValue
-
Field Details
-
fileName
-
-
Constructor Details
-
InputStreamPart
InputStreamPart(String name, InputStream value, String contentType) -
InputStreamPart
InputStreamPart(String name, InputStream value, String contentType, String fileName)
-
-
Method Details
-
getFileName
- Overrides:
getFileName
in classBodyPart<InputStream>
-
isFile
public boolean isFile()- Specified by:
isFile
in classBodyPart<InputStream>
-
toString
-