Class PortletResourceRequest

    • Constructor Detail

      • PortletResourceRequest

        public PortletResourceRequest​(String windowId,
                                      String resourceId,
                                      org.gatein.pc.api.StateString resourceState,
                                      Map<String,​String[]> bodyParameters,
                                      PortletResourceRequest.Scope scope)
                               throws IllegalArgumentException
        Build a new portlet resource request.
        Parameters:
        windowId - the window id
        resourceId - the resource id
        resourceState - the resource state
        bodyParameters - the body parameters
        scope - the scope
        Throws:
        IllegalArgumentException - if the windows id, the resource state or the scope is null
    • Method Detail

      • getCacheability

        public org.gatein.pc.api.cache.CacheLevel getCacheability()
      • getResourceId

        public String getResourceId()
      • getResourceState

        public org.gatein.pc.api.StateString getResourceState()
      • invoke

        public org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke​(ControllerContext context)
                                                                               throws org.gatein.pc.api.PortletInvokerException
        Specified by:
        invoke in class ControllerRequest
        Throws:
        org.gatein.pc.api.PortletInvokerException