Hi Mike,
There already exists a "timeToLive" parameter, see:
http://www.restlet.org/documentation/1.0/nre/com/noelios/restlet/local/LocalClientHelper.html
We should copy the parameter description into the FileClientHelper Javadoc
as well.
You can set it doing something like
Client fileClient = new Client(Protocol.FILE);
fileClient.getContext().getParameters().add("timeToLive", "xxx");
Best regards,
Jerome
2007/12/7, Mike Brzozowski <[EMAIL PROTECTED]>:
>
> > I think you can provide your own FileClientHelper by extending the
> > current FileClientHelper class and override the "getTimeToLive"
> > method.
>
> Great, thanks! Come to think of it, can you just change the timeToLive
> parameter
> by getting a handle to the standard file helper and doing a
>
> parameters.add("timeToLive", TIME_TO_LIVE);
> ?
>
> Thanks,
> Mike
>