-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
API (Both)Impacts the client and server APIImpacts the client and server APIenhancementAdding a new feature or improving an existing oneAdding a new feature or improving an existing one
Milestone
Description
The current spec states:
The method parameter may be of type String, any Java primitive type or any boxed version thereof.
This is somewhat limiting so could be opened up to match the same specification as JAX-RS:
- Have a static method named
valueOforfromStringthat accepts a single String argument (see, for example,Integer.valueOf(String)).- Have a registered implementation of
ParamConverterProviderJAX-RS extension SPI that returns aParamConverterinstance capable of a "from string" conversion for the type.
Any failure should respond with a 404 Not Found.
This would promote consistency and clean up the code.
Metadata
Metadata
Assignees
Labels
API (Both)Impacts the client and server APIImpacts the client and server APIenhancementAdding a new feature or improving an existing oneAdding a new feature or improving an existing one