public interface Command
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.tools.ant.Project project,
long contentLength,
java.io.InputStream contentStream)
Execute the command.
|
long |
getContentLength()
Is there additional content being sent from the local
machine to the remote server
|
java.io.InputStream |
getContentStream()
Gets the content's input stream.
|
java.io.InputStream |
getReponseContentStream() |
long |
getResponseContentLength() |
boolean |
respond(org.apache.tools.ant.Project project,
long contentLength,
java.io.InputStream contentStream)
Process any additional data from a response.
|
void |
validate(org.apache.tools.ant.Project project)
This should throw a build exception if the parameters
are invalid.
|
void validate(org.apache.tools.ant.Project project)
long getContentLength()
java.io.InputStream getContentStream() throws java.io.IOException
java.io.IOException
long getResponseContentLength()
java.io.InputStream getReponseContentStream() throws java.io.IOException
java.io.IOException
boolean execute(org.apache.tools.ant.Project project, long contentLength, java.io.InputStream contentStream) throws java.lang.Throwable
project
- The project which is being executedjava.lang.Throwable
boolean respond(org.apache.tools.ant.Project project, long contentLength, java.io.InputStream contentStream) throws java.io.IOException
java.io.IOException