org.apache.myfaces.webapp.filter.portlet
Class ActionRequestWrapper

java.lang.Object
  extended by org.apache.myfaces.webapp.filter.portlet.PortletRequestWrapper
      extended by org.apache.myfaces.webapp.filter.portlet.ActionRequestWrapper
All Implemented Interfaces:
javax.portlet.ActionRequest, javax.portlet.PortletRequest
Direct Known Subclasses:
PortletMultipartRequestWrapper

public class ActionRequestWrapper
extends PortletRequestWrapper
implements javax.portlet.ActionRequest

NOTE: This class should be used(instantiated) only by TomahawkFacesContextWrapper. By that reason, it could change in the future.

Since:
1.1.8
Version:
$Revision: 782179 $ $Date: 2009-06-05 20:35:54 -0500 (Fri, 05 Jun 2009) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

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.PortletRequest request)
           
 
Method Summary
 String getCharacterEncoding()
           
 int getContentLength()
           
 String getContentType()
           
 InputStream getPortletInputStream()
           
 BufferedReader getReader()
           
 void setCharacterEncoding(String s)
           
 
Methods inherited from class org.apache.myfaces.webapp.filter.portlet.PortletRequestWrapper
getAttribute, getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequest, 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
 
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.PortletRequest request)
Method Detail

getCharacterEncoding

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

getContentLength

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

getContentType

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

getPortletInputStream

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

getReader

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

setCharacterEncoding

public void setCharacterEncoding(String s)
                          throws UnsupportedEncodingException
Specified by:
setCharacterEncoding in interface javax.portlet.ActionRequest
Throws:
UnsupportedEncodingException


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.