public static class PartParser.ByteArrayUploadContext
extends java.lang.Object
implements org.apache.commons.fileupload.UploadContext
| Constructor and Description |
|---|
PartParser.ByteArrayUploadContext(byte[] content,
java.lang.String encoding,
java.lang.String contentType) |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
java.lang.String |
getCharacterEncoding() |
int |
getContentLength() |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
public PartParser.ByteArrayUploadContext(byte[] content,
java.lang.String encoding,
java.lang.String contentType)
public long contentLength()
contentLength in interface org.apache.commons.fileupload.UploadContextpublic java.lang.String getCharacterEncoding()
getCharacterEncoding in interface org.apache.commons.fileupload.RequestContextpublic java.lang.String getContentType()
getContentType in interface org.apache.commons.fileupload.RequestContextpublic int getContentLength()
getContentLength in interface org.apache.commons.fileupload.RequestContextpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface org.apache.commons.fileupload.RequestContextjava.io.IOException