Class ServiceContainerActionResponse

    • Method Detail

      • isRedirectSet

        public boolean isRedirectSet()
      • getRedirectDestination

        public java.lang.String getRedirectDestination()
      • setRenderParameter

        public void setRenderParameter​(java.lang.String key,
                                       java.lang.String value)
        Specified by:
        setRenderParameter in interface javax.portlet.StateAwareResponse
      • setRenderParameter

        public void setRenderParameter​(java.lang.String key,
                                       java.lang.String[] value)
        Specified by:
        setRenderParameter in interface javax.portlet.StateAwareResponse
      • setRenderParameters

        public void setRenderParameters​(java.util.Map<java.lang.String,​java.lang.String[]> parameters)
        Specified by:
        setRenderParameters in interface javax.portlet.StateAwareResponse
      • getRenderParameter

        @Deprecated
        public java.lang.String[] getRenderParameter​(java.lang.String key)
        Deprecated.
        Description copied from interface: IServiceInterfaceActionResponse
        Returns the parameter previously set by the setRenderParameter methods. This method is usually used by chained process actions that need to read previously set render parameters.
        Specified by:
        getRenderParameter in interface IServiceInterfaceActionResponse
        Returns:
      • getRenderParameters

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String[]> getRenderParameters()
        Deprecated.
        Description copied from interface: IServiceInterfaceActionResponse
        Returns all the parameters previously set by the setRenderParameter methods. This method is usually used by chained process actions that need to read previously set render parameters.
        Specified by:
        getRenderParameters in interface IServiceInterfaceActionResponse
        Returns:
      • setPortletMode

        public void setPortletMode​(javax.portlet.PortletMode portletMode)
                            throws javax.portlet.PortletModeException
        Specified by:
        setPortletMode in interface javax.portlet.StateAwareResponse
        Throws:
        javax.portlet.PortletModeException
      • setWindowState

        public void setWindowState​(javax.portlet.WindowState windowState)
                            throws javax.portlet.WindowStateException
        Specified by:
        setWindowState in interface javax.portlet.StateAwareResponse
        Throws:
        javax.portlet.WindowStateException
      • sendRedirect

        public void sendRedirect​(java.lang.String arg0,
                                 java.lang.String arg1)
                          throws java.io.IOException
        Specified by:
        sendRedirect in interface javax.portlet.ActionResponse
        Throws:
        java.io.IOException
      • getPortletMode

        public javax.portlet.PortletMode getPortletMode()
        Specified by:
        getPortletMode in interface javax.portlet.StateAwareResponse
      • getRenderParameterMap

        public java.util.Map<java.lang.String,​java.lang.String[]> getRenderParameterMap()
        Specified by:
        getRenderParameterMap in interface javax.portlet.StateAwareResponse
      • getWindowState

        public javax.portlet.WindowState getWindowState()
        Specified by:
        getWindowState in interface javax.portlet.StateAwareResponse
      • removePublicRenderParameter

        public void removePublicRenderParameter​(java.lang.String arg0)
        Specified by:
        removePublicRenderParameter in interface javax.portlet.StateAwareResponse
      • setEvent

        public void setEvent​(javax.xml.namespace.QName arg0,
                             java.io.Serializable arg1)
        Specified by:
        setEvent in interface javax.portlet.StateAwareResponse
      • setEvent

        public void setEvent​(java.lang.String arg0,
                             java.io.Serializable arg1)
        Specified by:
        setEvent in interface javax.portlet.StateAwareResponse
      • setStatusInternal

        public void setStatusInternal​(int statusCode,
                                      java.lang.String message)
        Sets the status code and message for this action response. This is a temporary implementation that is used exclusively for requests with accept: application/json header. This code and message will be returned in the http response headers in this case. The final support for setting response status will be available in the future.
        Specified by:
        setStatusInternal in interface IServiceInterfaceActionResponseSPI
        Parameters:
        statusCode - the status code for the response
        message - the message
        Since:
        8.0.0
      • getStatusCode

        public int getStatusCode()
        Returns the status code
        Returns:
        the response status code
        Since:
        8.0.0
      • getStatusMessage

        public java.lang.String getStatusMessage()
        Returns the status message
        Returns:
        the status message
        Since:
        8.0.0