commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Waldhoff, Rodney" <rwald...@us.britannica.com>
Subject RE: HttpClient Post
Date Wed, 24 Apr 2002 12:01:06 GMT
> 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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message