Folks,
In the HttpClient extension on trunk, HttpMethodCall.getResponseStream()
should return null when the underlying response body stream is null.
However, as currently written, this method will return a non-null
FilterInputStream wrapper, even when the underlying response body stream is
null.
Hi,
The Directory Restlet is a really convenient way to serve an entire directory of
static content. But by default it all expires within 10 minutes. Is there a way
to change a Directory so that it returns files with a custom time to live (the
way FileRepresentation does for individual files)? If
I've noted that I can't get an extension for application/xml from the
metadata service.
In looking into this, the implementation (specifically, in
addCommonExtensions) does
not have a mapping for application/xml. Any reason?
Also, maybe this could be externalized to an XML document (or whatever)
I'm writing a small REST client to use for testing my REST server app. The
relevant code looks something like this:
Client client = new Client(Protocol.HTTP);
Request request = new Request();
// build request from UI input
// ...
// add any header fields defined by user
// one of these is "X-Targ
Hello Jerome, thank you for your reply.
[...]
> > limited to individual files: add (POST), replace (PUT),
> > delete (DELETE)
>
> IMO, the PUT should be mapped to both "replace" and "create", unless you
> want the server to control the URI of the created resources (via a POST to a
> list resou
I think, this is a good idea.
The methods "public String getMatrix()", "public Form
getMatrixAsForm()", "public Form getMatrixAsForm(CharacterSet)" and
"setMatrix(String)" are nice, too. And setQuery(Form) and
setMatrix(Form) are other good ideas, I think.
In this case, wouldn't it be suff
Has anybody done a Flickr client using Restlet? If so, details
appreciated. Or, failing that, being pointed in the right direction
on how to do it (what classes to derive from) would be good.
I've been looking at the Restlet code and the thing that strikes me
as wrong is that the core cla
On Dec 5, 2007, at 9:14 AM, Paul J. Lucas wrote:
On Dec 4, 2007, at 3:03 AM, Stian Soiland wrote:
On 12/3/07, Paul J. Lucas <[EMAIL PROTECTED]> wrote:
Funny, because java.io.FileNotFoundException is derived from
IOException. So clearly there's precedent.
Did you notice the "io" package na
Is there any sample pieces of working example code?
Jerome Louvel a écrit :
Hi Jean-Yves,
We have started building support for WADL in Restlet SVN trunk (1.1
snapshot). You should have a look at the org.restlet.ext.wadl extension
Javadocs to see how we have this support for now.
For more detai
On Dec 4, 2007, at 3:03 AM, Stian Soiland wrote:
On 12/3/07, Paul J. Lucas <[EMAIL PROTECTED]> wrote:
Funny, because java.io.FileNotFoundException is derived from
IOException. So clearly there's precedent.
Did you notice the "io" package name? :-) The exceptions here are
about resources, no
Is there any sample pieces of working example code?
Jerome Louvel a écrit :
Hi Jean-Yves,
We have started building support for WADL in Restlet SVN trunk (1.1
snapshot). You should have a look at the org.restlet.ext.wadl extension
Javadocs to see how we have this support for now.
For more det
Hi all,
> Except it's not "append": it's "insert into the right place" or "set".
It reminds me the 'PUT' semantic...
best regards,
Thierry Boileau
On 4-Dec-07, at 9:03 AM, Stian Soiland wrote:
On 12/3/07, Paul J. Lucas <[EMAIL PROTECTED]> wrote:
Funny, because java.io.FileNotFoundException is derived from
IOException. So clearly there's precedent.
Did you notice the "io" package name? :-) The exceptions here are
about resources, not
Jerome Louvel wrote:
Hi Marc and Joe,
I've extracted some of your writings into the existing RFE:
"Refactor TransformRepresentation"
http://restlet.tigris.org/issues/show_bug.cgi?id=377
and into a new RFE:
"Support DomSource, SaxSource and StreamSource"
http://restlet.tigris.org/issues/sh
14 matches
Mail list logo