|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.environment.impl.AbstractRequest
org.apache.cocoon.environment.portlet.PortletRequest
org.apache.cocoon.environment.portlet.ActionRequest
Implements the Request
interface for the
JSR-168 (Portlet) environment.
Field Summary |
Fields inherited from class org.apache.cocoon.environment.portlet.PortletRequest |
portletRequestURI |
Fields inherited from interface org.apache.cocoon.environment.Request |
GLOBAL_SCOPE, REQUEST_SCOPE |
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()
Retrieves the body of the request as binary data using an InputStream . |
String |
getMethod()
Action request can be always recognized by POST method |
BufferedReader |
getReader()
|
Methods inherited from class org.apache.cocoon.environment.impl.AbstractRequest |
getAttributes, getHeaders, getParameters |
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
Request.getCharacterEncoding()
public String getMethod()
getMethod
in interface Request
getMethod
in class PortletRequest
public javax.portlet.ActionRequest getActionRequest()
public InputStream getInputStream() throws IOException
Request
InputStream
.
InputStream
containing the body of the request.
IOException
- if an input or output exception occurredRequest.getInputStream()
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |