public class MockLiferayResourceRequest
extends com.liferay.spring.mock.web.portlet.MockResourceRequest
implements com.liferay.portal.kernel.portlet.LiferayResourceRequest
PortletRequest.P3PUserInfosETAGACTION_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 and Description |
|---|
MockLiferayResourceRequest() |
addPrivateRenderParameter, addPrivateRenderParameter, getCacheability, getETag, getLifecyclePhase, getPrivateRenderParameterMap, getResourceID, setCacheability, setResourceIDgetCharacterEncoding, getContentLength, getContentType, getMethod, getPortletInputStream, getReader, setCharacterEncoding, setContent, setContentType, setMethodaddLocale, 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, setWindowStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCacheability, getETag, getPortletMode, getPrivateRenderParameterMap, getResourceID, getResponseContentType, getResponseContentTypes, getWindowStategetCharacterEncoding, getContentLength, getContentType, getMethod, getPortletInputStream, getReader, setCharacterEncodinggetAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttributepublic 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 long getContentLengthLong()
getContentLengthLong in interface ClientDataRequestgetContentLengthLong in class com.liferay.spring.mock.web.portlet.MockClientDataRequestpublic javax.servlet.DispatcherType getDispatcherType()
getDispatcherType in interface ResourceRequestgetDispatcherType in class com.liferay.spring.mock.web.portlet.MockResourceRequestpublic 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 javax.servlet.http.Part getPart(String name)
throws IOException,
PortletException
getPart in interface ClientDataRequestgetPart in class com.liferay.spring.mock.web.portlet.MockClientDataRequestIOExceptionPortletExceptionpublic Collection<javax.servlet.http.Part> getParts()
throws IOException,
PortletException
getParts in interface ClientDataRequestgetParts in class com.liferay.spring.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 PortletAsyncContext getPortletAsyncContext()
getPortletAsyncContext in interface ResourceRequestgetPortletAsyncContext in class com.liferay.spring.mock.web.portlet.MockResourceRequestpublic PortletContext getPortletContext()
getPortletContext in interface PortletRequestgetPortletContext in class com.liferay.spring.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.spring.mock.web.portlet.MockPortletRequestpublic ResourceParameters getResourceParameters()
getResourceParameters in interface ResourceRequestgetResourceParameters in class com.liferay.spring.mock.web.portlet.MockResourceRequestpublic String getUserAgent()
getUserAgent in interface PortletRequestgetUserAgent in class com.liferay.spring.mock.web.portlet.MockPortletRequestpublic void invalidateSession()
invalidateSession in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic boolean isAsyncStarted()
isAsyncStarted in interface ResourceRequestisAsyncStarted in class com.liferay.spring.mock.web.portlet.MockResourceRequestpublic boolean isAsyncSupported()
isAsyncSupported in interface ResourceRequestisAsyncSupported in class com.liferay.spring.mock.web.portlet.MockResourceRequestpublic void setPortletRequestDispatcherRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setPortletRequestDispatcherRequest in interface com.liferay.portal.kernel.portlet.LiferayPortletRequestpublic PortletAsyncContext startPortletAsync() throws IllegalStateException
startPortletAsync in interface ResourceRequeststartPortletAsync in class com.liferay.spring.mock.web.portlet.MockResourceRequestIllegalStateExceptionpublic PortletAsyncContext startPortletAsync(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IllegalStateException
startPortletAsync in interface ResourceRequeststartPortletAsync in class com.liferay.spring.mock.web.portlet.MockResourceRequestIllegalStateException