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.RequestContext
public int getContentLength()
getContentLength
in interface org.apache.commons.fileupload.RequestContext
public String getContentType()
getContentType
in interface org.apache.commons.fileupload.RequestContext
public InputStream getInputStream() throws IOException
getInputStream
in interface org.apache.commons.fileupload.RequestContext
IOException
Copyright © 2005–2017. All rights reserved.