diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java b/src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java index 6f4385a..c41cc21 100644 --- a/src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java +++ b/src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java @@ -113,6 +113,10 @@ public class PostMethodTask public void setContentType(String contentType) {
this.contentType = contentType;
}
+
+ public void setText(String text) {
+ this.value = text;
+ }
}
public void addConfiguredFile(FilePartType file) {
|