Class ServiceContainerActionResponse

    • Method Detail

      • isRedirectSet

        public boolean isRedirectSet()
      • getRedirectDestination

        public String getRedirectDestination()
      • setRenderParameter

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

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

        public void setRenderParameters​(Map<String,​String[]> parameters)
        Specified by:
        setRenderParameters in interface javax.portlet.StateAwareResponse
      • 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​(String arg0,
                                 String arg1)
                          throws IOException
        Specified by:
        sendRedirect in interface javax.portlet.ActionResponse
        Throws:
        IOException
      • getPortletMode

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

        public Map<String,​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​(String arg0)
        Specified by:
        removePublicRenderParameter in interface javax.portlet.StateAwareResponse
      • setEvent

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

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

        public void setStatusInternal​(int statusCode,
                                      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 String getStatusMessage()
        Returns the status message
        Returns:
        the status message
        Since:
        8.0.0