|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.web.portlet.util.PortletRequestWrapper
org.springframework.web.portlet.util.ActionRequestWrapper
public class ActionRequestWrapper
Simple wrapper for a Portlet ActionRequest
,
delegating all calls to the underlying request.
(In the style of the Servlet API's HttpServletRequestWrapper
.)
ActionRequestWrapper
,
HttpServletRequestWrapper
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.ActionRequest request)
Create a ActionRequestWrapper for the given request. |
Method Summary | |
---|---|
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.springframework.web.portlet.util.PortletRequestWrapper |
---|
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 |
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 |
---|
public ActionRequestWrapper(javax.portlet.ActionRequest request)
request
- the original request to wrap
java.lang.IllegalArgumentException
- if the supplied request
is null
Method Detail |
---|
public java.io.InputStream getPortletInputStream() throws java.io.IOException
getPortletInputStream
in interface javax.portlet.ActionRequest
java.io.IOException
public void setCharacterEncoding(java.lang.String enc) throws java.io.UnsupportedEncodingException
setCharacterEncoding
in interface javax.portlet.ActionRequest
java.io.UnsupportedEncodingException
public java.io.BufferedReader getReader() throws java.io.IOException
getReader
in interface javax.portlet.ActionRequest
java.io.IOException
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in interface javax.portlet.ActionRequest
public java.lang.String getContentType()
getContentType
in interface javax.portlet.ActionRequest
public int getContentLength()
getContentLength
in interface javax.portlet.ActionRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |