public class RepresentationContext
extends java.lang.Object
implements org.apache.commons.fileupload.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 org.apache.commons.fileupload.RequestContext
public int getContentLength()
getContentLength
in interface org.apache.commons.fileupload.RequestContext
public java.lang.String getContentType()
getContentType
in interface org.apache.commons.fileupload.RequestContext
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface org.apache.commons.fileupload.RequestContext
java.io.IOException
Copyright © 2005-2024 Restlet.