|
||||||||||
| 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 | |
|---|---|
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. |
| 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 String getCharacterEncoding()
getCharacterEncoding in interface RequestContextpublic int getContentLength()
getContentLength in interface RequestContextpublic String getContentType()
getContentType in interface RequestContext
public InputStream getInputStream()
throws IOException
getInputStream in interface RequestContextIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||