public static class MultipartFormData.FormPart extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
binaryContent |
protected String |
contentType |
protected String |
fieldName |
protected String |
fileName |
protected String |
textContent |
Constructor and Description |
---|
FormPart() |
FormPart(org.apache.commons.fileupload.FileItemStream stream) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBinaryContent() |
String |
getContentType() |
String |
getFieldName() |
String |
getFileName() |
protected InputStream |
getInputStream(org.apache.commons.fileupload.FileItemStream stream) |
String |
getTextContent() |
protected byte[] |
readBinaryContent(org.apache.commons.fileupload.FileItemStream stream) |
protected String fieldName
protected String contentType
protected String textContent
protected String fileName
protected byte[] binaryContent
public FormPart(org.apache.commons.fileupload.FileItemStream stream)
public FormPart()
protected byte[] readBinaryContent(org.apache.commons.fileupload.FileItemStream stream)
protected InputStream getInputStream(org.apache.commons.fileupload.FileItemStream stream)
public String getFieldName()
public String getContentType()
public String getTextContent()
public byte[] getBinaryContent()
public String getFileName()
Copyright © 2022. All rights reserved.