Hi Sergey,
Any specifics on when the fix regarding regex would be uploaded to any
snapshot?
Also example I have the following annotations:
@GET
@Path("/search")
@ProduceMime("application/xml")
public Accounts getList
And I try to access "/search/additional/path/here", if no other
operation matches the path, i.e. no method annotated with
"/search/additional", shouldn't the JAX-RS engine map to the method with
"/search"?
When I change the @Path to "/search{bar:.*}" or "/search/{bar:.*}", I
only get the response: JAXBException occurred : Premature end of file.
There is no exception or stacktrace server side or client side. The
interceptors, both in and out, function ok and it does not go the the
fault interceptor chain. What it does not do however, is go inside the
method.
Again, my thanks.
Gabo
Sergey Beryozkin wrote:
Hi Gabo
Yes it will, I think this fix has already been merged into the 2.1.x
branch, but the regex-related fixes have not yet. I started back-merging
yesterday all the fixes I've applied to 2.2 recently but hasn't finished
yet.
But the jaxrs support in 2.1.x will be nearly equivalent to what 2.2
offers, with the only difference that ProduceMime/ConsumeMime are used
there, some methods on some JAXRS helpers have slightly different
signatures, plus no FormParam and GenericEntity support...
Cheers, Sergey