org.apache.myfaces.trinidadinternal.config.upload
Class UploadActionRequestWrapper

java.lang.Object
  extended by javax.portlet.filter.PortletRequestWrapper
      extended by javax.portlet.filter.ActionRequestWrapper
          extended by org.apache.myfaces.trinidadinternal.config.upload.UploadActionRequestWrapper
All Implemented Interfaces:
javax.portlet.ActionRequest, javax.portlet.ClientDataRequest, javax.portlet.PortletRequest

public class UploadActionRequestWrapper
extends javax.portlet.filter.ActionRequestWrapper


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest
javax.portlet.PortletRequest.P3PUserInfos
 
Field Summary
 
Fields inherited from interface javax.portlet.ActionRequest
ACTION_NAME
 
Fields inherited from interface javax.portlet.PortletRequest
ACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFO
 
Constructor Summary
UploadActionRequestWrapper(javax.faces.context.ExternalContext ec, java.util.Map<java.lang.String,java.lang.String[]> params)
           
 
Method Summary
 java.lang.String getCharacterEncoding()
           
 java.lang.String getContentType()
          Hide the content type so that no one tries to re-download the uploaded files.
 java.lang.String getParameter(java.lang.String param)
           
 java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
           
 java.util.Enumeration<java.lang.String> getParameterNames()
           
 java.lang.String[] getParameterValues(java.lang.String param)
           
 void setCharacterEncoding(java.lang.String encoding)
          Trap calls to setCharacterEncoding() to decode parameters correctly
 
Methods inherited from class javax.portlet.filter.ActionRequestWrapper
getContentLength, getMethod, getPortletInputStream, getReader, getRequest, setRequest
 
Methods inherited from class javax.portlet.filter.PortletRequestWrapper
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, 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, getCookies, getLocale, getLocales, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute
 

Constructor Detail

UploadActionRequestWrapper

public UploadActionRequestWrapper(javax.faces.context.ExternalContext ec,
                                  java.util.Map<java.lang.String,java.lang.String[]> params)
Method Detail

getContentType

public java.lang.String getContentType()
Hide the content type so that no one tries to re-download the uploaded files.

Specified by:
getContentType in interface javax.portlet.ClientDataRequest
Overrides:
getContentType in class javax.portlet.filter.ActionRequestWrapper

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface javax.portlet.ClientDataRequest
Overrides:
getCharacterEncoding in class javax.portlet.filter.ActionRequestWrapper

setCharacterEncoding

public void setCharacterEncoding(java.lang.String encoding)
                          throws java.io.UnsupportedEncodingException
Trap calls to setCharacterEncoding() to decode parameters correctly

Specified by:
setCharacterEncoding in interface javax.portlet.ClientDataRequest
Overrides:
setCharacterEncoding in class javax.portlet.filter.ActionRequestWrapper
Throws:
java.io.UnsupportedEncodingException

getParameter

public java.lang.String getParameter(java.lang.String param)
Specified by:
getParameter in interface javax.portlet.PortletRequest
Overrides:
getParameter in class javax.portlet.filter.PortletRequestWrapper

getParameterMap

public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
Specified by:
getParameterMap in interface javax.portlet.PortletRequest
Overrides:
getParameterMap in class javax.portlet.filter.PortletRequestWrapper

getParameterNames

public java.util.Enumeration<java.lang.String> getParameterNames()
Specified by:
getParameterNames in interface javax.portlet.PortletRequest
Overrides:
getParameterNames in class javax.portlet.filter.PortletRequestWrapper

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String param)
Specified by:
getParameterValues in interface javax.portlet.PortletRequest
Overrides:
getParameterValues in class javax.portlet.filter.PortletRequestWrapper


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.