I am trying passing time in a query param to WildFly 20 + RestEasy.
@GET public void takeTime(@QueryParam("time") Date time) {...}
RestEasy throws this error:
Unable to extract parameter from http request: javax.ws.rs.QueryParam("time") value is '2021-01-14T12%3A17%3A29.000Z'
From "%3A" it is obvious, where the problem is. RestEasy does not unescape query parametr. But only in case of Date type.
When I change java type from Date to String and write parameter to log, colons in time are correctly written instead of %3A.
Is this correct behaviour or a bug in RestEasy ? Or it is a configurable feature ?