Files
2026-11-21 17:07:18 -05:00

62 lines
1.4 KiB
Java

/* */ package kong.unirest.cosmetics;
/* */
/* */ import java.io.InputStream;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class InputStreamPart
/* */ extends BodyPart<InputStream>
/* */ {
/* */ private String fileName;
/* */
/* */ InputStreamPart(String name, InputStream value, String contentType) {
/* 34 */ super(value, name, contentType);
/* */ }
/* */
/* */ InputStreamPart(String name, InputStream value, String contentType, String fileName) {
/* 38 */ super(value, name, contentType);
/* 39 */ this.fileName = fileName;
/* */ }
/* */
/* */
/* */ public String getFileName() {
/* 44 */ return this.fileName;
/* */ }
/* */
/* */
/* */ public boolean isFile() {
/* 49 */ return true;
/* */ }
/* */
/* */
/* */ public String toString() {
/* 54 */ return String.format("%s=%s", new Object[] { getName(), this.fileName });
/* */ }
/* */ }
/* Location: C:\Users\Xiao\Downloads\MinehutCosmetics.jar!\kon\\unirest\cosmetics\InputStreamPart.class
* Java compiler version: 11 (55.0)
* JD-Core Version: 1.1.3
*/