Class MockActionRequest
Object
com.liferay.portal.kernel.test.portlet.MockPortletRequest
com.liferay.portal.kernel.test.portlet.MockClientDataRequest
com.liferay.portal.kernel.test.portlet.MockActionRequest
- All Implemented Interfaces:
jakarta.portlet.ActionRequest,jakarta.portlet.ClientDataRequest,jakarta.portlet.PortletRequest,jakarta.portlet.RenderState
- Direct Known Subclasses:
MockLiferayPortletActionRequest
public class MockActionRequest
extends MockClientDataRequest
implements jakarta.portlet.ActionRequest
- Author:
- Dante Wang
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.portlet.PortletRequest
jakarta.portlet.PortletRequest.P3PUserInfos -
Field Summary
Fields inherited from interface jakarta.portlet.ActionRequest
ACTION_NAMEFields inherited from interface jakarta.portlet.PortletRequest
ACTION_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_INFO -
Constructor Summary
ConstructorsConstructorDescriptionMockActionRequest(jakarta.portlet.PortalContext portalContext, jakarta.portlet.PortletContext portletContext) MockActionRequest(jakarta.portlet.PortletContext portletContext) MockActionRequest(jakarta.portlet.PortletMode portletMode) MockActionRequest(String actionName) -
Method Summary
Methods inherited from class com.liferay.portal.kernel.test.portlet.MockClientDataRequest
getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getMethod, getPart, getParts, getPortletInputStream, getReader, setCharacterEncoding, setContent, setContentType, setMethodMethods inherited from class com.liferay.portal.kernel.test.portlet.MockPortletRequest
addLocale, addParameter, addParameter, addPreferredLocale, addPreferredResponseContentType, addProperty, addResponseContentType, addUserRole, checkActive, close, getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRenderParameters, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserAgent, getUserPrincipal, getWindowID, getWindowState, isActive, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, registerPublicParameter, removeAttribute, setAttribute, setAuthType, setContextPath, setCookies, setParameter, setParameter, setParameters, setPortletMode, setPortletSession, setPreferences, setProperty, setRemoteUser, setRequestedSessionIdValid, setScheme, setSecure, setServerName, setServerPort, setUserPrincipal, setWindowID, setWindowStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.portlet.ClientDataRequest
getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getMethod, getPart, getParts, getPortletInputStream, getReader, setCharacterEncodingMethods inherited from interface jakarta.portlet.PortletRequest
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletContext, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserAgent, getUserPrincipal, getWindowID, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttributeMethods inherited from interface jakarta.portlet.RenderState
getPortletMode, getRenderParameters, getWindowState
-
Constructor Details
-
MockActionRequest
public MockActionRequest() -
MockActionRequest
public MockActionRequest(jakarta.portlet.PortalContext portalContext, jakarta.portlet.PortletContext portletContext) -
MockActionRequest
public MockActionRequest(jakarta.portlet.PortletContext portletContext) -
MockActionRequest
public MockActionRequest(jakarta.portlet.PortletMode portletMode) -
MockActionRequest
-
-
Method Details
-
getActionParameters
public jakarta.portlet.ActionParameters getActionParameters()- Specified by:
getActionParametersin interfacejakarta.portlet.ActionRequest
-
getLifecyclePhase
- Overrides:
getLifecyclePhasein classMockPortletRequest
-