|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.fileupload.RepresentationContext
public class RepresentationContext
Provides access to the representation information needed by the FileUpload processor.
Constructor Summary | |
---|---|
RepresentationContext(Representation multipartForm)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepresentationContext(Representation multipartForm)
multipartForm
- The multipart form to parse.Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |