|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.environment.portlet.PortletRequest org.apache.cocoon.environment.portlet.ActionRequest
public final class ActionRequest
Implements the Request
interface for the
JSR-168 (Portlet) environment.
Field Summary |
---|
Fields inherited from class org.apache.cocoon.environment.portlet.PortletRequest |
---|
portletRequestURI |
Constructor Summary | |
---|---|
protected |
ActionRequest(String servletPath,
String pathInfo,
javax.portlet.ActionRequest request,
PortletEnvironment environment)
Creates a ActionRequest based on a real ActionRequest object |
Method Summary | |
---|---|
javax.portlet.ActionRequest |
getActionRequest()
Type cast portletRequest to ActionRequest |
String |
getCharacterEncoding()
Returns the name of the character encoding used in the body of this request. |
int |
getContentLength()
Action request provides content length for custom upload handling |
String |
getContentType()
Action request provides content type for custom upload handling |
InputStream |
getInputStream()
|
String |
getMethod()
Action request can be always recognized by POST method |
BufferedReader |
getReader()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ActionRequest(String servletPath, String pathInfo, javax.portlet.ActionRequest request, PortletEnvironment environment)
Method Detail |
---|
public String getCharacterEncoding()
Request
null
if the request
does not specify a character encoding
getCharacterEncoding
in interface Request
getCharacterEncoding
in class PortletRequest
String
containing the name of
the chararacter encoding, or null
if the request does not specify a character encodingpublic String getMethod()
getMethod
in interface Request
getMethod
in class PortletRequest
String
specifying the name
of the method with which
this request was madepublic javax.portlet.ActionRequest getActionRequest()
public InputStream getInputStream() throws IOException
IOException
public BufferedReader getReader() throws IOException
IOException
public int getContentLength()
getContentLength
in interface Request
getContentLength
in class PortletRequest
public String getContentType()
getContentType
in interface Request
getContentType
in class PortletRequest
String
containing the name
of the MIME type of
the request, or -1 if the type is not known
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |