public class MockLiferayPortletActionRequest
extends com.liferay.spring.mock.web.portlet.MockActionRequest
implements com.liferay.portal.kernel.portlet.LiferayPortletRequest
PortletRequest.P3PUserInfos
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
ACTION_NAME
Constructor and Description |
---|
MockLiferayPortletActionRequest() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
Map<String,String[]> |
clearRenderParameters() |
void |
defineObjects(PortletConfig portletConfig,
PortletResponse portletResponse) |
ActionParameters |
getActionParameters() |
long |
getContentLengthLong() |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() |
String |
getLifecycle() |
javax.servlet.http.HttpServletRequest |
getOriginalHttpServletRequest() |
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 |
setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest) |
getLifecyclePhase
getCharacterEncoding, getContentLength, getContentType, getMethod, getPortletInputStream, getReader, setCharacterEncoding, setContent, setContentType, setMethod
addLocale, addParameter, addParameter, addPreferredLocale, addPreferredResponseContentType, addProperty, addResponseContentType, addUserRole, checkActive, close, getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, 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, setAttribute, setAuthType, setContextPath, setCookies, setParameter, setParameter, setParameters, setPortletMode, setPreferences, setProperty, setRemoteUser, setRequestedSessionIdValid, setScheme, setSecure, setServerName, setServerPort, setSession, setUserPrincipal, setWindowID, setWindowState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, 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, removeAttribute, setAttribute
getPortletMode, getWindowState
getCharacterEncoding, getContentLength, getContentType, getMethod, getPortletInputStream, getReader, setCharacterEncoding
public void cleanUp()
cleanUp
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public Map<String,String[]> clearRenderParameters()
clearRenderParameters
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public void defineObjects(PortletConfig portletConfig, PortletResponse portletResponse)
defineObjects
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public ActionParameters getActionParameters()
getActionParameters
in interface ActionRequest
getActionParameters
in class com.liferay.spring.mock.web.portlet.MockActionRequest
public long getContentLengthLong()
getContentLengthLong
in interface ClientDataRequest
getContentLengthLong
in class com.liferay.spring.mock.web.portlet.MockClientDataRequest
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
getHttpServletRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public String getLifecycle()
getLifecycle
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public javax.servlet.http.HttpServletRequest getOriginalHttpServletRequest()
getOriginalHttpServletRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public javax.servlet.http.Part getPart(String name) throws IOException, PortletException
getPart
in interface ClientDataRequest
getPart
in class com.liferay.spring.mock.web.portlet.MockClientDataRequest
IOException
PortletException
public Collection<javax.servlet.http.Part> getParts() throws IOException, PortletException
getParts
in interface ClientDataRequest
getParts
in class com.liferay.spring.mock.web.portlet.MockClientDataRequest
IOException
PortletException
public long getPlid()
getPlid
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public com.liferay.portal.kernel.model.Portlet getPortlet()
getPortlet
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public PortletContext getPortletContext()
getPortletContext
in interface PortletRequest
getPortletContext
in class com.liferay.spring.mock.web.portlet.MockPortletRequest
public String getPortletName()
getPortletName
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public javax.servlet.http.HttpServletRequest getPortletRequestDispatcherRequest()
getPortletRequestDispatcherRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public RenderParameters getRenderParameters()
getRenderParameters
in interface RenderState
getRenderParameters
in class com.liferay.spring.mock.web.portlet.MockPortletRequest
public String getUserAgent()
getUserAgent
in interface PortletRequest
getUserAgent
in class com.liferay.spring.mock.web.portlet.MockPortletRequest
public void invalidateSession()
invalidateSession
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
public void setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setPortletRequestDispatcherRequest
in interface com.liferay.portal.kernel.portlet.LiferayPortletRequest