org.springframework.portlet
Class ParameterAddingResourceRequestWrapper

java.lang.Object
  extended by javax.portlet.filter.PortletRequestWrapper
      extended by org.springframework.portlet.ParameterAddingPortletRequestWrapper
          extended by org.springframework.portlet.ParameterAddingResourceRequestWrapper
All Implemented Interfaces:
javax.portlet.ClientDataRequest, javax.portlet.PortletRequest, javax.portlet.ResourceRequest

public class ParameterAddingResourceRequestWrapper
extends ParameterAddingPortletRequestWrapper
implements javax.portlet.ResourceRequest

Version:
$Revision: 23744 $
Author:
Eric Dalquist

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest
javax.portlet.PortletRequest.P3PUserInfos
 
Field Summary
 
Fields inherited from interface javax.portlet.ResourceRequest
ETAG
 
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
ParameterAddingResourceRequestWrapper(javax.portlet.ResourceRequest request)
           
 
Method Summary
 String getCacheability()
           
 String getCharacterEncoding()
           
 int getContentLength()
           
 String getContentType()
           
 String getETag()
           
 String getMethod()
           
 InputStream getPortletInputStream()
           
 Map<String,String[]> getPrivateRenderParameterMap()
           
 BufferedReader getReader()
           
 String getResourceID()
           
 void setCharacterEncoding(String enc)
           
 
Methods inherited from class org.springframework.portlet.ParameterAddingPortletRequestWrapper
getParameter, getParameterMap, getParameterNames, getParameterValues, getPrivateParameterMap, getPublicParameterMap, putPrivateAllParameter, putPrivateParameters, putPublicAllParameter, putPublicParameters
 
Methods inherited from class javax.portlet.filter.PortletRequestWrapper
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequest, 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.ResourceRequest
getResponseContentType, getResponseContentTypes
 
Methods inherited from interface javax.portlet.PortletRequest
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute
 

Constructor Detail

ParameterAddingResourceRequestWrapper

public ParameterAddingResourceRequestWrapper(javax.portlet.ResourceRequest request)
Method Detail

getPortletInputStream

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

setCharacterEncoding

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

getReader

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

getCharacterEncoding

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

getContentType

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

getContentLength

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

getMethod

public String getMethod()
Specified by:
getMethod in interface javax.portlet.ClientDataRequest

getETag

public String getETag()
Specified by:
getETag in interface javax.portlet.ResourceRequest

getResourceID

public String getResourceID()
Specified by:
getResourceID in interface javax.portlet.ResourceRequest

getPrivateRenderParameterMap

public Map<String,String[]> getPrivateRenderParameterMap()
Specified by:
getPrivateRenderParameterMap in interface javax.portlet.ResourceRequest

getCacheability

public String getCacheability()
Specified by:
getCacheability in interface javax.portlet.ResourceRequest


Copyright © 2012 Jasig. All Rights Reserved.