Re: Support for java.lang.Character as a parameter

From: Patrick Mueller <>
Date: Wed, 3 Oct 2007 09:51:11 -0400

On Oct 3, 2007, at 5:47 AM, Paul Sandoz wrote:

> Any issue [1] was recently logged in Jersey about support for
> java.lang.Character for UriParam/QueryParam etc.
> "The java.lang.Character is not a JAX-RS supported type. We can
> certainly print out better error messages (which is one of the
> goals of the abstract resource model).
> What do people think ? Should we specify such support for
> java.lang.Character ?

It's a confusion factor; I'd continue to not support it. Many
languages don't have a notion of character separate from string, and
so you'd need to describe the special constraint for those languages
interfaces as "a string of length 1". Feh.

Patrick Mueller