Package org.gatein.pc.controller.request
Class PortletResourceRequest
java.lang.Object
org.gatein.pc.controller.request.ControllerRequest
org.gatein.pc.controller.request.ContainerRequest
org.gatein.pc.controller.request.PortletResourceRequest
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class org.gatein.pc.controller.request.ContainerRequest
windowId -
Constructor Summary
ConstructorsConstructorDescriptionPortletResourceRequest(String windowId, String resourceId, org.gatein.pc.api.StateString resourceState, Map<String, String[]> bodyParameters, PortletResourceRequest.Scope scope) Build a new portlet resource request. -
Method Summary
Modifier and TypeMethodDescriptionorg.gatein.pc.api.cache.CacheLevelReturns the page navigational state or null if that kind of request cannot have one.org.gatein.pc.api.StateStringgetScope()org.gatein.pc.api.invocation.response.PortletInvocationResponseinvoke(ControllerContext context) Methods inherited from class org.gatein.pc.controller.request.ContainerRequest
getWindowId
-
Constructor Details
-
PortletResourceRequest
public PortletResourceRequest(String windowId, String resourceId, org.gatein.pc.api.StateString resourceState, Map<String, String[]> bodyParameters, PortletResourceRequest.Scope scope) throws IllegalArgumentExceptionBuild a new portlet resource request.- Parameters:
windowId- the window idresourceId- the resource idresourceState- the resource statebodyParameters- the body parametersscope- the scope- Throws:
IllegalArgumentException- if the windows id, the resource state or the scope is null
-
-
Method Details
-
getScope
-
getCacheability
public org.gatein.pc.api.cache.CacheLevel getCacheability() -
getResourceId
-
getResourceState
public org.gatein.pc.api.StateString getResourceState() -
getBodyParameters
-
invoke
public org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(ControllerContext context) throws org.gatein.pc.api.PortletInvokerException - Specified by:
invokein classControllerRequest- Throws:
org.gatein.pc.api.PortletInvokerException
-