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