net.sf.antcontrib.antserver
public interface Command extends Serializable
Since:
Method Summary | |
---|---|
boolean | execute(Project project, long contentLength, InputStream contentStream)
Execute the command. |
long | getContentLength()
Is there additional content being sent from the local
machine to the remote server |
InputStream | getContentStream()
Gets the content's input stream. |
InputStream | getReponseContentStream() |
long | getResponseContentLength() |
boolean | respond(Project project, long contentLength, InputStream contentStream)
Process any additional data from a response. |
void | validate(Project project)
This should throw a build exception if the parameters
are invalid. |
Parameters: project The project which is being executed
Returns: If true, the connection will be closed
Throws: Throwable
Returns: the content's input stream.