public class RepresentationContext extends java.lang.Object implements RequestContext
| Constructor and Description |
|---|
RepresentationContext(Representation multipartForm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCharacterEncoding()
Returns the character encoding for the form.
|
int |
getContentLength()
Returns the content length of the form.
|
java.lang.String |
getContentType()
Returns the content type of the form.
|
java.io.InputStream |
getInputStream()
Returns the input stream.
|
public RepresentationContext(Representation multipartForm)
multipartForm - The multipart form to parse.public java.lang.String getCharacterEncoding()
getCharacterEncoding in interface RequestContextpublic int getContentLength()
getContentLength in interface RequestContextpublic java.lang.String getContentType()
getContentType in interface RequestContextpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface RequestContextjava.io.IOExceptionCopyright © 2005-2020 Restlet.