org.apache.pluto.portlet
Class ActionRequestWrapper

java.lang.Object
  extended by javax.servlet.http.HttpServletRequestWrapper
      extended by org.apache.pluto.portlet.PortletRequestWrapper
          extended by org.apache.pluto.portlet.ActionRequestWrapper

public class ActionRequestWrapper
extends PortletRequestWrapper


Constructor Summary
ActionRequestWrapper(ActionRequest actionRequest)
          Creates a ServletRequest adaptor wrapping the given request object.
 
Method Summary
 ActionRequest getActionRequest()
          Return the wrapped ServletRequest object.
 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 org.apache.pluto.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, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionRequestWrapper

public ActionRequestWrapper(ActionRequest actionRequest)
Creates a ServletRequest adaptor wrapping the given request object.

Throws:
java.lang.IllegalArgumentException - if the request is null.
Method Detail

getPortletInputStream

public java.io.InputStream getPortletInputStream()
                                          throws java.io.IOException
Throws:
java.io.IOException

setCharacterEncoding

public void setCharacterEncoding(java.lang.String enc)
                          throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

getReader

public java.io.BufferedReader getReader()
                                 throws java.io.UnsupportedEncodingException,
                                        java.io.IOException
Throws:
java.io.UnsupportedEncodingException
java.io.IOException

getCharacterEncoding

public java.lang.String getCharacterEncoding()

getContentType

public java.lang.String getContentType()

getContentLength

public int getContentLength()

getActionRequest

public ActionRequest getActionRequest()
Return the wrapped ServletRequest object.