|
Liferay 7.0-ce-b4 | |||||||||
| 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
com.liferay.portal.kernel.servlet.DynamicServletRequest
com.liferay.portal.servlet.NamespaceServletRequest
public class NamespaceServletRequest
This class ensures that portlet attributes and parameters are private to the portlet.
| Field Summary | |
|---|---|
static Set<String> |
reservedAttrs
|
| Fields inherited from class com.liferay.portal.kernel.servlet.DynamicServletRequest |
|---|
DYNAMIC_QUERY_STRING |
| 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,
String attrNamespace,
String paramNamespace)
|
|
NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
String attrNamespace,
String paramNamespace,
boolean inherit)
|
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
|
Enumeration<String> |
getAttributeNames()
|
String |
getParameter(String name)
|
protected void |
injectInto(DynamicServletRequest dynamicServletRequest)
|
void |
removeAttribute(String name)
|
void |
setAttribute(String name,
Object value)
|
void |
setAttribute(String name,
Object value,
boolean privateRequestAttribute)
|
| Methods inherited from class com.liferay.portal.kernel.servlet.DynamicServletRequest |
|---|
addQueryString, addQueryString, addQueryString, addQueryString, appendParameter, getDynamicParameterMap, getParameterMap, getParameterNames, getParameterValues, setParameter, setParameterValues |
| Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
|---|
authenticate, 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, logout |
| Methods inherited from class javax.servlet.ServletRequestWrapper |
|---|
getAsyncContext, 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, startAsync |
| 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 |
|---|
getAsyncContext, 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, startAsync |
| Field Detail |
|---|
public static Set<String> reservedAttrs
| Constructor Detail |
|---|
public NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
String attrNamespace,
String paramNamespace)
public NamespaceServletRequest(javax.servlet.http.HttpServletRequest request,
String attrNamespace,
String paramNamespace,
boolean inherit)
| Method Detail |
|---|
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 DynamicServletRequestpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.ServletRequestremoveAttribute in class javax.servlet.ServletRequestWrapper
public void setAttribute(String name,
Object value)
setAttribute in interface javax.servlet.ServletRequestsetAttribute in class javax.servlet.ServletRequestWrapper
public void setAttribute(String name,
Object value,
boolean privateRequestAttribute)
protected void injectInto(DynamicServletRequest dynamicServletRequest)
injectInto in class DynamicServletRequest
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||