cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michael Cheung (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2666) @DefaultValue should be the default value instead of empty string
Date Wed, 10 Feb 2010 00:39:27 GMT
@DefaultValue should be the default value instead of empty string
-----------------------------------------------------------------

                 Key: CXF-2666
                 URL: https://issues.apache.org/jira/browse/CXF-2666
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.2.6, 2.2.5
         Environment: mac OSX, jdk 1.6
            Reporter: michael Cheung
         Attachments: InjectionUtils.java

When doing a HTTP GET /getFoo?id= to the resource below, the default value does not override
the query parameter.

@GET
@Path("/getFoo")
public Response getFoo(@QueryParam("id") @DefaultValue("-1") String gameId)



    

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message