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