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

javadoc of AsyncResponse contains wrong example

    Details

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

      Description

      the example code in the javadoc is

           @GET
           public void readMessage(@Suspended AsyncResponse ar) throws InterruptedException {
               suspended.put(ar);
               return ar;
           }
      

      void return ar;

        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: