java.lang.Cloneablepublic class PostMethodTask extends AbstractMethodTask
| Modifier and Type | Class | Description |
|---|---|---|
static class |
PostMethodTask.FilePartType |
|
static class |
PostMethodTask.TextPartType |
AbstractMethodTask.ResponseHeader| Constructor | Description |
|---|---|
PostMethodTask() |
| Modifier and Type | Method | Description |
|---|---|---|
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) |
addConfiguredHeader, addConfiguredHttpClient, addConfiguredParams, addConfiguredResponseHeader, createMethodIfNecessary, execute, setClientRefId, setDoAuthentication, setFollowRedirects, setPath, setQueryString, setResponseDataFile, setResponseDataProperty, setStatusCodeProperty, setURLequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic 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