jersey
  1. jersey
  2. JERSEY-1808

Response#readEntity(Character.class) throws WebApplictaionException subclass when no entity on Client

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-m13
    • Fix Version/s: 2.0-rc1, 2.0
    • Component/s: core
    • Labels:
      None

      Description

      javadoc says:

      If the message does not contain an entity body null is returned.

      Unlike on server, where the Spec says:

      The pre-packaged JAXB and the
      pre-packaged primitive type MessageBodyReader's MUST throw a BadRequestException (400 status)
      for zero-length message entities.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Marek Potociar
              Reporter:
              jan.supol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h