public class RepresentationContext extends Object implements 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 RequestContextpublic int getContentLength()
getContentLength in interface RequestContextpublic String getContentType()
getContentType in interface RequestContextpublic InputStream getInputStream() throws IOException
getInputStream in interface RequestContextIOExceptionCopyright © 2005-2017 Restlet.