public class PortletRequestWrapper extends Object implements RequestContext
| Constructor and Description |
|---|
PortletRequestWrapper(javax.portlet.PortletRequest req) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
String |
getAuthType() |
String |
getContextPath() |
Object |
getExternalRequest() |
Locale |
getLocale() |
Enumeration<Locale> |
getLocales() |
String |
getParameter(String name) |
Map<String,String> |
getParameterMap() |
Enumeration<String> |
getParameterNames() |
String[] |
getParameterValues(String name) |
String |
getRemoteUser() |
String |
getRequestedSessionId() |
String |
getRequestURI() |
String |
getScheme() |
String |
getServerName() |
int |
getServerPort() |
SessionContext |
getSessionContext() |
Principal |
getUserPrincipal() |
boolean |
isRequestedSessionIdValid() |
boolean |
isSecure() |
boolean |
isUserInRole(String role) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Object o) |
public PortletRequestWrapper(javax.portlet.PortletRequest req)
public Object getExternalRequest()
getExternalRequest in interface RequestContextpublic SessionContext getSessionContext()
getSessionContext in interface RequestContextpublic String getRequestURI()
getRequestURI in interface RequestContextpublic String getAuthType()
getAuthType in interface RequestContextpublic String getContextPath()
getContextPath in interface RequestContextpublic String getRemoteUser()
getRemoteUser in interface RequestContextpublic Principal getUserPrincipal()
getUserPrincipal in interface RequestContextpublic boolean isUserInRole(String role)
isUserInRole in interface RequestContextpublic boolean isSecure()
isSecure in interface RequestContextpublic String getScheme()
getScheme in interface RequestContextpublic String getServerName()
getServerName in interface RequestContextpublic int getServerPort()
getServerPort in interface RequestContextpublic String getRequestedSessionId()
getRequestedSessionId in interface RequestContextpublic boolean isRequestedSessionIdValid()
isRequestedSessionIdValid in interface RequestContextpublic Locale getLocale()
getLocale in interface RequestContextpublic Enumeration<Locale> getLocales()
getLocales in interface RequestContextpublic Enumeration<String> getParameterNames()
getParameterNames in interface RequestContextpublic String getParameter(String name)
getParameter in interface RequestContextpublic String[] getParameterValues(String name)
getParameterValues in interface RequestContextpublic Map<String,String> getParameterMap()
getParameterMap in interface RequestContextpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface RequestContextpublic Object getAttribute(String name)
getAttribute in interface RequestContextpublic void setAttribute(String name, Object o)
setAttribute in interface RequestContextpublic void removeAttribute(String name)
removeAttribute in interface RequestContextCopyright © 2008–2020 Apache Software Foundation. All rights reserved.