|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.fileupload.portlet.PortletRequestContext
public class PortletRequestContext
Provides access to the request information needed for a request made to a portlet.
Constructor Summary | |
---|---|
PortletRequestContext(javax.portlet.ActionRequest request)
Construct a context for this request. |
Method Summary | |
---|---|
String |
getCharacterEncoding()
Retrieve the character encoding for the request. |
int |
getContentLength()
Retrieve the content length of the request. |
String |
getContentType()
Retrieve the content type of the request. |
InputStream |
getInputStream()
Retrieve the input stream for the request. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PortletRequestContext(javax.portlet.ActionRequest request)
request
- The request to which this context applies.Method Detail |
---|
public String getCharacterEncoding()
getCharacterEncoding
in interface RequestContext
public String getContentType()
getContentType
in interface RequestContext
public int getContentLength()
getContentLength
in interface RequestContext
public InputStream getInputStream() throws IOException
getInputStream
in interface RequestContext
IOException
- if a problem occurs.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |