Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-m05
    • Fix Version/s: 2.0-m06, 2.0
    • Component/s: None
    • Labels:
      None

      Description

      Having a client

      Client client = ClientFactory.newClient();
      Target target = client.target(url);
      AsyncInvoker async = target.request().async();
      System.out.println(Calendar.getInstance().getTime().toString());
      Future<Response> future = async.delete();
      System.out.println(Calendar.getInstance().getTime().toString());
      

      and a resource method with

      Thread.sleep(3000);
      

      It is obvious that async.delete waits for a response 3 seconds, the times output differs by this time amount.

        Activity

        Hide
        Miroslav Fuksa added a comment -

        merged into the master branch

        Show
        Miroslav Fuksa added a comment - merged into the master branch

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 9 hours Original Estimate - 9 hours
              9h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 9 hours
              1d 9h