summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattinger <[email protected]>2006-08-22 17:42:58 +0000
committermattinger <[email protected]>2006-08-22 17:42:58 +0000
commiteee6f3560e998d279718dbe9ede0bfabe410fb00 (patch)
tree6d4ff96156cb7fca5690a3bc2e8fba664e82af0c
parent813a108a2cf043bac8c137cb8be93f8be8d2a723 (diff)
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@27 32d7a393-a5a9-423c-abd3-5d954feb1f2f
-rw-r--r--src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java4
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) {