cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "drekbour" <drekb...@fastmail.fm>
Subject ParameterHandler not invoked for Date parameter
Date Thu, 30 Dec 2010 16:29:24 GMT
There was a thread a while back on this
http://cxf.547215.n5.nabble.com/ParameterHandler-not-invoked-for-Date-parameter-tt2267734.html#a2839025

I copied the same handler code but the same issue doesn't seem to be
resolved
  @QueryParam("updated") Date updated
is not being picked up by 
<jaxrs:providers>
  <bean class="x.ISO8601TimestampParameterHandler" />
</jaxrs:providers>

The class signature is: public class ISO8601TimestampParameterHandler
implements ParameterHandler<Date> 

Of course the temporary (ugly) workaround is to take a string param then
run it through the same method in the server code but I'm sure we'd
rather not leave it like this.

Has anyone got a working example?

-- 
http://www.fastmail.fm - The way an email service should be


Mime
View raw message