[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-user
Subject:    RE: WebdavResource putMethod
From:       "Pill, Juergen" <Juergen.Pill () softwareag ! com>
Date:       2001-05-21 13:08:33
[Download RAW message or body]

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:chotin@iharvest.com]
Sent: Friday, May 18, 2001 20:01
To: 'slide-user@jakarta.apache.org'
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic