portletspec3
  1. portletspec3
  2. PORTLETSPEC3-26

Errata: Clarify that certain methods that modify headers can only be called prior to writing to the response

    Details

      Description

      ResourceResponse.setContentLength(int) must be set before the response is written.

      The same technically holds true for:

      resourceResponse.setProperty(ResourceResponse.HTTP_STATUS_CODE, Integer.toString(statusCode));

      Does this merit any changes to the JavaDoc?

        Issue Links

          Activity

          Neil Griffin created issue -
          Neil Griffin made changes -
          Field Original Value New Value
          Link This issue is related to PORTLETSPEC3-28 [ PORTLETSPEC3-28 ]
          msnicklous made changes -
          Assignee msnicklous [ msnicklous ]
          msnicklous made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          msnicklous made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              msnicklous
              Reporter:
              Neil Griffin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: