Java: Enum case insensitive Jersey Query Param Binding
问题 I tried to override/implement all the attribute in JSR311 but the Jersey binding seems case sensitive : Be a primitive type Have a constructor that accepts a single String argument Have a static method named valueOf or fromString that accepts a single String argument (see, for example, Integer.valueOf(String)) Be List, Set or SortedSet, where T satisfies 2 or 3 above. The resulting collection is read-only. How can I make Jersey binding for enum case insensitive? EDIT: Here's the code: The