[jbosstools-issues] [JBoss JIRA] (JBIDE-16763) Add support for JAX-RS ParamConverterProvider
Xavier Coulon (JIRA)
issues at jboss.org
Mon Mar 17 07:32:10 EDT 2014
Xavier Coulon created JBIDE-16763:
-------------------------------------
Summary: Add support for JAX-RS ParamConverterProvider
Key: JBIDE-16763
URL: https://issues.jboss.org/browse/JBIDE-16763
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: webservices
Affects Versions: 4.1.1.Final
Reporter: Xavier Coulon
Assignee: Xavier Coulon
Fix For: 4.2.0.Beta1
>From the spec:
{quote}
Valid parameter types for each of the above annotations are listed in the corresponding Javadoc, however in general (excluding @Context) the following types are supported:
1. Types for which a ParamConverter is available via a registered ParamConverterProvider. See Javadoc for these classes for more information.
2. Primitive types.
3. Types that have a constructor that accepts a single String argument.
4. Types that have a static method named valueOf or fromString with a single String argument that return an instance of the type. If both methods are present then valueOf MUST be used unless the type is an enum in which case fromString MUST be used1.
5. List<T>, Set<T>, or SortedSet<T>, where T satisfies 3 or 4 above.
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list