|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.apache.pluto.portlet.PortletRequestWrapper
org.apache.pluto.portlet.ActionRequestWrapper
public class ActionRequestWrapper
Field Summary |
---|
Fields inherited from interface javax.portlet.PortletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO |
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
ActionRequestWrapper(javax.portlet.ActionRequest actionRequest)
Creates a ServletRequest adaptor wrapping the given request object. |
Method Summary | |
---|---|
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)
|
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
---|
getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRequestURI, getRequestURL, getServletPath, getSession, getSession, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL |
Methods inherited from class javax.servlet.ServletRequestWrapper |
---|
getInputStream, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, 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.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 |
Methods inherited from interface javax.servlet.ServletRequest |
---|
getInputStream, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher |
Constructor Detail |
---|
public ActionRequestWrapper(javax.portlet.ActionRequest actionRequest)
java.lang.IllegalArgumentException
- if the 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
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |