Re: PUT with no entity (architecture question)

2008-01-16 Thread Chuck Hinson
Someone might consider putting this question to the people doing the 2616bis update to HTTP. See http://www.ietf.org/html.charters/httpbis-charter.html - there is a mailing list. As I understand it, part of their charter is to clarify some of the murkier pieces of the spec; this sounds like it

Re: Testing strategies

2007-11-19 Thread Chuck Hinson
Jerome, I know you've made this statement before (interfaces in public APIs), and since it is your project, I've not pressed you about it, but I'd still like to see some evidence that this is more than just personal opinion. As for unit testing Restlets, I've found them much easier to test than

Re: Testing strategies

2007-11-19 Thread Chuck Hinson
On Nov 19, 2007 3:35 PM, Jerome Louvel [EMAIL PROTECTED] wrote: Hi Chuck, Jerome, I know you've made this statement before (interfaces in public APIs), and since it is your project, I've not pressed you about it, but I'd still like to see some evidence that this is more than just

Re: HEAD not well supported?

2007-10-11 Thread Chuck Hinson
On 10/11/07, Jerome Louvel [EMAIL PROTECTED] wrote: Hi Sean, I think *Representation is problematic: headRepresentation()? I understand your concerns with get(Variant), getVariant(). A colleague of mine pointed out that conceptually, merely using post(), get(), etc., is like

Re: HEAD not well supported?

2007-10-10 Thread Chuck Hinson
On 10/10/07, Sean Landis [EMAIL PROTECTED] wrote: [...] We have about a dozen people writing web services using Restlet. Although head is confusing, I'd say we experience more confusion over the fact that GET is a 'special case'. That is, there's no get(), but instead you must use

Re: Facelets

2007-10-04 Thread Chuck Hinson
, Michael. Chuck Hinson wrote: Has anyone tried to do anything with Facelets in Restlets. Is it even possible? --Chuck

Re: Facelets

2007-10-04 Thread Chuck Hinson
On 10/4/07, Michael Terrington [EMAIL PROTECTED] wrote: Chuck Hinson wrote: Interesting. What were the biggest reasons for removing JSF references/dependencies? Several really: * JSF is a full MVC framework and I just wanted a templating engine to create XML views. I really liked

RE: RE: two quick questions

2007-08-22 Thread Chuck Hinson
I'll second Serge's feedback on the documentation. A user guide would be nice, but I'd argue that having accurate and useful javadoc would be much, much more helpful. For example, a coworker was implementing something that handled PUT - he overrode handlePut() instead of put(). Looking at

RE: RE: Keep Alive Problem with Simple Framwork

2007-08-22 Thread Chuck Hinson
We were having a similar problem where PUT requests over a slow link would fail. We resolved it by using the maxWaitTimeMs parameter for Simple. I have no idea whether our issue is related or not, but I thought it'd be useful to have this in the archives. --Chuck -Original Message-

RE: support for apache abdera

2007-08-02 Thread Chuck Hinson
We implemented an APP-based datastore using restlets and abdera. Was there something in particular you wanted to know? --Chuck -Original Message- From: Jim Alateras [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 12:10 AM To: discuss@restlet.tigris.org Subject: support for

RE: Re: 404 from getRepresentation/handleGet?

2007-07-19 Thread Chuck Hinson
-Original Message- From: Thierry Boileau [mailto:[EMAIL PROTECTED] Sent: Thursday, July 19, 2007 4:41 PM To: discuss@restlet.tigris.org Subject: Re: 404 from getRepresentation/handleGet? [. . .] I hope this will help you, Thierry Boileau p.s.: DELETE method does not return 404

RE: Re: PUT support for Directory

2007-06-28 Thread Chuck Hinson
Subject: Re: PUT support for Directory Hi Chuck, The Directory class already supports this! To enable it, use the Directory.modifiable property which is set to false by default. Thanks, Jerome Chuck Hinson a écrit : I'm building something where I need to be able to PUT files to a directory

PUT support for Directory

2007-06-27 Thread Chuck Hinson
resource? --Chuck Chuck Hinson Gestalt LLC phone: 610.994.2833 IM: chucking24 (Yahoo)

2-way ssl

2007-06-04 Thread Chuck Hinson
(getCertAlgorithm()); trustManagerFactory.init(trustStore); which also would require the following additional properties to be defined: truststorePath truststorePassword truststoreType Thanks. --Chuck Chuck Hinson Gestalt LLC phone: 610.994.2833 IM

RE: Re: Can I call my Restlet classes without a Web container?

2007-05-31 Thread Chuck Hinson
As Adam points out, it is a good idea to keep the bulk of your business logic outside your restlet classes for testing purposes. However, we've found it very easy to directly invoke various restlet components for testing purposes - mostly to check return codes and ensure content negotiation stuff

RE: Re: 2-way SSL authentication

2007-05-23 Thread Chuck Hinson
I'm going to need this in a day or two. Can I get this in a binary, or do I have to build from trunk? --Chuck -Original Message- From: Toby Thain [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 6:19 PM To: discuss@restlet.tigris.org Subject: Re: 2-way SSL authentication On

RE: Re: Maven Repository available

2007-05-03 Thread Chuck Hinson
I'll (strongly) second these sentiments. --Chuck From: Mark Reynolds [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 2:44 PM To: discuss@restlet.tigris.org Subject: Re: Maven Repository available Thanks for doing this. It is a huge step in the right

RE: RE: Proxy server

2007-04-27 Thread Chuck Hinson
I'm not sure I understand what do you mean by I'm looking for anything that would rule out using Restlets. Are you worried about the lack of some specific features? Could you give more details? Best regards, Jerome -Message d'origine- De : Chuck Hinson [mailto:[EMAIL PROTECTED

RE: RE: 2-way SSL authentication

2007-04-27 Thread Chuck Hinson
same SSL socket? Otherwise a single Restlet application can use an HTTPS server and client connector at the same time. But it seems that you are looking for more, right? Best regards, Jerome -Message d'origine- De : Chuck Hinson [mailto:[EMAIL PROTECTED] Envoyé : jeudi 26 avril

RE: RE: RE: Proxy server

2007-04-27 Thread Chuck Hinson
/packag e-summary.html I've updated the RFE to mention that: http://restlet.tigris.org/issues/show_bug.cgi?id=207 Best regards, Jerome -Message d'origine- De : Chuck Hinson [mailto:[EMAIL PROTECTED] Envoyé : vendredi 27 avril 2007 15:12 À : discuss@restlet.tigris.org Objet : RE: RE

Proxy server

2007-04-26 Thread Chuck Hinson
Does anyone have any experience using Restlets as the basis for a HTTP proxy? I'm looking for anything that would rule out using Restlets. --Chuck Chuck Hinson Gestalt LLC phone: 610.994.2833 IM: chucking24 (Yahoo)

2-way SSL authentication

2007-04-26 Thread Chuck Hinson
Does anyone know if it is possible to use Restlets in scenarios where https with 2-way/client authentication is required (server-side and client-side)? -Chuck Chuck Hinson Gestalt LLC phone: 610.994.2833 IM: chucking24 (Yahoo)

RE: RE: Directory restlet

2007-04-23 Thread Chuck Hinson
, I had this same issue earlier this month -- it seems now when creating your application object, you need to pass it the component Context. Application application = new ProxyEngine(component.getContext ()); Hope this helps, Jeff On 4/20/07, Chuck Hinson [EMAIL PROTECTED] wrote

Directory restlet

2007-04-20 Thread Chuck Hinson
- - 8003 GET /files/ - 500 366 - 80 http://localhost:8003 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firef ox/2.0.0.3 - Chuck Hinson Gestalt LLC phone: 610.994.2833 IM: chucking24 (Yahoo)

Find host info from Application

2007-02-20 Thread Chuck Hinson
From within an Application, how does one get hold of the VirtualHost to which the application is attached? --Chuck Chuck Hinson Gestalt LLC phone: 610.994.2833 IM: chucking24 (Yahoo)

RE: RE: RE: Find host info from Application

2007-02-20 Thread Chuck Hinson
the Request.getRootRef() method that was recently added. Best regards, Jerome -Message d'origine- De : Chuck Hinson [mailto:[EMAIL PROTECTED] Envoyé : mardi 20 février 2007 18:29 À : discuss@restlet.tigris.org Objet : RE: RE: Find host info from Application I need, for example, to find out what

RE: RE: RE: RE: Find host info from Application

2007-02-20 Thread Chuck Hinson
context parameters to pass the host info as this will be more portable when support WAR-style packaging in 1.1. Best regards, Jerome -Message d'origine- De : Chuck Hinson [mailto:[EMAIL PROTECTED] Envoyé : mardi 20 février 2007 19:01 À : discuss@restlet.tigris.org Objet : RE: RE: RE

Unit testing and the Client class

2007-02-17 Thread Chuck Hinson
Chuck Hinson Gestalt LLC phone: 610.994.2833 IM: chucking24 (Yahoo)

RE: RE: Re: Response Headers

2007-02-12 Thread Chuck Hinson
://www.restlet.org/docs/api/org/restlet/data/Message.html#getAttributes( ) Best regards, Jerome -Message d'origine- De : Chuck Hinson [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 06:36 À : discuss@restlet.tigris.org Objet : RE: Re: Response Headers Umm. OK, thanks. Not was I

RE: Re: Response Headers

2007-02-11 Thread Chuck Hinson
Umm. OK, thanks. Not was I was expecting, but I'll take it. However, the more generic question is then how do I set an arbitrary HTTP header (entity or response) on a response? --Chuck -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Sent: Sunday, February