Class ServiceContainerActionRequest

    • Constructor Detail

      • ServiceContainerActionRequest

        public ServiceContainerActionRequest​(SessionConfig sessionConfig,
                                             PortalRequestParameters parameters,
                                             javax.servlet.http.HttpServletRequest httpServletRequest,
                                             ReplaceInterfacesStorage replaceInterfacesStorage)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • setInputStream

        public void setInputStream​(java.io.InputStream inputStream)
        Sets the input stream for this request. It's content will also be used for getReader().

        Note: This request will not close the input stream. It should be closed by the one providing it.

        Parameters:
        inputStream - the input stream.
        Since:
        5.5.0
      • getReader

        public java.io.BufferedReader getReader()
                                         throws java.io.IOException
        Specified by:
        getReader in interface javax.portlet.ClientDataRequest
        Specified by:
        getReader in interface javax.servlet.ServletRequest
        Overrides:
        getReader in class javax.servlet.ServletRequestWrapper
        Throws:
        java.io.IOException
      • getInputStream

        public javax.servlet.ServletInputStream getInputStream()
                                                        throws java.io.IOException
        Specified by:
        getInputStream in interface javax.servlet.ServletRequest
        Overrides:
        getInputStream in class javax.servlet.ServletRequestWrapper
        Throws:
        java.io.IOException
      • getPortletInputStream

        public java.io.InputStream getPortletInputStream()
                                                  throws java.io.IOException
        Specified by:
        getPortletInputStream in interface javax.portlet.ClientDataRequest
        Throws:
        java.io.IOException