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

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

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

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

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: 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 chir...@purpledocs.com wrote: I am using a restlet 2.1 client sever based

Re: Restelt Client Internal Connector Error (1002)

2015-03-10 Thread Jerome Louvel
, 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=nodenode=7579349i=0 wrote: Hello Chirayu, Is your server supposed to answer before the timeout observed

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

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

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

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]

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

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

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 http://twitter.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 xavier.meh...@free.fr wrote: done :) 2014-07-15 21:15 GMT+02:00 Jerome Louvel jlou...@restlet.com: Hi all, Our APISpark https://apispark.com/ platform

API World competition support

2014-07-15 Thread Jerome Louvel
Hi all, Our APISpark https://apispark.com/ platform (based on Restlet Framework) is in 2nd position, not far from 1st, in the API Infrastructure category for the API World awards competition http://verticalize.me/technology/index?frmIndustry=frmProductCategory=175search_by= . The winners will

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 http://twitter.com/#!/jlouvel On Sat, Jul 12, 2014 at

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}/ http://test_server:8080/restlet/%7Benv%7D/ base URI. You don't need to manually change

Re: Announcing HTML newsletter and Restlet web API platform

2014-06-18 Thread Jerome Louvel
-- http://restlet.com @jlouvel http://twitter.com/#!/jlouvel On Tue, Jun 17, 2014 at 10:28 PM, Xybrek xyb...@gmail.com 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 released today, we

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.

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:

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

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

2014-06-05 Thread Jerome Louvel
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 jlou...@restlet.com wrote: Hi all, In V2.3 of Restlet API, we would like to introduce automatic conversion between

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,

Re: Serve static content using SpringBeanRouter?

2014-06-04 Thread Jerome Louvel
than that, I debugged it and looks it is working as expected, nothing strange under the sun. Thanks! -JG On Thu, May 29, 2014 at 4:15 PM, Jerome Louvel jlou...@restlet.com wrote: Hi Jorge, Normally, you shouldn't embed a Directory inside a ServerResource but directly attach it to your

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

Re: Announcing HTML newsletter and Restlet web API platform

2014-05-20 Thread Jerome Louvel
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 jlou...@restlet.com wrote: Hi all, Starting

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

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

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

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 http://twitter.com/#!/jlouvel On Fri, Apr 25, 2014 at 2:21 PM, Roy Olsen

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

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

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: vert.x

2014-03-31 Thread Jerome Louvel
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 to the existing Jetty and Simple connectors, in term of scalability and throughput

Re: Restlet Framework 2.2.0 and 2.3 M1 released!

2014-03-28 Thread Jerome Louvel
! Jerome 2014-03-28 3:54 GMT-07:00 Adam Mc a...@cs.miami.edu: Congrats! It is a great framework! On Thu, Mar 27, 2014 at 7:32 PM, Jerome Louvel jlou...@restlet.comwrote: 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

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:

Re: Using ClientConnector on GAE

2014-03-20 Thread Jerome Louvel
Alex, In 2.2 RC1, we replaced the internal connector in *org.restlet* by the *org.restlet.ext.net http://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:

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

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

Re: Restlet Framework 2.2 RC3 released

2014-03-06 Thread Jerome Louvel
=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, We had another report for this issue that we just fixed: https://github.com/restlet/restlet-framework-java

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 http://restlet.org/learn/2.2/changes since 2.2 RC1: - Add JSON related media types. - Moved all the remaining NIO logic

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: 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

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 ra...@et10.org: Hi, I wanted to try the newest bugfixes and cloned the

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,

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 trackerhttps://github.com/restlet/restlet-framework-java/issues . I have just reorganized the tags for clarity and constency based on our recent experience. We now have six

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

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

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

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

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 jeremy.gir...@gmail.com 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: 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:

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 RD on the framework forward. In the short term, Thierry Boileau will dedicate fixed

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?

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 james.w.t...@gmail.com Nicely done! Onwards and upwards :) - james On Nov 13, 2013 12:13 PM, Jerome Louvel jlou...@restlet.com wrote: Hi all, Finally, we can share those news: http://blog.restlet.com/2013/11/13

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 kpenuma...@temenos.com Subject : Unable to download

Re: Re: Re: Jetty 9?

2013-11-11 Thread Jerome Louvel
It looks good, thanks Tal! Jerome 2013/11/9 Tal Liron tal.li...@threecrickets.com Binaries and API documentation are now available via the GitHub project site. Enjoy! https://github.com/tliron/restlet-jetty9 --

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

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 tal.li...@threecrickets.com Thanks, Jerome. I

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

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 tig...@adennie.e4ward.com 4 1/2 years later, I have a follow-up question :-) shouldn't application/json include

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

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 robert.dod...@gmail.com 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

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 alex.zur...@ejgallo.com I would like to be able to return a custom Status (CLIENT_ERROR_UNPROCESSABLE_ENTITY) and error

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

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 stephen.m...@gmail.com Is there a way to have restlet respond to multiple servlet mappings ? Right now it looks like it

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:

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 jtlamber...@gmail.com Ah, I found what I was doing wrong here. I hadn't set a value for the loginFormPath. This caused

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

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 m...@rupy.se 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 Tue, 14 May 2013, Jerome Louvel

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

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

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 --

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

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 robert.dod...@gmail.com Hi, I am working with Restlet 2.1.2, using both

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 alexdim...@yahoo.gr New

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 alexdim...@yahoo.gr Hello Jerome, thanks a lot for responding. If gaving the

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

2013-05-06 Thread Jerome Louvel
? That will be easier for us to debug. Jerome 2013/5/6 Alex alexdim...@yahoo.gr 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=nodenode=7578783i=0 wrote: Alex; You

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 alexdim...@yahoo.gr 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

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

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 spread

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 QA. 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

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

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 be

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 j...@leangen.net Hello! After a few weeks of absence, I am

Re: Re: redirect with get from post

2013-04-17 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

Re: Restlet web sites are down for maintenance

2013-04-16 Thread Jerome Louvel
/#!/jlouvel 2013/1/28 Tim Peierls t...@peierls.net On Mon, Jan 28, 2013 at 9:39 AM, Jerome Louvel jlou...@restlet.comwrote: - Daisy wiki is being migrated to GitHub - we generate static HTML pages on http://restlet.org instead - easier to maintain via GitHub MarkDown files

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 a...@cs.miami.edu Hi, I have a post request, and after that request I need to temporarily

Re: Set StatusService on Application or Component?

2013-04-02 Thread Jerome Louvel
Hi Arjohn, The StatusService has two complementary purposes: - setting an HTTP status based on a Jave exception - setting a response entity in case of on error status For the second purpose, the Component level StatusService is capable of overwriting the response entity in case of error

Nice third-party Restlet 2.1 tutorial

2013-03-26 Thread Jerome Louvel
Hi all, I'd like to point out this nice tutorial for Restlet Framework 2.1 by James Sumners: https://bitbucket.org/jsumners/restlet-2.1-demo He is looking for feed-back to improve it. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel

Migration of Restlet wiki

2013-03-20 Thread Jerome Louvel
Hi all, For the launch of the new restlet.org web site, we have migrated the content of the old Restlet wiki to GitHub, with a static HTML publication: http://restlet.org/learn/guide Be aware that the content has many links and embedded images that need to be updated/fixed. For those who want

Re: OAuth 2 Password Authentication

2013-03-19 Thread Jerome Louvel
Hi Umoh, We have a doc gap on this front that we intend to fill for RF 2.2 release. Meanwhile, I suggest that you look at the GitHub related tickets for info on the latest activity on the OAuth extension: https://github.com/restlet/restlet-framework-java/issues/search?q=oauth Thanks, Jerome

Restlet Framework 2.1.2 and 2.2 M3 released (+ new web site)

2013-03-08 Thread Jerome Louvel
Hi all, We are happy to release two new versions of Restlet Framework... along with our new project web site! http://blog.restlet.com/2013/03/08/restlet-framework-2-1-2-and-2-2-m3-released/ Let us know what you think! Jerome -- http://restlet.org http://twitter.com/#!/jlouvel

Re: RESTlet + JSON performance flip at ~1024/1025 byte payload?

2013-02-21 Thread Jerome Louvel
Hi Daniel, Thanks for reporting those result in a reproducible way. Which HTTP connector are you using exactly? The default on in org.restlet.jar or the Simple/Jetty extensions? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/2/15 Daniel Halperin

Re: Converting EMF Representations on the Client using Restlet

2013-02-20 Thread Jerome Louvel
Hi Tas, This should indeed work the way you expect. I suspect a bug in the EmfConverter, maybe it isn't picket up correctly. Could you enter an issue in GitHub? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/2/20 Tas Frangoullides tfrangoulli...@hotmail.com Hi,

  1   2   3   4   5   6   7   8   9   10   >