public class ActionRequestWrapper extends PortletRequestWrapper implements javax.portlet.ActionRequest
Constructor and Description |
---|
ActionRequestWrapper(javax.portlet.ActionRequest actionRequest)
Creates a ServletRequest adaptor wrapping the given request object.
|
Modifier and Type | Method and Description |
---|---|
javax.portlet.ActionRequest |
getActionRequest()
Return the wrapped ServletRequest object.
|
java.lang.String |
getCharacterEncoding() |
int |
getContentLength() |
java.lang.String |
getContentType() |
java.io.InputStream |
getPortletInputStream() |
java.io.BufferedReader |
getReader() |
void |
setCharacterEncoding(java.lang.String enc) |
getAttribute, getAttributeNames, getAuthType, getContextPath, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletRequest, getPortletSession, getPortletSession, getPreferences, getProperties, getProperty, getPropertyNames, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowState, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setRequest
getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRequestURI, getRequestURL, getServletPath, getSession, getSession, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL
getInputStream, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public ActionRequestWrapper(javax.portlet.ActionRequest actionRequest)
java.lang.IllegalArgumentException
- if the request is null.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
setCharacterEncoding
in interface javax.servlet.ServletRequest
setCharacterEncoding
in class javax.servlet.ServletRequestWrapper
java.io.UnsupportedEncodingException
public java.io.BufferedReader getReader() throws java.io.UnsupportedEncodingException, java.io.IOException
getReader
in interface javax.portlet.ActionRequest
getReader
in interface javax.servlet.ServletRequest
getReader
in class javax.servlet.ServletRequestWrapper
java.io.UnsupportedEncodingException
java.io.IOException
public java.lang.String getCharacterEncoding()
getCharacterEncoding
in interface javax.portlet.ActionRequest
getCharacterEncoding
in interface javax.servlet.ServletRequest
getCharacterEncoding
in class javax.servlet.ServletRequestWrapper
public java.lang.String getContentType()
getContentType
in interface javax.portlet.ActionRequest
getContentType
in interface javax.servlet.ServletRequest
getContentType
in class javax.servlet.ServletRequestWrapper
public int getContentLength()
getContentLength
in interface javax.portlet.ActionRequest
getContentLength
in interface javax.servlet.ServletRequest
getContentLength
in class javax.servlet.ServletRequestWrapper
public javax.portlet.ActionRequest getActionRequest()
Copyright © 2003-2013 . All Rights Reserved.