Package com.liferay.portlet.internal
Class ResourceRequestImpl
java.lang.Object
com.liferay.portlet.internal.PortletRequestImpl
com.liferay.portlet.internal.ClientDataRequestImpl
com.liferay.portlet.internal.ResourceRequestImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletRequest,com.liferay.portal.kernel.portlet.LiferayResourceRequest,javax.portlet.ClientDataRequest,javax.portlet.PortletRequest,javax.portlet.RenderState,javax.portlet.ResourceRequest
public class ResourceRequestImpl
extends ClientDataRequestImpl
implements com.liferay.portal.kernel.portlet.LiferayResourceRequest
- Author:
- Brian Wing Shun Chan, Neil Griffin
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.portlet.PortletRequest
javax.portlet.PortletRequest.P3PUserInfos -
Field Summary
Fields inherited from interface javax.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_INFOFields inherited from interface javax.portlet.ResourceRequest
ETAG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddefineObjects(javax.portlet.PortletConfig portletConfig, javax.portlet.PortletResponse portletResponse) javax.servlet.DispatcherTypegetETag()javax.portlet.PortletAsyncContextDeprecated.javax.portlet.ResourceParametersvoidinit(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, javax.portlet.PortletContext portletContext, javax.portlet.WindowState windowState, javax.portlet.PortletMode portletMode, javax.portlet.PortletPreferences portletPreferences, long plid) booleanbooleanjavax.portlet.PortletAsyncContextjavax.portlet.PortletAsyncContextstartPortletAsync(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) Methods inherited from class com.liferay.portlet.internal.ClientDataRequestImpl
getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getMethod, getPart, getParts, getPortletInputStream, getPortletParameterMap, getReader, setCharacterEncodingMethods inherited from class com.liferay.portlet.internal.PortletRequestImpl
cleanUp, clearRenderParameters, getAttribute, getAttributeNames, getAuthType, getCCPPProfile, getContextPath, getCookies, getHttpServletRequest, getLocale, getLocales, getOriginalHttpServletRequest, getParameter, getParameterMap, getParameterNames, getParameterValues, getPlid, getPortalContext, getPortlet, getPortletContext, getPortletMode, getPortletName, getPortletRequestDispatcherRequest, getPortletSession, getPortletSession, getPortletSpecMajorVersion, getPreferences, getPreferencesImpl, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRenderParameters, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserAgent, getUserInfo, getUserPrincipal, getWindowID, getWindowState, invalidateSession, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isTriggeredByActionURL, isUserInRole, isWindowStateAllowed, removeAttribute, setAttribute, setPortletMode, setPortletRequestDispatcherRequest, setWindowStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.portlet.ClientDataRequest
getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getMethod, getPart, getParts, getPortletInputStream, getReader, setCharacterEncodingMethods inherited from interface com.liferay.portal.kernel.portlet.LiferayPortletRequest
cleanUp, clearRenderParameters, getHttpServletRequest, getOriginalHttpServletRequest, getPlid, getPortlet, getPortletName, getPortletRequestDispatcherRequest, invalidateSession, setPortletRequestDispatcherRequestMethods inherited from interface javax.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, getScheme, getServerName, getServerPort, getUserAgent, getUserPrincipal, getWindowID, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, removeAttribute, setAttributeMethods inherited from interface javax.portlet.RenderState
getRenderParametersMethods inherited from interface javax.portlet.ResourceRequest
getPortletMode, getResponseContentType, getResponseContentTypes, getWindowState
-
Constructor Details
-
ResourceRequestImpl
public ResourceRequestImpl()
-
-
Method Details
-
defineObjects
public void defineObjects(javax.portlet.PortletConfig portletConfig, javax.portlet.PortletResponse portletResponse) - Specified by:
defineObjectsin interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest- Overrides:
defineObjectsin classPortletRequestImpl
-
getCacheability
- Specified by:
getCacheabilityin interfacejavax.portlet.ResourceRequest
-
getDispatcherType
public javax.servlet.DispatcherType getDispatcherType()- Specified by:
getDispatcherTypein interfacejavax.portlet.ResourceRequest
-
getETag
- Specified by:
getETagin interfacejavax.portlet.ResourceRequest- Overrides:
getETagin classPortletRequestImpl
-
getLifecycle
- Specified by:
getLifecyclein interfacecom.liferay.portal.kernel.portlet.LiferayPortletRequest- Specified by:
getLifecyclein classPortletRequestImpl
-
getPortletAsyncContext
public javax.portlet.PortletAsyncContext getPortletAsyncContext()- Specified by:
getPortletAsyncContextin interfacejavax.portlet.ResourceRequest
-
getPrivateRenderParameterMap
Deprecated.As of Judson (7.1.x), replaced byRenderState.getRenderParameters()- Specified by:
getPrivateRenderParameterMapin interfacejavax.portlet.ResourceRequest
-
getResourceID
- Specified by:
getResourceIDin interfacejavax.portlet.ResourceRequest
-
getResourceParameters
public javax.portlet.ResourceParameters getResourceParameters()- Specified by:
getResourceParametersin interfacejavax.portlet.ResourceRequest
-
init
public void init(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.portlet.InvokerPortlet invokerPortlet, javax.portlet.PortletContext portletContext, javax.portlet.WindowState windowState, javax.portlet.PortletMode portletMode, javax.portlet.PortletPreferences portletPreferences, long plid) - Overrides:
initin classPortletRequestImpl
-
isAsyncStarted
public boolean isAsyncStarted()- Specified by:
isAsyncStartedin interfacejavax.portlet.ResourceRequest
-
isAsyncSupported
public boolean isAsyncSupported()- Specified by:
isAsyncSupportedin interfacejavax.portlet.ResourceRequest
-
startPortletAsync
- Specified by:
startPortletAsyncin interfacejavax.portlet.ResourceRequest- Throws:
IllegalStateException
-
startPortletAsync
public javax.portlet.PortletAsyncContext startPortletAsync(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws IllegalStateException - Specified by:
startPortletAsyncin interfacejavax.portlet.ResourceRequest- Throws:
IllegalStateException
-
RenderState.getRenderParameters()