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 RequestContext
public int getContentLength()
getContentLength
in interface RequestContext
public java.lang.String getContentType()
getContentType
in interface RequestContext
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface RequestContext
java.io.IOException
Copyright © 2005-2020 Restlet.