public class PortletResourceRequest extends ContainerRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
PortletResourceRequest.FullScope |
static class |
PortletResourceRequest.PageScope |
static class |
PortletResourceRequest.PortletScope |
static class |
PortletResourceRequest.Scope |
windowId| Constructor and Description |
|---|
PortletResourceRequest(String windowId,
String resourceId,
org.gatein.pc.api.StateString resourceState,
Map<String,String[]> bodyParameters,
PortletResourceRequest.Scope scope)
Build a new portlet resource request.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String[]> |
getBodyParameters() |
org.gatein.pc.api.cache.CacheLevel |
getCacheability() |
PageNavigationalState |
getPageNavigationalState()
Returns the page navigational state or null if that kind of request cannot have one.
|
String |
getResourceId() |
org.gatein.pc.api.StateString |
getResourceState() |
PortletResourceRequest.Scope |
getScope() |
org.gatein.pc.api.invocation.response.PortletInvocationResponse |
invoke(ControllerContext context) |
getWindowIdpublic PortletResourceRequest(String windowId, String resourceId, org.gatein.pc.api.StateString resourceState, Map<String,String[]> bodyParameters, PortletResourceRequest.Scope scope) throws IllegalArgumentException
windowId - the window idresourceId - the resource idresourceState - the resource statebodyParameters - the body parametersscope - the scopeIllegalArgumentException - if the windows id, the resource state or the scope is nullpublic PortletResourceRequest.Scope getScope()
public org.gatein.pc.api.cache.CacheLevel getCacheability()
public String getResourceId()
public org.gatein.pc.api.StateString getResourceState()
public PageNavigationalState getPageNavigationalState()
ControllerRequestgetPageNavigationalState in class ControllerRequestpublic org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(ControllerContext context) throws org.gatein.pc.api.PortletInvokerException
invoke in class ControllerRequestorg.gatein.pc.api.PortletInvokerExceptionCopyright © 2003-2020 GateIn. All Rights Reserved.