Just updated to the latest snapshot and I'm bit further along, it actually
requests index.html as expected.  Changing my ClientHelper to return a
MediaType:

InputRepresentation ir = new InputRepresentation(url.openStream(),
MediaType.ALL);

solves an NPE further down the chain, however now I'm seeing
com.noelios.restlet.Engine#getScore being called 3 times, and my output is:

[EMAIL PROTECTED]:~/IdeaProjects/securemx/smx3$ curl
http://localhost:8182/admin/index.html
osgi://smx3.testresource/admin/index.html
osgi://smx3.testresource/admin/index.html
osgi://smx3.testresource/admin/index.html
[EMAIL PROTECTED]:~/IdeaProjects/securemx/smx3$

I would have assumed I would seen the contents of the InputStream that
InputRepresentation read, rather than just the internal URL being outputed
(3 times no less).

Am I missing something simple here?

On Fri, May 9, 2008 at 2:37 PM, Mark Derricutt <[EMAIL PROTECTED]> wrote:

> So after some experimentation I've created a ClientHelper and registered
> that into restlet, only I'm stuck
>

Reply via email to