Class ActionRequestWrapper

    • Constructor Detail

      • ActionRequestWrapper

        public ActionRequestWrapper​(ActionRequest request)
        Creates an ActionRequest adaptor wrapping the given request object.
        Parameters:
        request - the action request to wrap
        Throws:
        IllegalArgumentException - if the request is null
    • Method Detail

      • setRequest

        public void setRequest​(ActionRequest request)
        Sets the request object being wrapped.
        Parameters:
        request - the request to set
        Throws:
        IllegalArgumentException - if the request is null.
      • getActionParameters

        public ActionParameters getActionParameters()
        Description copied from interface: ActionRequest
        Gets the action parameters set for this request.

        Action parameters are additional portlet parameters added to the URL triggering the request that extend the state information provided by the render parameters.

        Action parameters can also contain information provided by the client, for example, form parameters provided when a form is submitted.

        PortletParameters provides a description of the parameter concept.

        Specified by:
        getActionParameters in interface ActionRequest
        Returns:
        an immutable object representing the action parameters
        See Also:
        ActionParameters, MutableActionParameters, ActionURL