commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir D. Kolsky" <>
Subject RE: HttpClient Post
Date Wed, 24 Apr 2002 12:09:49 GMT
Sort of... I now have to figure out why it doesn't work :-)
Which method on a XxxMethod returns the request body? I want to make sure that what I put
in is what I *think* I put in...


-----Original Message-----
From: Waldhoff, Rodney []
Sent: Wed, April 24, 2002 3:01 PM
To: 'Jakarta Commons Developers List '
Subject: RE: HttpClient Post

> When the HTTP header is built, getName
> is used to figure out which method it 
> is, right?

Right, so that:

class MyPostMethod extends PutMethod {
  public String getName() { return "POST"; }

does what you're looking for, I think.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message