Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-162

Deferr ClientResponse.getEntity() so we can check status

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • Beta 9
    • None
    • None
    • None

      i get a ClientResponseFailure exception on a 404. i would expect the
      method call to succeed and let me check the status.
      somehow i get the default client error handling

      client interface snippet:
      public ClientResponse<MyPojo> read(@PathParam("id") Long id);

      the documentation specifies "something other than an un-type
      ClientResponse" and i assume ClientResponse<MyPojo> is
      this is with the beta 8

            patriot1burke@gmail.com Bill Burke (Inactive)
            patriot1burke@gmail.com Bill Burke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: