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, setRequestgetCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRequestURI, getRequestURL, getServletPath, getSession, getSession, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURLgetInputStream, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, setRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, 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, setAttributepublic 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.ActionRequestjava.io.IOExceptionpublic void setCharacterEncoding(java.lang.String enc)
throws java.io.UnsupportedEncodingException
setCharacterEncoding in interface javax.portlet.ActionRequestsetCharacterEncoding in interface javax.servlet.ServletRequestsetCharacterEncoding in class javax.servlet.ServletRequestWrapperjava.io.UnsupportedEncodingExceptionpublic java.io.BufferedReader getReader()
throws java.io.UnsupportedEncodingException,
java.io.IOException
getReader in interface javax.portlet.ActionRequestgetReader in interface javax.servlet.ServletRequestgetReader in class javax.servlet.ServletRequestWrapperjava.io.UnsupportedEncodingExceptionjava.io.IOExceptionpublic java.lang.String getCharacterEncoding()
getCharacterEncoding in interface javax.portlet.ActionRequestgetCharacterEncoding in interface javax.servlet.ServletRequestgetCharacterEncoding in class javax.servlet.ServletRequestWrapperpublic java.lang.String getContentType()
getContentType in interface javax.portlet.ActionRequestgetContentType in interface javax.servlet.ServletRequestgetContentType in class javax.servlet.ServletRequestWrapperpublic int getContentLength()
getContentLength in interface javax.portlet.ActionRequestgetContentLength in interface javax.servlet.ServletRequestgetContentLength in class javax.servlet.ServletRequestWrapperpublic javax.portlet.ActionRequest getActionRequest()
Copyright © 2003-2013 . All Rights Reserved.