Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1451

In doc for REST methods, information given about 200 and 204 is wrong

XMLWordPrintable

    • Icon: Documentation Documentation
    • Resolution: Done
    • Icon: Major Major
    • M1, jboss-fuse-6.2
    • jboss-fuse-6.1
    • None
    • None
    • % %

      Feedback on https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html/Apache_CXF_Development_Guide/files/RESTMethods.html

      The information given about 200 and 204 is wrong. It should be –

      When the return type of the method is void or the value being returned is null, the resource method sets the HTTP status code to 204. When the resource method returns any value other than null, it sets the HTTP status code to 200.

      Reference link : http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

      Thanks,

      Rahul Vashishth

            fbolton@redhat.com Fintan Bolton (Inactive)
            fbolton@redhat.com Fintan Bolton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: