Just FYI, one can now set a
"org.apache.cxf.http.case_insensitive_queries"
jaxrs:property on a given endpoint for case-insensitive query lookups be
supported
cheers, Sergey
----- Original Message -----
From: "Linus Kamb" <[email protected]>
To: <[email protected]>
Sent: Tuesday, February 02, 2010 10:20 AM
Subject: RE: case-insensitive RS query parameters?
Yes, I see that could work. I guess it will lower case the entire query, but if that's a problem, I suppose I could break it up and
work on each parameter.
Thanks,
Linus
-----Message d'origine-----
De : Sergey Beryozkin [mailto:[email protected]]
Envoyé : Tuesday, February 02, 2010 10:52 AM
À : [email protected]
Objet : RE: case-insensitive RS query parameters?
Hi
It is interesting HttpHeaders.getRequestHeaders docs do talk about the
case-insensitive keys but UriInfo.getQueryParameters docs don't. I'll
need to ask a question on the jaxrs list.
What you can try to do is to reset a Message.QUERY_STRING on a current
message in a request filter:
String query = (String)message.get(Message.QUERY_STRING);
message.put(Message.QUERY_STRING, query.toLowerCase());
hope it helps, Sergey
-----Original Message-----
From: Linus Kamb [mailto:[email protected]]
Sent: 02 February 2010 09:07
To: [email protected]
Subject: case-insensitive RS query parameters?
Hi,
Is it possible to configure CXF to have case-insensitive query
parameters in rs services?
cheers,
Linus