RE: Index files don't work with Directory and clap://

2007-10-11 Thread Jerome Louvel
: Re: Index files don't work with Directory and clap:// Nope, this doesn't work: Directory d = new Directory(getContext(), clap://thread/client-bin); d.setNegotiateContent(false); d.setIndexName(index.html); guard1.setNext(d

Re: Index files don't work with Directory and clap://

2007-10-09 Thread Rob Heittman
); d.setNegotiateContent(false); d.setIndexName(index.html); guard1.setNext(d); - Rob - Original Message - From: Jerome Louvel [EMAIL PROTECTED] To: discuss@restlet.tigris.org Sent: Tuesday, October 9, 2007 3:41:05 PM (GMT-0500) America/New_York Subject: RE: Index files don't work

Index files don't work with Directory and clap://

2007-10-08 Thread Rob Heittman
... but I'd like them to. I assume the trouble is that you can't really get listings from the classpath, so the content negotiation behavior is broken. Do you think there is a way I could add workarounds to the existing Directory/DirectoryResource implementation, or do I just need a custom