Re: status code REDIRECT in GWT

2012-11-20 Thread Jerome Louvel
Hi Koen, That automatic redirection following might be out of GWT control as it relies on the browser HTTP stack. Did you try to call ClientResource#setFollowingRedirects(false)? Best regards, Jerome 2012/11/15 Thierry Boileau > Hi Koen, > > I've added you as approved suscriber... > > Bes tr

Re: Restlet Versioning Scheme

2012-11-22 Thread Jerome Louvel
Hi Kevin, We also maintain a migration guide with additional details about actual changes made: http://wiki.restlet.org/docs_2.1/13-restlet/21-restlet/171-restlet/155-restlet.html Best regards, Jerome 2012/11/22 Thierry Boileau > Hello Kevin, > > we try our best to maintain compatibility from

Re: dependencies in 2.2-SNAPSHOT

2012-12-20 Thread Jerome Louvel
Hi Tim, Thanks for the report, we'll try to fix this tomorrow, before releasing 2.2 M1. Entered related issue: https://github.com/restlet/restlet-framework-java/issues/694 Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel 2012/12/3 Tim Peierls > I wanted to try out 2.2

Re: Conversion of primitive java Datatype double to OData Edm.Double

2012-12-20 Thread Jerome Louvel
Hi Martin, Thanks for the report. Moved into an issue: https://github.com/restlet/restlet-framework-java/issues/696 We'll look at this tomorrow for 2.1.1 (if time permits). Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel 2012/12/5 Martin Grohmann > I am developing an

Re: Restlet client not allowing to define custom 'Authorization' header

2012-12-20 Thread Jerome Louvel
Hi Ashish, I saw your question in StackOverflow (try to not crosspost) as well and replied over there. http://stackoverflow.com/questions/13802406/restlet-client-not-allowing-to-define-custom-authorization-header Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel 2012/12/1

Re: another CookieAuthenticator mystery

2012-12-20 Thread Jerome Louvel
Thanks Tim for the report. Entered an issue and will try to fix it tomorrow for 2.2 M1: https://github.com/restlet/restlet-framework-java/issues/697 Thanks, Jerome -- http://www.restlet.com http://twitter.com/#!/jlouvel 2012/12/10 Tim Peierls > Here's a better candidate for the default implem

Restlet Framework 2.1.1 and 2.2 M1 released

2012-12-26 Thread Jerome Louvel
Hi all, We are happy to announce two new versions, based on many contributions from the community: http://blog.restlet.com/2012/12/26/restlet-framework-2-1-1-and-2-2-m1-released/ Clearly the migration to GitHub has helped us getting more contributions and integrate them more easily. If you haven'

Re: Serving up index file in Restlet Directory

2013-01-07 Thread Jerome Louvel
FW: I'm resending this email from 01/04 due to an email gateway error -- Hi Paul, You have reached a limitation of the CLAP pseudo-protocol which isn't suitable to list the content of a directory and therefore do any sort of content negotiation. We could automatically append the indexName to a d

Re: Suggestion on OpenID extension wiki

2013-01-07 Thread Jerome Louvel
FW: I'm resending this email from 01/04 due to an email gateway error. -- Hi Pier, Thanks for the feed-back, I have updated the wiki page. I also created you a wiki account with doc author rights (check your email for details), so you can make further changes if needed. Thanks, Jerome -- http:/

Restlet web sites are down for maintenance

2013-01-12 Thread Jerome Louvel
Hi all, Due to a hardware failure, our web sites (including Maven repository) are down for maintenance. We'll keep you updated of the progress. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel -- http://restlet.tigris.org/ds/

Re: Restlet web sites are down for maintenance

2013-01-13 Thread Jerome Louvel
Hi again, The Restlet web sites have been partially restored on a new machine now located on the US east coast (was located in Europe before). We are continuing the restoration process (Maven repository content, Javadocs, downloads, wiki, etc.). Thanks, Jerome 2013/1/13 Jérôme Louvel > Hi al

Re: Restlet web sites are down for maintenance

2013-01-14 Thread Jerome Louvel
Hi all, Here are some updates: we have now restored the Javadocs and Downloads for the stable-2.1 / testing-2.2M1 / unstable branches. We are now working on restoring the Maven repository and the wiki. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/13 Jérôme Louvel

Re: Restlet web sites are down for maintenance

2013-01-14 Thread Jerome Louvel
We restored the Maven repository for the latest versions (2.1.1, 2.2 M1 and 2.2 snapshot): http://maven.restlet.org/org/restlet/jse/org.restlet/ Previous versions will be progressively restored as well, but we need to migrate very large volumes of data. Thanks, Jerome 2013/1/14 Jérôme Louvel

Re: Restlet web sites are down for maintenance

2013-01-15 Thread Jerome Louvel
Hi all, Here is the latest update: - the Maven repository has been restored - includes all versions up to 2.1 RC1 and 2.0.10, plus 2.1.1 - remaining versions will now be progressively restored - the Daisy wiki site should be back online later today - including content up t

Re: Social Networking Integration

2013-01-15 Thread Jerome Louvel
Hi Koot, You could have a look at the Restlet extension for OAuth 2.0 in version 2.1 (based on an older draft) or in version 2.2 (recent snapshot) which almost support OAuth 2.0 final standard. Otherwise, you can consider the Java SDK offered by each of the provider that you want to integrate wit

Re: Location-ref not set in IE9

2013-01-15 Thread Jerome Louvel
Hi Koen, Could you inspect the HTTP headers in IE 9 (using a network debug tools similar to Firebug)? Are other browsers working fine? BTW, you should be able to write proxy.getClientResource().getLocationRef() instead of proxy.getClientResource().getResponse().getLocationRef() Thanks, Jerome --

Re: expect/continue handshake

2013-01-15 Thread Jerome Louvel
Hi Ishaaq, Sorry for the delay. This is clearly an advanced yet interesting use case! We worked on it back when dealing the with SIP protocol (which uses a lot of provisional HTTP-like responses). The way it is intended to work in the Restlet API is very close to what Tim is suggesting. It should

Re: Re: Location-ref not set in IE9

2013-01-15 Thread Jerome Louvel
Koen, Is this working in other browsers? Best regards, Jerome 2013/1/15 Koen Maes > Hi Jerome > > I installed Microsoft developer tools for IE and I do see that the > location ref is returned correctly. But when getting it, it is always NULL. > Very annoying as I relay on this to find my newl

Re: Re: Re: Location-ref not set in IE9

2013-01-15 Thread Jerome Louvel
In my opinion this is a GWT/IE issue as the Restlet code is exactly the same. This is really strange, worth entering an issue in GitHub to keep track of it. Best regards, Jerome 2013/1/15 Koen Maes > Yes; tested with chrome / firefox / safari; > > Is this a GWT issue or restlet, you think ? >

Re: Restlet 2.1.1 - The thread blocked at the cyclic barrier has timed out

2013-01-15 Thread Jerome Louvel
Hi Aliza, As this appears to be an issue inside the internal HTTP connector, you can always turn to the Jetty or Simple extensions for more robust HTTP server connectors. Also, you could try to manually consume/exhaust any incoming request entity as this seems related to the exception. Finally, y

Re: Serving up index file in Restlet Directory

2013-01-15 Thread Jerome Louvel
Hi Paul, You could retrieve this file path manually via the java.io API or try to use the org.restlet.data.LocalReference.createFileReference(".") method, it might just work as well (not 100% sure). Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/7 Paul Morris > Su

Re: strange routing behaviour

2013-01-15 Thread Jerome Louvel
Hi Pier, Could you give us additional details? Are you using Restlet in standalone/JSE mode? If so, are you containing your Restlet application within a Component and under a VirtualHost? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/15 Pier Luigi Rocca > I can

Re: Restlet web sites are down for maintenance

2013-01-16 Thread Jerome Louvel
Here is an update on the outage: - the Eclipse/p2 repository was restored - with 2.1.0, 2.2 M1 and 2.2-snapshot (2.1.1 is coming soon) - the Daisy wiki is more complex than expected to restore (especially binary files) - for now we have put a redirection to the online Web Arch

Re: Maven artifacts disappearing

2013-01-16 Thread Jerome Louvel
Hi Peter, Due to a hardware failure, (see previous messages) we are progressively restoring the missing versions including 2.1-RC4. If this is blocking, I would suggest upgrading to 2.1.1 which is the new stable version. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/

Re: Does the OAuth2 extension support "client-side"/"user agent"/"implicit grant" flow?

2013-01-18 Thread Jerome Louvel
Hi Richard, I'm not sure either but Kristoffer (in copy) should be able to tell us. We should at least make sure that the documentation is clear about the flows supported. Do you mind entering a RFE in GitHub to suppor this flow and improve docs? Improving the completeness of this extension is a

Re: Auto-increment ID fields

2013-01-20 Thread Jerome Louvel
Hi Mark, This sounds like a bug. Would you mind entering an issue in GitHub? Here are the existing OData related issues: https://github.com/restlet/restlet-framework-java/issues/search?q=odata&state=open&assignee= Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/10

Re: Trouble connecting using SSL

2013-01-20 Thread Jerome Louvel
Hi David, Which version and HTTP connector are you using? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/13 David Leangen > > Hi List, > > This is my first time using restlet, so I am not yet very familiar with it. > > I am using restlet within an OSGi context. I

Re: expect/continue handshake

2013-01-21 Thread Jerome Louvel
Thanks Ishaaq for the information about Jetty, I've added it as a comment on the related issue: https://github.com/restlet/restlet-framework-java/issues/700 Actually, Jetty will wait before sending the 100-continue until the *server* actually tries to read the stream. Maybe the ServerResource shou

Re: Restlet web sites are down for maintenance

2013-01-28 Thread Jerome Louvel
Hi all, Here is an update: - Maven repository has been restored - except 2.0 M1, M2, M3 and 11 artifacts - except GAE editions for 2.1 RCx artifacts - Eclipse/p2 update site has been fully restored - including metadata files - Daisy wiki is being migrated to GitHub

Re: Jackson extension performance question

2013-01-28 Thread Jerome Louvel
Hi Pier Luigi and Tim, I've entered a RFE to keep track of this Jackson optimization idea: https://github.com/restlet/restlet-framework-java/issues/715 Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/1/18 Tim Peierls > Sorry, that link should be: > > http://tembrel.b

Re: Unsupported Media Type (415) with Generic Put or Post

2013-01-28 Thread Jerome Louvel
FYI, see follow-up here: http://stackoverflow.com/questions/14409575/unsupported-media-type-415-with-generic-put-or-post Jerome 2013/1/18 Darwin Airola > Aloha! > > I was trying to implement a generic put or post method in Restlet. (I was > able to implement a generic Get method without issue.

Re: Is there an easy way to secure the GAE?

2013-01-28 Thread Jerome Louvel
Hi Brett, You perfectly use HTTP Basic/Digest authentication between Restlet/Andoird and Restlet/GAE. Try using HTTPS if possible. We are also working with contributors on full OAuth 2.0 support for RF 2.2, but this is too early at this point. See this recent comment for example: https://github.c

Re: strange routing behaviour

2013-02-04 Thread Jerome Louvel
agement and Technology > Department of Human Services | Level 10, 2 Lonsdale Street, Melbourne > p. 9096 7243 | f. 9096 9100 | e. geoffrey.spe...@dhs.vic.gov.au | > www.dhs.vic.gov.au > Corporate Services* | Innovative business solutions for better client > outcomes* > > > &

RE: Unable to parse IPV6 address using Restlet 1.1m3 release

2013-02-06 Thread Jerome Louvel
Hi Neha, FYI, this has been fixed in 2.1 and 2.2 branches thanks to a contribution from Jun Hou. Best regards, Jerome -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3047898

Re: Use of StatusService default behavior

2013-02-06 Thread Jerome Louvel
Hi Paul, Once you start writing the HTTP response entity (PDF here), it is too late to change the response status and headers... In your case, couldn't you detect the potential error immediately when handling the getMethod() directly instead (or in addition) to doing it inside the inner class? T

Re: Problem streaming files

2013-02-06 Thread Jerome Louvel
Hi Jochen, This looks like a bug. Could you enter an issue and attach a minimal Eclipse project to reproduce the issue? As a workaround, have you try pluging in another HTTP connector (via org.restlet.ext.simple.jar for example)? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel

Re: internal NPE exception while handling 415 response

2013-02-10 Thread Jerome Louvel
Hi Daniel, Thanks very much for the detailed report. I've been able to reproduce the issue, add a test case and fix the underlying problem (in both 2.1 and 2.2 branches). Actually, it was a serious issue beyond the JAX-RS extension itself as the internal connector wasn't restoring the current Re

Re: Restlet client freezing on HTTPS requests

2013-02-11 Thread Jerome Louvel
Hi Allan, Thanks for the report. We had other persons reported similar issues with HTTPS: https://github.com/restlet/restlet-framework-java/issues/702 We'll investigate and try to fix this issue week, before releasing 2.1.2 and 2.2 M2. Thanks, Jerome -- http://restlet.com http://twitter.com/#!/j

Re: Maven artifacts disappearing

2013-02-11 Thread Jerome Louvel
Hi Peter, Indeed, we have not restored all versions yet. Here are the list of missing ones: - 2.1 RC2 -> RC5 - 2.0 M1 -> M3 - 2.0.11 We are planning to restore all of them but had others priorities so far. If you need to build those artifacts manually, you can find all the tags here: h

Re: internal NPE exception while handling 415 response

2013-02-14 Thread Jerome Louvel
Hi Dan, We plan to release 2.1.2 early next week. If you can't wait, you indeed need to build the sources. We used to have automated 2.2 snapshots built daily, but we haven't restored the cron scripts on our new machine. Best regards, Jerome 2013/2/13 Daniel Halperin > > On Sun, Feb 10, 2013

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 > Hi, > > > I'm trying out Restl

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 > Hi everyone, > >

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

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 to

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

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 if

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<    1   2   3   4   5   6   7   8   9   10   >