Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3515

Support ExternalContext.setResponseContentLength(int)

    Details

      Description

      The FacesBridge must follow the requirements in the JSF 2.2 JavaDoc. However, rather than call HttpServletResponse.setContentLength(int) the FacesBridge must call ResourceResponse.setContentLength(int). It is only valid to call this method during the RESOURCE_PHASE of the portlet lifecycle.

      TCK compatibility for this method is satisfied by the following JSF Showcase use-case:

      (Each image is served up from a ResourceHandler which sets the content length – the client receives a corresponding Content-Length header).

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                facesbridge-spec-5.0.0