com.liferay.portlet
Class ActionRequestImpl

java.lang.Object
  extended bycom.liferay.portlet.RenderRequestImpl
      extended bycom.liferay.portlet.ActionRequestImpl
All Implemented Interfaces:
javax.portlet.ActionRequest, com.liferay.portal.kernel.portlet.LiferayRenderRequest, javax.portlet.PortletRequest, javax.portlet.RenderRequest

public class ActionRequestImpl
extends RenderRequestImpl
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
protected ActionRequestImpl()
           
 
Method Summary
 void defineObjects(javax.portlet.PortletConfig portletConfig, javax.portlet.ActionResponse res)
           
 java.lang.String getCharacterEncoding()
           
 int getContentLength()
           
 java.lang.String getContentType()
           
 java.io.InputStream getPortletInputStream()
           
 javax.portlet.PortletPreferences getPreferences()
           
 java.io.BufferedReader getReader()
           
 boolean isAction()
           
protected  void recycle()
           
 void setCharacterEncoding(java.lang.String enc)
           
 
Methods inherited from class com.liferay.portlet.RenderRequestImpl
defineObjects, getAttribute, getAttributeNames, getAuthType, getContextPath, getHttpServletRequest, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortlet, getPortletMode, getPortletName, getPortletSession, getPortletSession, getPreferencesImpl, getProperties, getProperty, getPropertyNames, getRemoteUser, getRenderParameters, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, init, isPortletModeAllowed, isPrivateRequestAttributes, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setPortletMode, setWindowState
 
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, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute
 

Constructor Detail

ActionRequestImpl

protected ActionRequestImpl()
Method Detail

getPreferences

public javax.portlet.PortletPreferences getPreferences()
Specified by:
getPreferences in interface javax.portlet.PortletRequest
Overrides:
getPreferences in class RenderRequestImpl

getCharacterEncoding

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

setCharacterEncoding

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

getContentLength

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

getContentType

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

getPortletInputStream

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

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

defineObjects

public void defineObjects(javax.portlet.PortletConfig portletConfig,
                          javax.portlet.ActionResponse res)

isAction

public boolean isAction()
Overrides:
isAction in class RenderRequestImpl

recycle

protected void recycle()
Overrides:
recycle in class RenderRequestImpl