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 RequestContext
public SessionContext getSessionContext()
getSessionContext
in interface RequestContext
public String getRequestURI()
getRequestURI
in interface RequestContext
public String getAuthType()
getAuthType
in interface RequestContext
public String getContextPath()
getContextPath
in interface RequestContext
public String getRemoteUser()
getRemoteUser
in interface RequestContext
public Principal getUserPrincipal()
getUserPrincipal
in interface RequestContext
public boolean isUserInRole(String role)
isUserInRole
in interface RequestContext
public boolean isSecure()
isSecure
in interface RequestContext
public String getScheme()
getScheme
in interface RequestContext
public String getServerName()
getServerName
in interface RequestContext
public int getServerPort()
getServerPort
in interface RequestContext
public String getRequestedSessionId()
getRequestedSessionId
in interface RequestContext
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface RequestContext
public Locale getLocale()
getLocale
in interface RequestContext
public Enumeration<Locale> getLocales()
getLocales
in interface RequestContext
public Enumeration<String> getParameterNames()
getParameterNames
in interface RequestContext
public String getParameter(String name)
getParameter
in interface RequestContext
public String[] getParameterValues(String name)
getParameterValues
in interface RequestContext
public Map<String,String> getParameterMap()
getParameterMap
in interface RequestContext
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface RequestContext
public Object getAttribute(String name)
getAttribute
in interface RequestContext
public void setAttribute(String name, Object o)
setAttribute
in interface RequestContext
public void removeAttribute(String name)
removeAttribute
in interface RequestContext
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.