public class MockLiferayPortletActionRequest
extends com.liferay.portletmvc4spring.test.mock.web.portlet.MockActionRequest
implements com.liferay.portal.kernel.portlet.LiferayPortletRequest
PortletRequest.P3PUserInfosACTION_PHASE, ACTION_SCOPE_ID, BASIC_AUTH, CCPP_PROFILE, CLIENT_CERT_AUTH, DIGEST_AUTH, EVENT_PHASE, FORM_AUTH, HEADER_PHASE, LIFECYCLE_PHASE, RENDER_HEADERS, RENDER_MARKUP, RENDER_PART, RENDER_PHASE, RESOURCE_PHASE, USER_INFOACTION_NAME| Constructor and Description |
|---|
MockLiferayPortletActionRequest() |
MockLiferayPortletActionRequest(org.springframework.mock.web.MockHttpServletRequest mockHttpServletRequest) |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String name,
String value) |
void |
addParameter(String name,
String[] values) |
void |
cleanUp() |
Map<String,String[]> |
clearRenderParameters() |
void |
defineObjects(PortletConfig portletConfig,
PortletResponse portletResponse) |
ActionParameters |
getActionParameters() |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
long |
getContentLengthLong() |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
String |
getLifecycle() |
javax.servlet.http.HttpServletRequest |
getOriginalHttpServletRequest() |
String |
getParameter(String name) |
Map<String,String[]> |
getParameterMap() |
javax.servlet.http.Part |
getPart(String name) |
Collection<javax.servlet.http.Part> |
getParts() |
long |
getPlid() |
com.liferay.portal.kernel.model.Portlet |
getPortlet() |
PortletContext |
getPortletContext() |
String |
getPortletName() |
javax.servlet.http.HttpServletRequest |
getPortletRequestDispatcherRequest() |
RenderParameters |
getRenderParameters() |
String |
getUserAgent() |
void |
invalidateSession() |
void |
setAttribute(String name,
Object value) |
void |
setParameter(String key,
String value) |
void |
setParameter(String key,
String[] values) |
void |
setParameters(Map<String,String[]> parameters) |
void |
setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest) |
getLifecyclePhasegetCharacterEncoding, getContentLength, getContentType, getMethod, getPortletInputStream, getReader, setCharacterEncoding, setContent, setContentType, setMethodaddLocale, addPreferredLocale, addPreferredResponseContentType, addProperty, addResponseContentType, addUserRole, checkActive, close, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, isActive, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, registerPublicParameter, removeAttribute, setAuthType, setContextPath, setCookies, setPortletMode, setPreferences, setProperty, setRemoteUser, setRequestedSessionIdValid, setScheme, setSecure, setServerName, setServerPort, setSession, setUserPrincipal, setWindowID, setWindowStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthType, getContextPath, getCookies, getLocale, getLocales, getParameterNames, getParameterValues, getPortalContext, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttributegetPortletMode, getWindowStategetCharacterEncoding, getContentLength, getContentType, getMethod, getPortletInputStream, getReader, setCharacterEncodingpublic MockLiferayPortletActionRequest()
public MockLiferayPortletActionRequest(org.springframework.mock.web.MockHttpServletRequest mockHttpServletRequest)
public void addParameter(String name,
String value)
addParameter in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic void addParameter(String name,
String[] values)
addParameter in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic void cleanUp()
cleanUp in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic Map<String,String[]> clearRenderParameters()
clearRenderParameters in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic void defineObjects(PortletConfig portletConfig, PortletResponse portletResponse)
defineObjects in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic ActionParameters getActionParameters()
getActionParameters in interface ActionRequestgetActionParameters in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockActionRequestpublic Object getAttribute(String name)
getAttribute in interface PortletRequestgetAttribute in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface PortletRequestgetAttributeNames in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic long getContentLengthLong()
getContentLengthLong in interface ClientDataRequestgetContentLengthLong in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockClientDataRequestpublic javax.servlet.http.HttpServletRequest getHttpServletRequest()
getHttpServletRequest in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic String getLifecycle()
getLifecycle in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic javax.servlet.http.HttpServletRequest getOriginalHttpServletRequest()
getOriginalHttpServletRequest in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic String getParameter(String name)
getParameter in interface PortletRequestgetParameter in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic Map<String,String[]> getParameterMap()
getParameterMap in interface PortletRequestgetParameterMap in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic javax.servlet.http.Part getPart(String name)
throws IOException,
PortletException
getPart in interface ClientDataRequestgetPart in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockClientDataRequestIOExceptionPortletExceptionpublic Collection<javax.servlet.http.Part> getParts()
throws IOException,
PortletException
getParts in interface ClientDataRequestgetParts in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockClientDataRequestIOExceptionPortletExceptionpublic long getPlid()
getPlid in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic com.liferay.portal.kernel.model.Portlet getPortlet()
getPortlet in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic PortletContext getPortletContext()
getPortletContext in interface PortletRequestgetPortletContext in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic String getPortletName()
getPortletName in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic javax.servlet.http.HttpServletRequest getPortletRequestDispatcherRequest()
getPortletRequestDispatcherRequest in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic RenderParameters getRenderParameters()
getRenderParameters in interface RenderStategetRenderParameters in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic String getUserAgent()
getUserAgent in interface PortletRequestgetUserAgent in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic void invalidateSession()
invalidateSession in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic void setAttribute(String name,
Object value)
setAttribute in interface PortletRequestsetAttribute in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic void setParameter(String key,
String value)
setParameter in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic void setParameter(String key,
String[] values)
setParameter in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic void setParameters(Map<String,String[]> parameters)
setParameters in class com.liferay.portletmvc4spring.test.mock.web.portlet.MockPortletRequestpublic void setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setPortletRequestDispatcherRequest in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest