If you would have a string, you could call the setQuery method.
Juergen
e.g.
private HttpMethod fillBody (Element element, HttpMethod method){
String body = element.getTextTrim();
method.setQuery(body);
return method;
}
-----Original Message-----
From: Matt Chotin [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 18, 2001 20:01
To: '[EMAIL PROTECTED]'
Subject: WebdavResource putMethod
Hi,
I'm using the webdav client part of Slide and want to call the putMethod on
the WebdavResource, but I already have an InputStream (or in some cases a
byte[]). I know that the PutMethod already has methods to support passing
in an InputStream or byte[], but they're not exposed through the resource.
Besides creating a temp file, is there any easy way to send my data across
using the existing API?
This leads to a larger question of how to access some of the more specific
methods of a HtppMethod when not explicitly exposed by the WebdavResource?
Is there something that I'm not seeing or has this been discussed for future
development?
Thanks!
Matt