[Jersey-issues] [JIRA] Assigned: (JERSEY-1666) AsyncResponse#cancel() does return false when already resumed

  • From: "Pavel Bucek (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [Jersey-issues] [JIRA] Assigned: (JERSEY-1666) AsyncResponse#cancel() does return false when already resumed
  • Date: Tue, 22 Jan 2013 14:48:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JERSEY-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Bucek reassigned JERSEY-1666:
-----------------------------------

    Assignee: Pavel Bucek

> AsyncResponse#cancel() does return false when already resumed
> -------------------------------------------------------------
>
>                 Key: JERSEY-1666
>                 URL: http://java.net/jira/browse/JERSEY-1666
>             Project: jersey
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0-m11
>            Reporter: jan.supol
>            Assignee: Pavel Bucek
>            Priority: Blocker
>             Fix For: 2.0-unplanned
>
>
> javadoc says:
> {quote}
> Invoking a cancel(...) method on an asynchronous response instance that has 
> already been resumed has no effect and the method call is ignored while 
> returning true.
> {quote}
> but having server side:
> {code:java}
> @Path("resource")
> public class Resource {
>   @GET
>   public String cancel(){
>      AsyncResponse response = ...
>      response.resume("ok");
>      response.cancel(); //return false;
>   }
> }
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Jersey-issues] [JIRA] Created: (JERSEY-1666) AsyncResponse#cancel() does return false when already resumed

jan.supol (JIRA) 01/22/2013

[Jersey-issues] [JIRA] Assigned: (JERSEY-1666) AsyncResponse#cancel() does return false when already resumed

Pavel Bucek (JIRA) 01/22/2013
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close