com.liferay.portal.servlet
Class NamespaceServletRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
com.liferay.util.servlet.DynamicServletRequest
com.liferay.portal.servlet.NamespaceServletRequest
- All Implemented Interfaces:
- javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
public class NamespaceServletRequest
- extends com.liferay.util.servlet.DynamicServletRequest
View Source
This class ensures that portlet attributes and parameters are private to the
portlet.
- Author:
- Brian Myunghun Kim
Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary |
NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
java.lang.String attrNamespace,
java.lang.String paramNamespace)
|
NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
java.lang.String attrNamespace,
java.lang.String paramNamespace,
boolean inherit)
|
Methods inherited from class com.liferay.util.servlet.DynamicServletRequest |
getDynamicParameterMap, getParameterMap, getParameterNames, getParameterValues, setParameter, setParameterValues |
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole |
Methods inherited from class javax.servlet.ServletRequestWrapper |
getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, setCharacterEncoding, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.ServletRequest |
getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, setCharacterEncoding |
NamespaceServletRequest
public NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
java.lang.String attrNamespace,
java.lang.String paramNamespace)
NamespaceServletRequest
public NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
java.lang.String attrNamespace,
java.lang.String paramNamespace,
boolean inherit)
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interface javax.servlet.ServletRequest
- Overrides:
getAttribute
in class javax.servlet.ServletRequestWrapper
getAttributeNames
public java.util.Enumeration<java.lang.String> getAttributeNames()
- Specified by:
getAttributeNames
in interface javax.servlet.ServletRequest
- Overrides:
getAttributeNames
in class javax.servlet.ServletRequestWrapper
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute
in interface javax.servlet.ServletRequest
- Overrides:
setAttribute
in class javax.servlet.ServletRequestWrapper
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value,
boolean privateRequestAttribute)
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute
in interface javax.servlet.ServletRequest
- Overrides:
removeAttribute
in class javax.servlet.ServletRequestWrapper
getParameter
public java.lang.String getParameter(java.lang.String name)
- Specified by:
getParameter
in interface javax.servlet.ServletRequest
- Overrides:
getParameter
in class com.liferay.util.servlet.DynamicServletRequest