public class NamespaceServletRequest
extends com.liferay.portal.kernel.servlet.DynamicServletRequest
This class ensures that portlet attributes and parameters are private to the portlet.
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
reservedAttrs |
| Constructor and Description |
|---|
NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
String attrNamespace,
String paramNamespace) |
NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
String attrNamespace,
String paramNamespace,
boolean inherit) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
String |
getParameter(String name) |
protected void |
injectInto(com.liferay.portal.kernel.servlet.DynamicServletRequest dynamicServletRequest) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
void |
setAttribute(String name,
Object value,
boolean privateRequestAttribute) |
addQueryString, addQueryString, addQueryString, addQueryString, appendParameter, getDynamicParameterMap, getParameterMap, getParameterNames, getParameterValues, setParameter, setParameterValuesauthenticate, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logoutgetAsyncContext, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, setCharacterEncoding, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, setCharacterEncoding, startAsync, startAsyncpublic NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
String attrNamespace,
String paramNamespace)
public Object getAttribute(String name)
getAttribute in interface javax.servlet.ServletRequestgetAttribute in class javax.servlet.ServletRequestWrapperpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.servlet.ServletRequestgetAttributeNames in class javax.servlet.ServletRequestWrapperpublic String getParameter(String name)
getParameter in interface javax.servlet.ServletRequestgetParameter in class com.liferay.portal.kernel.servlet.DynamicServletRequestpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.ServletRequestremoveAttribute in class javax.servlet.ServletRequestWrapperpublic void setAttribute(String name, Object value)
setAttribute in interface javax.servlet.ServletRequestsetAttribute in class javax.servlet.ServletRequestWrapperprotected void injectInto(com.liferay.portal.kernel.servlet.DynamicServletRequest dynamicServletRequest)
injectInto in class com.liferay.portal.kernel.servlet.DynamicServletRequest