[jbosstools-issues] [JBoss JIRA] (JBIDE-15592) Provide JAX-RS Fields and Parameters type validation

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Tue Oct 1 08:21:02 EDT 2013


Xavier Coulon created JBIDE-15592:
-------------------------------------

             Summary: Provide JAX-RS Fields and Parameters type validation
                 Key: JBIDE-15592
                 URL: https://issues.jboss.org/browse/JBIDE-15592
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: webservices
    Affects Versions: 4.1.0.Final
            Reporter: Xavier Coulon
            Assignee: Xavier Coulon
             Fix For: 4.2.x


>From JAX-RS 1.1 spec (chap 3.2):
{quote}
1. Primitive types.
2. Types that have a constructor that accepts a single String argument.
3. 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 used.
4. List<T>, Set<T>, or SortedSet<T>, where T satisfies 2 or 3 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