RE: Re: Jetty 9?

2013-11-06 Thread Tal Liron
The API has indeed subtly changed, so that throwing in the Jars will not work. And though Restlet doesn't use AJP to communicate with Jetty, it does try to initialize AJP support, and those classes no longer exist in Jetty 9, thus another kind of failure. Bottom line, it won't work. Jerome, Jet

RE: Re: Re: MediaType: should application/xml be compatible with application/*+xml?

2013-11-06 Thread Andy Dennie
I took a closer look today, and it's not the ignoreParameters that's at fault (in fact, it should be considered included regardless of whether ignoreParameters is true or false, since ignoreParameters applies to "this" and not "included", and "this" has no parameters). I think the fix would be

Re: Re: MediaType: should application/xml be compatible with application/*+xml?

2013-11-06 Thread Jerome Louvel
Hi Andy :) Yes, this should be the case. Did you try to set the ignoreParameters option on the includes() method? Jérôme 2013/11/5 Andy Dennie > 4 1/2 years later, I have a follow-up question :-) > > shouldn't > "application/json" > include > "application/vnd.foo.bar-baz-v1+json; lev

Re: Jetty 9?

2013-11-06 Thread Jerome Louvel
Restlet integration with Jetty (the org.restlet.ext.jetty extension) isn't based on AJP but on core Jetty APIs, enable support of HTTP/HTTPS and AJP. I haven't tried but dropping new Jetty JARs might just do it, but likely they have changed their internal API here and there and some patches will b

Re: Jetty 9?

2013-11-06 Thread Bryan Hunt
You can always use the servlet extension with Jetty.BryanOn Nov 06, 2013, at 08:45 AM, Tal Liron wrote:The answer, unfortunately, is no: Restlet uses AJP to connect to Jetty, which is unfortunate because it's not a recommended protocol, and has been dropped in Jetty 9. Would it be possible to cha

RE: Jetty 9?

2013-11-06 Thread Tal Liron
The answer, unfortunately, is no: Restlet uses AJP to connect to Jetty, which is unfortunate because it's not a recommended protocol, and has been dropped in Jetty 9. Would it be possible to change the Jetty connector so that it would work with either Jetty 8 or 9? It's very unfortunate that Re

Jetty 9?

2013-11-06 Thread Tal Liron
Can Restlet 2.2 work use Jetty 9 as its connector? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3067974