Re: Receive custom exceptions from Restlet Framework in GWT client

2017-08-08 Thread Jerome Louvel
Hi Roland, That's great to hear about your success with Sencha GXT & Restlet/GWT! I hope you can contribute back your fixes regarding exceptions. Regarding v3, it's both a question of bandwidth for the core team, making it harder to innovate while we have to maintain the v2 branch and support sev

Re: Receive custom exceptions from Restlet Framework in GWT client

2017-08-08 Thread Jerome Louvel
Hi Roland, The support for annotated exception in Restlet/GWT hasn't been developed, but it should be technically feasible. Do you think you could contribute it? Happy to support you during this process. I would also like to highlight that in our future v3, we don't intend to keep support for the

Re: getServers().add(....) always bind to 0.0.0.0

2016-09-13 Thread Jerome Louvel
Thanks Jon for the update. A PR would be nice. Jerome On Tue, Sep 13, 2016 at 1:25 PM, Jon Finanger wrote: > I've checked the Jetty connector, and its fine. > I'll make that pull request for the internal connector when i have som > spare > time here... > > > > -- > View this message in context:

Re: getServers().add(....) always bind to 0.0.0.0

2016-09-11 Thread Jerome Louvel
Hi Jon, The VirtualHost is indeed only used for routing to match incoming HTTP calls. Which HTTP connector are you using? If you think this is a bug, could you submit a pull request? Thanks, Jerome On Sun, Sep 11, 2016 at 2:35 PM, Jon Finanger wrote: > I checked the source code for the HttpSe

Restlet Framework 2.3.3 released

2015-06-22 Thread Jerome Louvel
Hi all, We have just released a maintenance version on the stable branch. Here is the changes log: - Bugs fixed - Redirector does not translate response's entity location reference. Issue #1069. - Fixed tunnelFilter. + symbol (%2b) converted incorrectly when media

Re: unicode character in (disposition) headers

2015-04-28 Thread Jerome Louvel
Hi Arjohn, Sorry for the delay. I don't think we support this in version 2.3 either. I've entered this issue to keep track of this RFE: https://github.com/restlet/restlet-framework-java/issues/1062 In case you want to give this a try, the header parsing logic is located here: https://github.com/r

Re: Restelt Client Internal Connector Error (1002)

2015-03-10 Thread Jerome Louvel
ute, > which means that the server may not necessaryly respond before timeout. > > On Wed, Mar 11, 2015 at 2:37 AM, Jerome Louvel-3 [via Restlet Discuss] > <[hidden > email] <http:///user/SendEmail.jtp?type=node&node=7579349&i=0>> wrote: > >> Hello

Re: Restelt Client Internal Connector Error (1002)

2015-03-10 Thread Jerome Louvel
Hello Chirayu, Is your server supposed to answer before the timeout observed? Also, are you be able to upgrade to version 2.3.1 ("stable")? Best regards, Jerome On Tue, Mar 10, 2015 at 1:04 PM, Chirayu Desai wrote: > I am using a restlet 2.1 client sever based architecture, my client times >

Re: Restlet server concurrency issue: Server handle multiple requests sequentially

2015-02-19 Thread Jerome Louvel
In RF v2.3 the internal HTTP server (based on JDK's basic HTTP server) now also contains a thread pool, so that might help. However, as pointed by Fabian, using a production ready connector such as Jetty is recommended for serious loads. Jerome On Fri, Sep 26, 2014 at 12:24 PM, Fabian Mandelbaum

Re: Restlet API evolution - Conversion between Throwable & HTTP status+body

2015-02-19 Thread Jerome Louvel
Hi all, FYI, the *@Status* annotation has indeed been added in Restlet API v2.3 and works on both server and client side as discussed in this thread. Thanks, Jerome On Fri, Jun 6, 2014 at 3:55 AM, Ralph van Etten wrote: > Hi all, > > > On 06/06/2014 12:20 AM, Jerome Louvel wrote

Re: How to tell which client connector library is being used

2015-02-19 Thread Jerome Louvel
Hi Robert, I agree with the issue regarding classpath magic. We'll make this explicit at the Restlet API level in v3.0 for connectors & convertors. https://github.com/restlet/restlet-framework-java/wiki/Road-map-of-version-3.0 Thanks, Jerome On Mon, Jun 10, 2013 at 12:56 PM, Robert Dodier wro

Restlet Framework 2.3.1 released

2015-02-03 Thread Jerome Louvel
Hi all, We have just pushed the first maintenance version on the "stable" branch. Here are the bug fixed: - Reintroduced registration by default of the internal HTTP server connectors in JEE edition. - FormDataSet not properly serializing text/plain files. Issue #1006.

Restlet Framework 2.3.0 released!

2014-12-18 Thread Jerome Louvel
Hi all, Check out the details about the new version here! http://restlet.com/blog/2014/12/10/restlet-framework-2-3-0-released/ We also updated the technical documentation on the web site with better styling, a navigation bar in the user guide and more. The Javadocs area will get the update soon a

Restlet Framework 2.3 RC1 and 2.2.3 released

2014-11-28 Thread Jerome Louvel
Hi all, We have just released version 2.3 RC1 that will soon become our new "stable" version, as well a 2.2.3 that includes several bug fixes including a critical security fix for Directory. Please test and send any feed-back, 2.3.0 is planned for next week! Recent changes in the 2.3 branch inclu

New Restlet web site and framework logo

2014-11-18 Thread Jerome Louvel
Hi all, We just released our brand new Restlet web site this morning, with a new visual identity and consolidating all our products, Restlet Framework, APISpark (GA today) and the Restlet Studio (preview) in one place: http://restlet.com Here is also the new logo: [image: Restlet Framework] Not

Re: issues with setting Timeouts in Restlet

2014-11-10 Thread Jerome Louvel
Hi Santhos, Which version of Restlet Framework are you using? 1.1.5 is a very old one. Also, you need to let us know which HTTP client you are using as the parameters vary depending on the connector (Apache HTTP Client, Jetty or the internal/default one) Thanks, Jerome -- http://restlet.com @jlou

RE: Redirect whole browser traffic to restlet proxy

2014-10-15 Thread Jerome Louvel
Hi Jovan, Are you trying to setup a reverse proxy (server-side)? If so, you need to set the mode to MODE_SERVER_OUTBOUND and use an URI template such as "http://www.google.com/{rr}";. See Javadocs as well: http://restlet.com/learn/javadocs/snapshot/jee/api/org/restlet/routing/Redirector.html B

Restlet Framework 2.2.2 released

2014-08-05 Thread Jerome Louvel
Hi all, We have just released a new version of our "stable" branch including a fix for a regression in the Android edition generation process: http://restlet.com/download/current Thanks, Jerome -- http://restlet.com @jlouvel ---

Fwd: Restlet.com download broken.

2014-08-01 Thread Jerome Louvel
Hi Robert, I just did a test with the link you shared and it works for me. Can you share your web browser and OS so we can investigate? As a workaround, you might want to try using Maven distribution: http://restlet.com/download/current Thanks, Jerome -- http://restlet.com @jlouvel

Re: API World competition support

2014-07-16 Thread Jerome Louvel
Thanks Xavier and all, it seems we are now in the first position :) Stay tuned! Jerome On Tue, Jul 15, 2014 at 12:33 PM, Xavier Méhaut wrote: > done :) > > > 2014-07-15 21:15 GMT+02:00 Jerome Louvel : > > Hi all, >> >> Our APISpark <https://apispark

API World competition support

2014-07-15 Thread Jerome Louvel
Hi all, Our APISpark platform (based on Restlet Framework) is in 2nd position, not far from 1st, in the API Infrastructure category for the "API World" awards competition . The winners

Re: Re: Getting Started with Restlet

2014-07-12 Thread Jerome Louvel
Hi Tejas, You might want to check out the new tutorial we have been working on: https://github.com/restlet/restlet-tutorial Otherwise, there is 'Restlet in Action' book that might help. Thanks, Jerome -- http://restlet.com @jlouvel On Sat, Jul 12, 2014 at 3

Re: Handling multiple environments

2014-06-25 Thread Jerome Louvel
Hi Tim, As long as your template use proper relative URIs (not starting with any '/', but potentially with '..' to move up the hierarchy then you should be fine with a http://TEST_SERVER:8080/restlet/{env}/ base URI. You don't need to manually change t

Re: Announcing HTML newsletter and Restlet web API platform

2014-06-18 Thread Jerome Louvel
Thanks, Jerome -- http://restlet.com @jlouvel <http://twitter.com/#!/jlouvel> On Tue, Jun 17, 2014 at 10:28 PM, Xybrek wrote: > On Wednesday, 07 May, 2014 12:05 PM, Jerome Louvel wrote: > > Hi all, > > > > Starting with the Restlet Framework 2.3 M2 and 2.2.1 versions

RE: Re: How to remove URL form thread name?

2014-06-13 Thread Jerome Louvel
Thanks Paul for the update, great to know that you solved it! Best regards, Jerome > Found it. Yes this is a Jetty feature and it is only enabled when debug > logging is on. > > https://github.com/eclipse/jetty.project/blob/jetty-8.1.5.v20120716/jetty-server/src/main/java/org/eclipse/jetty/ser

RE: Re: How to remove URL form thread name?

2014-06-06 Thread Jerome Louvel
Hi Paul, I suspect this is a Jetty feature as well. If you use Jetty as a Restlet Server connector, you can have access to the underlying Jetty Server object (and then its thread pool) via this class: http://restlet.com/learn/javadocs/snapshot/jse/ext/org/restlet/ext/jetty/JettyServerHelper.html

Re: restlet support ssl

2014-06-05 Thread Jerome Louvel
Hi, Restlet 1.1.1 is a pretty old version :) If you have any chance, I strongly suggest that you upgrade to version 2.2 Otherwise, HTTPS should work in your case if you configure properly your Servlet container as it will be responsible for the HTTPS server connector in your case. Thanks, Jerom

Re: Restlet API evolution - Conversion between Throwable & HTTP status+body

2014-06-05 Thread Jerome Louvel
of those > exceptions, how would this be handled? I'd expect the one redefined on my > server resource is used... > > May add more comments/ideas later... > > Thanks. > > > > On Thu, Jun 5, 2014 at 7:20 PM, Jerome Louvel wrote: > >> Hi all, >>

Restlet API evolution - Conversion between Throwable & HTTP status+body

2014-06-05 Thread Jerome Louvel
Hi all, In V2.3 of Restlet API, we would like to introduce automatic conversion between Java throwable and HTTP status+body, working both ways (client and server sides). The goal is to be able to write annotated Java interfaces including methods such as: @Get public MyBean represent() throws M

Re: Serve static content using SpringBeanRouter?

2014-06-04 Thread Jerome Louvel
.0 > (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/35.0.1916.114 Safari/537.36 - > > May 30, 2014 10:59:46 AM org.restlet.engine.log.LogFilter afterHandle > > INFO: 2014-05-30 10:59:46 0:0:0:0:0:0:0:1 - 0:0:0:0:0:0:0:1 9091 GET > /images/ze

Re: Serve static content using SpringBeanRouter?

2014-05-29 Thread Jerome Louvel
Hi Jorge, Normally, you shouldn't embed a Directory inside a ServerResource but directly attach it to your SpringBeanRouter. To not have to use the {imageId} path variable (for your file names I guess), you can set the route's matchingMode to Template.STARTS_WITH. I'm not sure exactly how to do it

Re: Announcing HTML newsletter and Restlet web API platform

2014-05-20 Thread Jerome Louvel
t.com instead of maven.restlet.org. Proper redirections have been put in place to make sure the transition is smooth for existing inbound links. Best regards, Jerome -- http://restlet.com @jlouvel <http://twitter.com/#!/jlouvel> On Tue, May 6, 2014 at 9:05 PM, Jerome Louvel wrote: > Hi all, >

Re: Authenticator and Component XML configuration

2014-05-13 Thread Jerome Louvel
Hi Sergio, I think you should attach a Restlet Application subclass to your default host. Inside this application, you can add a ChallengeAuthenticator filter, then a Router and attach your four resources to this router. If you want to do it all in XML, maybe you should consider using Spring XML

Announcing HTML newsletter and Restlet web API platform

2014-05-06 Thread Jerome Louvel
Hi all, Starting with the Restlet Framework 2.3 M2 and 2.2.1 versions released today, we will be announcing the new releases and security updates via an *HTML newsletter*. As always, we cross post the content to our blog

Re: Intermittent NPE in java.io.reader

2014-05-02 Thread Jerome Louvel
Hi Andy, I'm not aware of this issue. It might be a bug so I encourage you to file a GitHub issue. Otherwise, have you tried to migrate to 2.1.7 or better to 2.2.0? Regarding the range representation, you might want to try disable the RangeService which filters all the API calls. Just call getRan

Re: Re: Re: SSL Handshake Hangs

2014-04-25 Thread Jerome Louvel
Hi Roy, Excellent, thanks for the feed-back! BTW, I have fixed this issue in upcoming 2.2.1 so that manual registration of the HTTPS server helper isn't even necessary. Thanks, Jerome -- http://restlet.org @jlouvel On Fri, Apr 25, 2014 at 2:21 PM, Roy Olsen w

Re: Transparent reverse proxying using org.restlet.routing.Redirector

2014-04-24 Thread Jerome Louvel
Thanks for the feed-back Arjohn! We have completely replaced the internal HTTP connector in 2.2 so that certainly helped a lot. I don't think 2.1.7 would solve your issue but that could be interesting to confirm. Best, Jérôme On Tue, Apr 22, 2014 at 1:45 AM, Arjohn Kampman < arjohn.kamp...@vou

Re: Re: SSL Handshake Hangs

2014-04-23 Thread Jerome Louvel
Hi Roy, Thanks for the test, you spotted a bug in 2.2.0. The internal HTTPS server isn't properly registered with the engine. While we fix it for the upcoming 2.2.1, you can add this line somewhere before creating your HTTPS server: Engine.getInstance().getRegisteredServers().add(

Re: SSL Handshake Hangs

2014-04-23 Thread Jerome Louvel
Hi Roy, In v2.2.0, the org.restlet.ext.ssl module has been split into: - an org.restlet.ext.jsslutils.jar module (not necessary for your case, integration with jSSLutils library for special SSL certificates) - the org.restlet.jar core module So, you should be able to remove the org.rest

Re: vert.x

2014-03-31 Thread Jerome Louvel
r now > vert.x. > > It is vert.x build in support for WebSockets and SockJs that is making me, > in particular, interested in using it. > > Thanks > Pieter > > > On 21/06/2013 03:26, Jerome Louvel wrote: > > Hi Pieter, > > As long as it brings value compared t

Re: Restlet Framework 2.2.0 and 2.3 M1 released!

2014-03-28 Thread Jerome Louvel
ishes! Jerome 2014-03-28 3:54 GMT-07:00 Adam Mc : > Congrats! It is a great framework! > > > On Thu, Mar 27, 2014 at 7:32 PM, Jerome Louvel wrote: > >> We are pretty happy to release this new major version, 1,5 years after >> 2.1.0. >> >> Almost 10 years

Restlet Framework 2.2.0 and 2.3 M1 released!

2014-03-27 Thread Jerome Louvel
We are pretty happy to release this new major version, 1,5 years after 2.1.0. Almost 10 years after its launch, our open source project is thriving, with almost 90k downloads just for February!! Check out the blog post for all details: http://blog.restlet.com/2014/03/27/restlet-framework-2-2-0-an

Re: Using ClientConnector on GAE

2014-03-19 Thread Jerome Louvel
Alex, In 2.2 RC1, we replaced the internal connector in *org.restlet* by the *org.restlet.ext.net * extension which should work fine with GAE. It is possible that some regression occured in the GAE distribution. I've entered this issue to fix this before 2.2.0: https:/

Restlet Framework 2.2 RC4 released

2014-03-19 Thread Jerome Louvel
Hi all, Version 2.2 RC4 version is now ready for testing. This is the last version before 2.2.0 next week which will become the new *stable* release of Restlet Framework. Here are the main changes: - Swagger extension was updated to version 2.1 - TODO: support for Restlet API beside JAX

Road map for next Restlet Framework version

2014-03-09 Thread Jerome Louvel
Hi all, As we are getting very close to releasing our new stable 2.2.0 version, I have as usual started to plan for the next release. It's always a great moment to reflect on the project recent accomplishments and future direction. The overall goal is to develop a version 2.3 providing enhancemen

Re: Restlet Framework 2.2 RC3 released

2014-03-06 Thread Jerome Louvel
p://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2950796 > > Looking at the code in GitHub, I don't think that this has been fixed > yet. Could you have a look? > > Cheers, > Arjohn > > On 06/03/2014 20:20, Jerome Louvel wrote: > > Hi Arjohn, >

Re: Restlet Framework 2.2 RC3 released

2014-03-06 Thread Jerome Louvel
Hi Arjohn, We had another report for this issue that we just fixed: https://github.com/restlet/restlet-framework-java/issues/848 It will be part of 2.2 RC4 due early next week. Let us know if it works for you. Best regards, Jerome 2014-03-06 0:57 GMT-08:00 Arjohn Kampman : > Hi Jerome, > >

Restlet Framework 2.2 RC3 released

2014-03-05 Thread Jerome Louvel
Hi all, We are quickly progressing towards our 2.2.0 release with another release candidate 3 available: http://restlet.org/download/current Here are the latest changes since 2.2 RC1: - Add JSON related media types. - Moved all the remaining NIO logic

Re: propagating conversion exception reason back to client in response body

2014-02-13 Thread Jerome Louvel
Hi Andy, Indeed this was added to Restlet API in 2.2. We won't backport to 2.1 as we don't change API for released version except for critical issues. However, version 2.2 is getting close to stable status, so hopefully you'll be able to migrate soon. Thanks, Jerome -- http://restlet.org @jlouve

Restlet 2.1.7 and 2.2 RC1 released

2014-02-13 Thread Jerome Louvel
Hi all, Earlier this week, we released two new versions: http://blog.restlet.com/2014/02/13/restlet-framework-2-1-7-and-2-2-rc1-released/ Please make sure to read, important security updates, updated road map, enhancements and more! Best regards, Jerome -- http://restlet.org *@jlouvel

Re: How to use CookieAuthenticator?

2014-02-11 Thread Jerome Louvel
Hi all, Based on this ongoing discussion, it would be clearly useful to include a CookieAuthenticator example in Restlet user guide. Added new issue. If anyone wants to contribute a Markdown page for this that would be great: https://github.com/restlet/restlet-framework-java/issues/837 Also, I'v

Re: How to use maven with self compiled restlet

2014-02-11 Thread Jerome Louvel
Hi Ralph, Could you let us know which error message you get via Gradle? When you access directly the maven.restlet.org repository with Gradle, does it work fine? Best, Jerome 2014-02-09 23:51 GMT-08:00 Ralph van Etten : > Hi, > > I wanted to try the newest bugfixes and cloned the restlet repo

RE: Default routing mode change

2014-02-06 Thread Jerome Louvel
Hi all, We are going to move forward with an important Restlet API refactoring for 3.0 M1 (planned for end of this month) discussed in this thread. The goal is to introduce proper Java enumerations in order to replace the String constants used all over the framework. This is a long-time reques

GitHub issues reorganization

2014-02-06 Thread Jerome Louvel
Hi all, In preparation of the new Restlet Framework 3.0 dev cycle, some clean-up was due in our GitHub issue tracker . I have just reorganized the tags for clarity and constency based on our recent experience. We now have six aspects/dimen

Extensions refactoring (Net, SSL and Core)

2014-01-12 Thread Jerome Louvel
Hi all, Quite a bit of changes have been made to RF 2.2 branch (upcoming 2.2 M7 version) in order to solve several issues: - internal NIO-based connectors in org.restlet.jar still lack stability and were moved to an org.restlet.ext.nio module to let them mature further - new internal co

Re: Apache HttpClient timeouts

2014-01-12 Thread Jerome Louvel
Tal, That's correct that those parameters are mostly used on a per connector basis, and not a per request basis. I don't think it is a limitation of Apache HTTP Client which should be able to configure these parameters on a per connection basis, but more a Restlet API limitation. Some room for i

Re: VirtualHost configuration

2014-01-12 Thread Jerome Louvel
Hi Tal, The hostPort lets you restrict not only the virtual domain name served by your virtual host, but also its port number, so you could have one separate virtual host per port number in theory. The resourcePort could potentially be different from the hostPort if the HTTP request URI was provi

Re: Re: NPE when using WADL extension auto transform to HTML feature

2014-01-11 Thread Jerome Louvel
Hi all, It seems that this issue is still present, please follow this ticket for updates: https://github.com/restlet/restlet-framework-java/issues/692 Best regards, Jerome 2013/4/21 jeremy > Any news ... > > The error is still present in 2.1.2 (jse edition) > > thanks > > --

Re: Re: Re: Re: Re: Jetty 9?

2013-12-26 Thread Jerome Louvel
Hi Tal, In RF 3.0, we should really give more precise control regarding extensions usage for: - connectors - converters - authenticators The configuration of a Restlet component or application should be explicit and fully available programmatically. I'm even considering fully removing

Re: Re: Tomcat deployment

2013-12-17 Thread Jerome Louvel
Hi Steve, Thanks for the feed-back on the book! If you have time, that would be great to have your comment on Amazon's book page: http://www.amazon.com/Restlet-Action-Developing-RESTful-APIs/dp/193518234X/ Best regards, Jerome 2013/12/17 Steven Parks > That was it. > > Thanks very much for

Re: Re: Re: Re: Jetty 9?

2013-11-25 Thread Jerome Louvel
Thanks Tal, this looks great. We might want to add parameters to disable/enable the client/server connector from the extension as a second step to allow mixing of several connector extensions. I've added a note about this to the matching ticket: https://github.com/restlet/restlet-framework-java/is

Re: Unable to download org.restlet.ext.json, org.restlet version 2.0-M3 from Restlet Respository - parent pom verions 1.2 which is not available

2013-11-13 Thread Jerome Louvel
Did you add the Restlet Maven repository to your config? http://restlet.org/download/maven Looking at this POM, it seems fine: http://maven.restlet.org/org/restlet/jee/org.restlet.ext.json/2.2-M3/ Jerome 2013/11/13 krishnamraju penumatsa > Subject : Unable to download "*org.restlet.ext.json*

Re: Restlet gets funding to accelerate APISpark growth!

2013-11-13 Thread Jerome Louvel
Thanks a lot Adam, Tim and James! :) Jérôme 2013/11/13 James Todd > Nicely done! > > Onwards and upwards :) > > - james > On Nov 13, 2013 12:13 PM, "Jerome Louvel" wrote: > >> Hi all, >> >> Finally, we can share those news: >> >&g

Re: ServerServlet with custom Component and restlet.xml

2013-11-13 Thread Jerome Louvel
Hi Jason, I had a brief look at your pull request and it looks good to me at first sight. Thanks! I have assign the issue to Thierry Boileau who will take care of it. In anticipation, could you take care of the JCA paperwork so once he is ready he can immediately move forward with the merging? ht

Restlet gets funding to accelerate APISpark growth!

2013-11-13 Thread Jerome Louvel
Hi all, Finally, we can share those news: http://blog.restlet.com/2013/11/13/restlet-gets-funding-to-accelerate-apispark-growth/ >From an open source point of view, this will give us extra resources to move the R&D on the framework forward. In the short term, Thierry Boileau will dedicate fixed t

Re: Re: Re: Jetty 9?

2013-11-11 Thread Jerome Louvel
It looks good, thanks Tal! Jerome 2013/11/9 Tal Liron > Binaries and API documentation are now available via the GitHub project > site. > > Enjoy! > > > https://github.com/tliron/restlet-jetty9 > > -- > > http://restlet.tigris.org/ds/viewMess

Re: Re: Re: Jetty 9?

2013-11-07 Thread Jerome Louvel
That's fine Tal, whatever works best for you. Merging by hand won't be a big issue anyway. You might want to enter an issue in RF repo to let people discover this support and let us communicate over it. Best regards, Jerome 2013/11/7 Tal Liron > Thanks, Jerome. > > I picked the Apache License

Re: Re: Jetty 9?

2013-11-07 Thread Jerome Louvel
I suggest that you create a new /restlet-framework-java/master/incubator/org.restlet.ext.jetty9 extension by copying then adapting the o.r.e.jetty extension. You can always have you own branch in GitHub and then merge it back when master becomes ready for RF 3.0 (Java 7), but from a licensing poin

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: Automation of web services

2013-10-22 Thread Jerome Louvel
Hello, It seems that you are looking for APISpark :) APISpark is a cloud platform developped by Restlet which contains a feature to export a JDBC database (and other data sources) as a web API. http://apispark.org/tutorials/jdbc The generated web API can then be hosted and used directly from APIS

Re: Restlet 2.2

2013-10-13 Thread Jerome Louvel
Hi Tal, The current plan is to release 2.2.0 in January 2014, when leaving the public beta phase of APISpark, ensuring a long enough stabilization period. I'd like to reach a 2.2 RC1 next month. Next step is to update the public RF road map document. Best regards, Jerome 2013/10/11 Tal Liron

Re: Apparently-random UnknownHostException while attempting POST operation

2013-09-25 Thread Jerome Louvel
Thanks Robert for sharing your solution to this issue! Best regards, Jerome 2013/9/25 Robert Dodier > Problem solved, I hope -- apparently IPv6 causes trouble for the Java VM > -- this is a bug in Java, but a workaround is to put > -Djava.net.preferIPv4Stack=true on the Java command line. It s

Re: ConverterService is swallowing exceptions

2013-09-22 Thread Jerome Louvel
Hi Alex, Which version of RF are you using? In v2.2 at least, ConverterService.toObject(..) does let exceptions bubble up. Best regards, Jerome 2013/9/20 Alex Zuroff > I would like to be able to return a custom Status > (CLIENT_ERROR_UNPROCESSABLE_ENTITY) and error message ("Field XXX is >

Restlet Framework 2.1.4 and 2.2 M5 released (security fixes)

2013-09-18 Thread Jerome Louvel
Hi all, We are announcing two new versions of Restlet Framework, including some security fixes: http://blog.restlet.com/2013/09/18/restlet-framework-2-1-4-and-2-2-m5-released/ Please make sure you upgrade your deployed Restlet applications. If you are still on 2.0 or older, you should seriously c

Re: multiple servlet mappings to 1 RestletServlet

2013-09-05 Thread Jerome Louvel
Hi Stephen, You should be able to create multiple servlets using the same RestletServlet class and different servlet names. Does that work? Jerome 2013/9/5 Stephen More > Is there a way to have restlet respond to multiple servlet mappings ? > Right now it looks like it will bind to which eve

Next NYC Web API meetup

2013-08-09 Thread Jerome Louvel
Hi all, For those in the NYC area, there is an upcoming Web API meetup that will be discussing the "Web API" architecture style proposition that I made in a recent blog post. Thanks to Avi Flax to continuing the conversation. Registration for the 14th of August is here: http://www.meetup.com/NYC-

Re: Challenge scheme HTTP_Cookie not supported by the Restlet engine.

2013-07-03 Thread Jerome Louvel
Hi Johanneke, Thanks for the follow-up, glad you got this working! Best regards, Jerome -- http://restlet.org http://twitter.com/#!/jlouvel 2013/7/3 Johanneke Lamberink > Ah, I found what I was doing wrong here. I hadn't set a value for the > loginFormPath. This caused the CookieAuthenticat

Re: vert.x

2013-06-20 Thread Jerome Louvel
Hi Pieter, As long as it brings value compared to the existing Jetty and Simple connectors, in term of scalability and throughput for example, then it definitely makes sense. The issue with extension is that they need to be documented and maintained on the long run, so it needs to really make a d

Re: endless "Too many open files" exceptions

2013-06-19 Thread Jerome Louvel
, Jerome -- http://restlet.org http://twitter.com/#!/jlouvel 2013/6/19 Marc Larue > Hi Jerome, > > I would recommend that you look at http://rupy.googlecode.com as internal > HTTP engine. It's now stable in release 1.0. > > Kind Regards, > > /marc > > On Tu

Re: How to server a video file

2013-06-16 Thread Jerome Louvel
Yes, Jetty or Simple connectors are recommended for production work. The internal connector is convenient during initial development phases but needs more work. Best, Jerome 2013/6/15 Borislav Iordanov > I also tried removing jetty from the picture, but then I started getting > an old friend:

Re: Re: How to server a video file

2013-06-16 Thread Jerome Louvel
Hi Boris, Overriding doInit() method is easier as you don't need to make the super.init() call and in addition if anything goes wrong, the doCatch() will be invoked. Regarding the broken pipe, I'm wondering it this isn't due to the ranged request. Have you tried a straight/non-ranged HTTP call fr

Re: How to server a video file

2013-06-15 Thread Jerome Louvel
Hi Boris, You should override the get():Representation method instead of hanle(), or use an @Get annotation on a method returning a FileRepresentation. This way the response entity will automatically be set. The handle() method is the main entry point for objects calling a ServerResource, it does

RE: How to tell which client connector library is being used

2013-06-10 Thread Jerome Louvel
Hi Robert, It seems that you are missing the org.restlet.ext.httpclient.jar in the classpath which will actually support the Apache HTTP client library. Best regards, Jerome -- http://restlet.org http://twitter.com/#!/jlouvel -- http://restlet

Re: latest on push technology

2013-05-20 Thread Jerome Louvel
Hi Pieter, Good question. For 1) you might want to try implementing HTML5 Server-Side Event which relies on streaming representations as well. For 2) you should indeed try streaming representations. Some have experienced issues with network buffering though, but it should work. Another RESTful w

Re: endless "Too many open files" exceptions

2013-05-14 Thread Jerome Louvel
Hi Robert, You should try to use the Jetty or Simple connector extensions instead, they are more stable at this point. Best regards, Jerome -- http://restlet.org http://twitter.com/#!/jlouvel 2013/5/14 Robert Dodier > Hi, > > I am working with Restlet 2.1.2, using both client and server > c

Re: Android client - Restlet 2.0.15 - cannot connect with HTTPS/SSL - recoverable error 1001

2013-05-06 Thread Jerome Louvel
Thanks Alex for the follow-up, I'm sure it will help other users. Cheers, Jerome 2013/5/6 Alex > Ok, I found the root cause of the problem. > It had nothing to do with Restlet or my code. It was all a matter of > installing correctly the intermediate certificates on AWS. The certificate > chai

Re: Android client - Restlet 2.0.15 - cannot connect with HTTPS/SSL - recoverable error 1001

2013-05-06 Thread Jerome Louvel
will be easier for us to debug. Jerome 2013/5/6 Alex > This doesn't have the desired result either. :/ > > br, > Alex > > On 6 Μαϊ 2013, at 6:08 μ.μ., "Jerome Louvel-3 [via Restlet Discuss]" <[hidden > email] <http://user/SendEmail.jtp?type=node&

Re: Android client - Restlet 2.0.15 - cannot connect with HTTPS/SSL - recoverable error 1001

2013-05-06 Thread Jerome Louvel
Alex; You to put the connector in the first postion doing this: Engine.getInstance().getRegisteredClients().add(*0, *new org.restlet.ext.net .HttpClientHelper(null)); Best regards, Jerome 2013/5/6 Alex > Hello Jerome, > > thanks a lot for responding. > > If gaving the org.restlet.ext.net.ja

Re: Android client - Restlet 2.0.15 - cannot connect with HTTPS/SSL - recoverable error 1001

2013-05-06 Thread Jerome Louvel
Hi Alex, This is an issue with Restlet internal HTTP connector (for dev purpose only at this point). Could you try to add and register the org.restlet.ext.net.jar connector? Best regards, Jerome -- http://restlet.org http://twitter.com/#!/jlouvel 2013/5/6 Alex > New update: > > I made a c

Re: How much REST should your web API get?

2013-05-03 Thread Jerome Louvel
Hi Adam, Regarding Restlet Framework, its implies a resource-oriented design (resources, URIs, representations) and proper usage of HTTP application-level features (conneg, caching, conditional requests, etc.). However it doesn't force interaction between clients and servers to go through hyperme

How much REST should your web API get?

2013-05-02 Thread Jerome Louvel
Hi all, This is slightly off-topic but here is my new blog post, walking you from hypermedia APIs to cross-device web sites and introducing a formal "Web API" architecture style: http://blog.restlet.com/2013/05/02/how-much-rest-should-your-web-api-get/ Please share your thoughts and help us sprea

Re: Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-30 Thread Jerome Louvel
Hi David and Adam, Thanks for the follow up and general comment on the list. I agree and also suggest people to follow StackOverflow for general Q&A. We try to be present over there as well, but this list will stay the place of more personal conversations. After the release of the 'Restlet in Act

Re: Using Asynch setOnResponse

2013-04-27 Thread Jerome Louvel
Hi Adam, You should use the get() method which returns immediately (non blocking) when there is a callback specified. Once the HTTP response is available, the callback specified in the onResponse property is called (your MyUniform instance). Best regards, Jerome 2013/4/27 Adam Mc > Hi,I am t

Re: Evaluating Restlet - few questions

2013-04-24 Thread Jerome Louvel
Hi Adam, Thanks for reaching us and your interest in Restlet :) [1] The Jetty connector is production ready and much lighter than a full Servlet container. [2] It is still a work in progress. Not sure to get this ready for RF 2.2 at this point. We need help on the documentation front mostly as m

Re: Communication Error (1001) - The connector failed to complete the communication with the server

2013-04-22 Thread Jerome Louvel
Hi David, Please plugin the org.restlet.ext.net.jar to replace the default connector with a more stable one. It will probably help. Best regards, Jerome -- http://restlet.org http://twitter.com/#!/jlouvel 2013/4/21 David Leangen > > Hello! > > After a few weeks of absence, I am trying once

Re: Setiting media type for webm videos

2013-04-22 Thread Jerome Louvel
Hi Adam, To simplify your code, you could just do this in your application's constructor: getMetadataService().addExtension("webm", MediaType.valueOf("video/webm")); Then, check the response media type with a raw HTTP client to make sure it is properly set. If it still doesn't work, it might not

Re: Re: redirect with get from post

2013-04-16 Thread Jerome Louvel
Hi Adam, Thanks for the cool feed-back on RF! As far as I know, HTTP redirection doesn't let you explicitely specify the HTTP method to use for the target URI. Looking more closely at the HTTP redirection statuses: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3 it does appear th

Re: Restlet web sites are down for maintenance

2013-04-16 Thread Jerome Louvel
tp://twitter.com/#!/jlouvel 2013/1/28 Tim Peierls > On Mon, Jan 28, 2013 at 9:39 AM, Jerome Louvel wrote: > >> >>- Daisy wiki is being migrated to GitHub >> - we generate static HTML pages on http://restlet.org instead >> - easier to maintain

Re: redirect with get from post

2013-04-15 Thread Jerome Louvel
Hi Adam, I guess you could use an HTML redirect in this case, if your client is ineed a web browser. Best regards, Jerome -- http://restlet.org http://twitter.com/#!/jlouvel 2013/4/14 Adam Mc > Hi, > > I have a post request, and after that request I need to temporarily > redirect to another

  1   2   3   4   5   6   7   8   9   10   >