Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.4.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      BACKGROUND:
      BuiltResponse inherits from Response. It only accepts status code as an int to indicate the error). This is quite different from Jersey's implementation where it accepts StatusType/Status so that the server can specify non-generic error status code. This means that the client can only interpret a known error code correctly. When it encounters unknown error code it will simply return "Unknown Code" instead of the error reason phase returned by the server.

      REQUEST:
      It would be nice if RESTeasy could do the same by adding method setStatusType() instead. All the client and server interaction should be updated to provide status reason phase along with the status code accordingly.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ron_sigal Ronald Sigal
                  Reporter:
                  luengnat Nat Nat
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: