Class RenderRequestWrapper

    • Constructor Detail

      • RenderRequestWrapper

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

      • setRequest

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

        public String getETag()
        Description copied from interface: RenderRequest
        Returns the validation tag if the portlet container has a cached response for this validation tag, or null if no cached response exists.

        This call returns the same value as RenderRequest.getProperty(RenderRequest.ETAG).

        Specified by:
        getETag in interface RenderRequest
        Returns:
        the validation tag if the portlet container has a cached response for this validation tag, or null if no cached response exists.