-
Currently you can use regular expressions in URLs which get bound to a PathParam. However you cannot just include a regular expression without it being bound to a path param.
e.g. @Path("/myservice/{ignore:.*}/{id}"
The causes problems when using UriBuilder as I need to pass in a dummy value for the ignore param otherwise an exception is thrown (even if my method doesn't have a @PathParam...
2009-08-23 10:55:20 UTC in RESTEasy
-
Marshalling/UnMarshalling of Collections of JaxB objects only appears to work for methods that explicity return an object of type Collection... e.g.
public HashSet getTags();
Where Tag is a JaxB annotated object. This will work and JaxB will marshall/unmarshall appropriately. However replace the return type with java.lang.Object:
public java.lang.Object getTags();
and attempting...
2009-08-23 10:29:11 UTC in RESTEasy
-
Hey all,
I've been redeveloping some of our services using RESTEasy and I have a few suggestions/questions...
So I'm trying to use Spring MVC for displaying JSPs etc. given I couldn't find out any other way to do it. The issue is instead of working like everything else in RestEasy which returns a domain object it has to return a ModelView.... let me demonstrate:
@GET...
2009-07-02 07:18:28 UTC in RESTEasy
-
Hi All, I'm hoping this isn't a dead forum (though nobody has posted here in 2 years so not much hope =P )...
Anyway I downloaded RESTEasy today and in one short morning got a thematic tagging service going with Atom, XML and JSON representations and all I can say is AWESOME!!! Keep up the good work...
However I am interested in having an XHTML representation of the data too and though I...
2009-06-17 11:53:29 UTC in RESTEasy