jax-rs-spec
  1. jax-rs-spec
  2. JAX_RS_SPEC-387

Chapter 4.2.4 - "request entity" should be "message entity"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Description

      following text should most likely mention "message entity" instead of "request entity"

      When reading zero-length request entities all pre-packaged MessageBodyReader implementations,
      except the JAXB-related one and those for the (boxed) primitive types above, MUST create a corresponding
      Java object that represents zero-length data; they MUST NOT return null. The pre-packaged JAXB and the
      prepackaged primitive type MessageBodyReader's MUST throw a BadRequestException (400 status) for
      zero-length request entities. Moreover, all pre-packaged MessageBodyReader implementations SHOULD
      throw a BadRequestException (400 status) if any other error is encountered while reading a request
      entity.

        Activity

        Hide
        Marek Potociar added a comment -

        Similarly, for the "response entity" mentioned later in the text.

        Show
        Marek Potociar added a comment - Similarly, for the "response entity" mentioned later in the text.
        Hide
        Santiago Pericas-Geertsen added a comment -

        Fixed. Also replaced it in a few other chapters.

        Show
        Santiago Pericas-Geertsen added a comment - Fixed. Also replaced it in a few other chapters.

          People

          • Assignee:
            Santiago Pericas-Geertsen
            Reporter:
            Pavel Bucek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: