diff options
author | mattinger <[email protected]> | 2006-08-22 17:53:50 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2006-08-22 17:53:50 +0000 |
commit | 27551e3c7402e93364f2d0d435082f5f48eec9fb (patch) | |
tree | 66cc3f4d271631d7d724ebba73ece8c44cf15f8b /src | |
parent | eee6f3560e998d279718dbe9ede0bfabe410fb00 (diff) |
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@28 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'src')
-rw-r--r-- | src/java/net/sf/antcontrib/net/httpclient/HttpClientType.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/java/net/sf/antcontrib/net/httpclient/HttpClientType.java b/src/java/net/sf/antcontrib/net/httpclient/HttpClientType.java index 946b860..64365ac 100644 --- a/src/java/net/sf/antcontrib/net/httpclient/HttpClientType.java +++ b/src/java/net/sf/antcontrib/net/httpclient/HttpClientType.java @@ -64,6 +64,15 @@ public class HttpClientType return clientParams;
}
+ public HttpStateType createHttpState() {
+ if (isReference()) {
+ tooManyAttributes();
+ }
+ HttpStateType state = new HttpStateType(getProject());
+ getClient().setState(state.getState());
+ return state;
+ }
+
public HostConfig createHostConfig() {
if (isReference()) {
tooManyAttributes();
|