Package net.sf.antcontrib.net.httpclient
Class PostMethodTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sf.antcontrib.net.httpclient.AbstractMethodTask
net.sf.antcontrib.net.httpclient.PostMethodTask
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class net.sf.antcontrib.net.httpclient.AbstractMethodTask
AbstractMethodTask.ResponseHeader -
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddConfiguredParameter(org.apache.commons.httpclient.NameValuePair pair) voidprotected voidcleanupResources(org.apache.commons.httpclient.HttpMethodBase method) protected voidconfigureMethod(org.apache.commons.httpclient.HttpMethodBase method) protected org.apache.commons.httpclient.HttpMethodBasevoidsetContentChunked(boolean contentChunked) voidsetMultipart(boolean multipart) voidsetParameters(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, setURLMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
PostMethodTask
public PostMethodTask()
-
-
Method Details
-
addConfiguredFile
-
setMultipart
public void setMultipart(boolean multipart) -
addConfiguredText
-
setParameters
-
createNewMethod
protected org.apache.commons.httpclient.HttpMethodBase createNewMethod()- Specified by:
createNewMethodin classAbstractMethodTask
-
addConfiguredParameter
public void addConfiguredParameter(org.apache.commons.httpclient.NameValuePair pair) -
setContentChunked
public void setContentChunked(boolean contentChunked) -
configureMethod
protected void configureMethod(org.apache.commons.httpclient.HttpMethodBase method) - Overrides:
configureMethodin classAbstractMethodTask
-
cleanupResources
protected void cleanupResources(org.apache.commons.httpclient.HttpMethodBase method) - Overrides:
cleanupResourcesin classAbstractMethodTask
-