Re: Long stream of IOExceptions from getEntityAsForm

2008-01-26 Thread John D. Mitchell
On Jan 25, 2008 6:33 PM, Mike Brzozowski [EMAIL PROTECTED] wrote: Hi, I'm running a Restlet (1.0.7) webserver and recently implemented an AJAXish call using the Yahoo UI Connect library. It normally works but on some edge case I haven't found, it causes the server to spurt a literally

RE: Problem with SpringHost

2008-01-26 Thread Jerome Louvel
Hi Simon, Thanks for reporting this issue. I've renamed the setRoutes(Map) method in setAttachments(Map). I've also added usage example to Javadocs. Checked in SVN trunk. Best regards, Jerome -Message d'origine- De : Simon Olofsson [mailto:[EMAIL PROTECTED] Envoyé : jeudi 24

RE: Restlets and Asynchronous Request Processing

2008-01-26 Thread Jerome Louvel
Hi all, I've added Tim's comment to the Async RFE: http://restlet.tigris.org/issues/show_bug.cgi?id=143 Best regards, Jerome -Message d'origine- De : Rob Heittman [mailto:[EMAIL PROTECTED] Envoyé : vendredi 25 janvier 2008 05:32 À : discuss@restlet.tigris.org Objet : Re:

Status class should have a Throwable field

2008-01-26 Thread Paul J. Lucas
I would like to be able to have code like: try { // ... } catch ( SomeException e ) { response.setStatus( CLIENT_ERROR_BAD_REQUEST, e ); } That is that you can pass a Throwable to setStatus() and that the Status class have the additional

Re: POST seems to throw a 500 error code

2008-01-26 Thread dev dev
1.1-SNAPSHOT directly from the reslet maven repo. Thanks Jerome for answering my questions. On Jan 26, 2008 10:19 AM, Jerome Louvel [EMAIL PROTECTED] wrote: Hi again, A similar issue has been fixed in Restlet 1.0.7. Which version do you run? Best regards, Jerome -Message

Security Issues with Dynamic Loading of Applications?

2008-01-26 Thread Alex Milowski
Besides the obvious Java issues of dynamically loading code, are there any restlet-specific considerations for why you dynamically load an Application instance from a jar file? It seems to me that the Component instance in which the Application is running is protected from the Application

Re: Status class should have a Throwable field

2008-01-26 Thread Stephan Koops
Hello Paul, if I understood you right, than you want to add method to the class Status to save the exception in the status object. But the Status objects are immutable as all metadata. So this won't work. best regards Stephan Paul J. Lucas schrieb: I would like to be able to have code

Re: Status class should have a Throwable field

2008-01-26 Thread Paul J. Lucas
OK, fine: then simply add a constructor that takes a Throwable as well as a getThrown() method. Status can stay immutable. - Paul On Jan 26, 2008, at 1:06 PM, Stephan Koops wrote: Hello Paul, if I understood you right, than you want to add method to the class Status to save the

Jaxb representation (HELP!)

2008-01-26 Thread dev dev
Hi folks, has anybody already used the JAXB XML binding framework with Restlet? Are there any sample codes we can take a look at on how it's being used in Restlet? Any performance issues we should seriously consider before using JAXB? Thanks in advance for all the help. dev