org.apache.pluto.portlet
Class ActionRequestWrapper
java.lang.Object
javax.servlet.http.HttpServletRequestWrapper
org.apache.pluto.portlet.PortletRequestWrapper
org.apache.pluto.portlet.ActionRequestWrapper
public class ActionRequestWrapper
- extends PortletRequestWrapper
Constructor Summary |
ActionRequestWrapper(ActionRequest actionRequest)
Creates a ServletRequest adaptor wrapping the given request object. |
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 |
ActionRequestWrapper
public ActionRequestWrapper(ActionRequest actionRequest)
- Creates a ServletRequest adaptor wrapping the given request object.
- Throws:
java.lang.IllegalArgumentException
- if the request is null.
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.