public class MockPortletRequest extends Object implements javax.portlet.PortletRequest
Constructor and Description |
---|
MockPortletRequest() |
public javax.portlet.PortletSession getPortletSession()
getPortletSession
in interface javax.portlet.PortletRequest
public javax.portlet.PortletSession getPortletSession(boolean create)
getPortletSession
in interface javax.portlet.PortletRequest
public Object getAttribute(String arg0)
getAttribute
in interface javax.portlet.PortletRequest
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface javax.portlet.PortletRequest
public String getAuthType()
getAuthType
in interface javax.portlet.PortletRequest
public String getContextPath()
getContextPath
in interface javax.portlet.PortletRequest
public javax.servlet.http.Cookie[] getCookies()
getCookies
in interface javax.portlet.PortletRequest
public Locale getLocale()
getLocale
in interface javax.portlet.PortletRequest
public Enumeration<Locale> getLocales()
getLocales
in interface javax.portlet.PortletRequest
public String getParameter(String arg0)
getParameter
in interface javax.portlet.PortletRequest
public Map<String,String[]> getParameterMap()
getParameterMap
in interface javax.portlet.PortletRequest
public Enumeration<String> getParameterNames()
getParameterNames
in interface javax.portlet.PortletRequest
public String[] getParameterValues(String arg0)
getParameterValues
in interface javax.portlet.PortletRequest
public javax.portlet.PortalContext getPortalContext()
getPortalContext
in interface javax.portlet.PortletRequest
public javax.portlet.PortletMode getPortletMode()
getPortletMode
in interface javax.portlet.PortletRequest
public javax.portlet.PortletPreferences getPreferences()
getPreferences
in interface javax.portlet.PortletRequest
public Map<String,String[]> getPrivateParameterMap()
getPrivateParameterMap
in interface javax.portlet.PortletRequest
public Enumeration<String> getProperties(String arg0)
getProperties
in interface javax.portlet.PortletRequest
public String getProperty(String arg0)
getProperty
in interface javax.portlet.PortletRequest
public Enumeration<String> getPropertyNames()
getPropertyNames
in interface javax.portlet.PortletRequest
public Map<String,String[]> getPublicParameterMap()
getPublicParameterMap
in interface javax.portlet.PortletRequest
public String getRemoteUser()
getRemoteUser
in interface javax.portlet.PortletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface javax.portlet.PortletRequest
public String getResponseContentType()
getResponseContentType
in interface javax.portlet.PortletRequest
public Enumeration<String> getResponseContentTypes()
getResponseContentTypes
in interface javax.portlet.PortletRequest
public String getScheme()
getScheme
in interface javax.portlet.PortletRequest
public String getServerName()
getServerName
in interface javax.portlet.PortletRequest
public int getServerPort()
getServerPort
in interface javax.portlet.PortletRequest
public Principal getUserPrincipal()
getUserPrincipal
in interface javax.portlet.PortletRequest
public String getWindowID()
getWindowID
in interface javax.portlet.PortletRequest
public javax.portlet.WindowState getWindowState()
getWindowState
in interface javax.portlet.PortletRequest
public boolean isPortletModeAllowed(javax.portlet.PortletMode arg0)
isPortletModeAllowed
in interface javax.portlet.PortletRequest
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface javax.portlet.PortletRequest
public boolean isSecure()
isSecure
in interface javax.portlet.PortletRequest
public boolean isUserInRole(String arg0)
isUserInRole
in interface javax.portlet.PortletRequest
public boolean isWindowStateAllowed(javax.portlet.WindowState arg0)
isWindowStateAllowed
in interface javax.portlet.PortletRequest
public void removeAttribute(String arg0)
removeAttribute
in interface javax.portlet.PortletRequest
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.