cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendy Irawan (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2335) @Context does not work for JAX-RS member fields
Date Thu, 09 Jul 2009 07:34:14 GMT
@Context does not work for JAX-RS member fields
-----------------------------------------------

                 Key: CXF-2335
                 URL: https://issues.apache.org/jira/browse/CXF-2335
             Project: CXF
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.2.2
            Reporter: Hendy Irawan


This works in Jersey, but not in CXF:

class ........ {

@Context
private UriInfo context;

}

The alternative, works on both CXF and Jersey:

class ...... {

@GET
public void something(@Context UriInfo context) {
  ...
}

}

-- 
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