public class RepresentationContext extends Object implements org.apache.commons.fileupload.RequestContext
| Constructor and Description |
|---|
RepresentationContext(Representation multipartForm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCharacterEncoding()
Returns the character encoding for the form.
|
int |
getContentLength()
Returns the content length of the form.
|
String |
getContentType()
Returns the content type of the form.
|
InputStream |
getInputStream()
Returns the input stream.
|
public RepresentationContext(Representation multipartForm)
multipartForm - The multipart form to parse.public String getCharacterEncoding()
getCharacterEncoding in interface org.apache.commons.fileupload.RequestContextpublic int getContentLength()
getContentLength in interface org.apache.commons.fileupload.RequestContextpublic String getContentType()
getContentType in interface org.apache.commons.fileupload.RequestContextpublic InputStream getInputStream() throws IOException
getInputStream in interface org.apache.commons.fileupload.RequestContextIOExceptionCopyright © 2005–2015. All rights reserved.