org.apache.empire.struts2.web.portlet
Class PortletRequestWrapper
java.lang.Object
org.apache.empire.struts2.web.portlet.PortletRequestWrapper
- All Implemented Interfaces:
- RequestContext
public class PortletRequestWrapper
- extends java.lang.Object
- implements RequestContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletRequestWrapper
public PortletRequestWrapper(javax.portlet.PortletRequest req)
getExternalRequest
public java.lang.Object getExternalRequest()
- Specified by:
getExternalRequest
in interface RequestContext
getSessionContext
public SessionContext getSessionContext()
- Specified by:
getSessionContext
in interface RequestContext
getRequestURI
public java.lang.String getRequestURI()
- Specified by:
getRequestURI
in interface RequestContext
getAuthType
public java.lang.String getAuthType()
- Specified by:
getAuthType
in interface RequestContext
getContextPath
public java.lang.String getContextPath()
- Specified by:
getContextPath
in interface RequestContext
getRemoteUser
public java.lang.String getRemoteUser()
- Specified by:
getRemoteUser
in interface RequestContext
getUserPrincipal
public java.security.Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interface RequestContext
isUserInRole
public boolean isUserInRole(java.lang.String role)
- Specified by:
isUserInRole
in interface RequestContext
isSecure
public boolean isSecure()
- Specified by:
isSecure
in interface RequestContext
getScheme
public java.lang.String getScheme()
- Specified by:
getScheme
in interface RequestContext
getServerName
public java.lang.String getServerName()
- Specified by:
getServerName
in interface RequestContext
getServerPort
public int getServerPort()
- Specified by:
getServerPort
in interface RequestContext
getRequestedSessionId
public java.lang.String getRequestedSessionId()
- Specified by:
getRequestedSessionId
in interface RequestContext
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()
- Specified by:
isRequestedSessionIdValid
in interface RequestContext
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocale
in interface RequestContext
getLocales
public java.util.Enumeration<java.util.Locale> getLocales()
- Specified by:
getLocales
in interface RequestContext
getParameterNames
public java.util.Enumeration<java.lang.String> getParameterNames()
- Specified by:
getParameterNames
in interface RequestContext
getParameter
public java.lang.String getParameter(java.lang.String name)
- Specified by:
getParameter
in interface RequestContext
getParameterValues
public java.lang.String[] getParameterValues(java.lang.String name)
- Specified by:
getParameterValues
in interface RequestContext
getParameterMap
public java.util.Map<java.lang.String,java.lang.String> getParameterMap()
- Specified by:
getParameterMap
in interface RequestContext
getAttributeNames
public java.util.Enumeration<java.lang.String> getAttributeNames()
- Specified by:
getAttributeNames
in interface RequestContext
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interface RequestContext
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object o)
- Specified by:
setAttribute
in interface RequestContext
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute
in interface RequestContext
Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.