|
||||||||||
| 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| 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 | |
|---|---|
ActionRequestWrapper(javax.portlet.ActionRequest request)
Create a ActionRequestWrapper for the given request. |
|
| Method Summary | |
|---|---|
String |
getCharacterEncoding()
|
int |
getContentLength()
|
String |
getContentType()
|
String |
getMethod()
|
InputStream |
getPortletInputStream()
|
BufferedReader |
getReader()
|
void |
setCharacterEncoding(String enc)
|
| 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, getParameter, getParameterMap, getParameterNames, getParameterValues, 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 |
|---|
public ActionRequestWrapper(javax.portlet.ActionRequest request)
request - the original request to wrap
IllegalArgumentException - if the supplied request is null| Method Detail |
|---|
public InputStream getPortletInputStream()
throws IOException
getPortletInputStream in interface javax.portlet.ClientDataRequestIOException
public void setCharacterEncoding(String enc)
throws UnsupportedEncodingException
setCharacterEncoding in interface javax.portlet.ClientDataRequestUnsupportedEncodingException
public BufferedReader getReader()
throws IOException
getReader in interface javax.portlet.ClientDataRequestIOExceptionpublic String getCharacterEncoding()
getCharacterEncoding in interface javax.portlet.ClientDataRequestpublic String getContentType()
getContentType in interface javax.portlet.ClientDataRequestpublic int getContentLength()
getContentLength in interface javax.portlet.ClientDataRequestpublic String getMethod()
getMethod in interface javax.portlet.ClientDataRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||