com.liferay.portal.kernel.portlet
Class ActionRequestWrapper

java.lang.Object
  extended bycom.liferay.portal.kernel.portlet.PortletRequestWrapper
      extended bycom.liferay.portal.kernel.portlet.ActionRequestWrapper
All Implemented Interfaces:
javax.portlet.ActionRequest, javax.portlet.PortletRequest
Direct Known Subclasses:
ProtectedActionRequest

public class ActionRequestWrapper
extends PortletRequestWrapper
implements javax.portlet.ActionRequest

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from interface javax.portlet.PortletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO
 
Constructor Summary
ActionRequestWrapper(javax.portlet.ActionRequest req)
           
 
Method Summary
 java.lang.String getCharacterEncoding()
           
 int getContentLength()
           
 java.lang.String getContentType()
           
 java.io.InputStream getPortletInputStream()
           
 java.io.BufferedReader getReader()
           
 void setCharacterEncoding(java.lang.String enc)
           
 
Methods inherited from class com.liferay.portal.kernel.portlet.PortletRequestWrapper
getAttribute, getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletRequest, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setPortletRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.portlet.PortletRequest
getAttribute, getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute
 

Constructor Detail

ActionRequestWrapper

public ActionRequestWrapper(javax.portlet.ActionRequest req)
Method Detail

getPortletInputStream

public java.io.InputStream getPortletInputStream()
                                          throws java.io.IOException
Specified by:
getPortletInputStream in interface javax.portlet.ActionRequest
Throws:
java.io.IOException

setCharacterEncoding

public void setCharacterEncoding(java.lang.String enc)
                          throws java.io.UnsupportedEncodingException
Specified by:
setCharacterEncoding in interface javax.portlet.ActionRequest
Throws:
java.io.UnsupportedEncodingException

getReader

public java.io.BufferedReader getReader()
                                 throws java.io.IOException,
                                        java.io.UnsupportedEncodingException
Specified by:
getReader in interface javax.portlet.ActionRequest
Throws:
java.io.IOException
java.io.UnsupportedEncodingException

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface javax.portlet.ActionRequest

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface javax.portlet.ActionRequest

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface javax.portlet.ActionRequest