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 |
---|
MultipartFormData.FormPart() |
MultipartFormData.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 MultipartFormData.FormPart(org.apache.commons.fileupload.FileItemStream stream)
public MultipartFormData.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 © 2018. All rights reserved.