Class PortletRequestContext

    • Constructor Detail

      • PortletRequestContext

        public PortletRequestContext​(javax.portlet.ActionRequest request)
        Construct a context for this request.
        Parameters:
        request - The request to which this context applies.
    • Method Detail

      • contentLength

        public long contentLength()
        Retrieve the content length of the request.
        Specified by:
        contentLength in interface UploadContext
        Returns:
        The content length of the request.
        Since:
        1.3
      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Retrieve the input stream for the request.
        Specified by:
        getInputStream in interface RequestContext
        Returns:
        The input stream for the request.
        Throws:
        java.io.IOException - if a problem occurs.
      • toString

        public java.lang.String toString()
        Returns a string representation of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of this object.