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.UploadContext
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in interface org.apache.commons.fileupload.RequestContext
public java.lang.String getContentType()
getContentType
in interface org.apache.commons.fileupload.RequestContext
public int getContentLength()
getContentLength
in interface org.apache.commons.fileupload.RequestContext
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface org.apache.commons.fileupload.RequestContext
java.io.IOException