|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sf.antcontrib.net.httpclient.AbstractMethodTask
net.sf.antcontrib.net.httpclient.PostMethodTask
public class PostMethodTask
| Nested Class Summary | |
|---|---|
static class |
PostMethodTask.FilePartType
|
static class |
PostMethodTask.TextPartType
|
| Nested classes/interfaces inherited from class net.sf.antcontrib.net.httpclient.AbstractMethodTask |
|---|
AbstractMethodTask.ResponseHeader |
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
PostMethodTask()
|
|
| Method Summary | |
|---|---|
void |
addConfiguredFile(PostMethodTask.FilePartType file)
|
void |
addConfiguredParameter(org.apache.commons.httpclient.NameValuePair pair)
|
void |
addConfiguredText(PostMethodTask.TextPartType text)
|
protected void |
cleanupResources(org.apache.commons.httpclient.HttpMethodBase method)
|
protected void |
configureMethod(org.apache.commons.httpclient.HttpMethodBase method)
|
protected org.apache.commons.httpclient.HttpMethodBase |
createNewMethod()
|
void |
setContentChunked(boolean contentChunked)
|
void |
setMultipart(boolean multipart)
|
void |
setParameters(java.io.File parameters)
|
| Methods inherited from class net.sf.antcontrib.net.httpclient.AbstractMethodTask |
|---|
addConfiguredHeader, addConfiguredHttpClient, addConfiguredParams, addConfiguredResponseHeader, createMethodIfNecessary, execute, setClientRefId, setDoAuthentication, setFollowRedirects, setPath, setQueryString, setResponseDataFile, setResponseDataProperty, setStatusCodeProperty, setURL |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostMethodTask()
| Method Detail |
|---|
public void addConfiguredFile(PostMethodTask.FilePartType file)
public void setMultipart(boolean multipart)
public void addConfiguredText(PostMethodTask.TextPartType text)
public void setParameters(java.io.File parameters)
protected org.apache.commons.httpclient.HttpMethodBase createNewMethod()
createNewMethod in class AbstractMethodTaskpublic void addConfiguredParameter(org.apache.commons.httpclient.NameValuePair pair)
public void setContentChunked(boolean contentChunked)
protected void configureMethod(org.apache.commons.httpclient.HttpMethodBase method)
configureMethod in class AbstractMethodTaskprotected void cleanupResources(org.apache.commons.httpclient.HttpMethodBase method)
cleanupResources in class AbstractMethodTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||