java.io.Serializable, CommandDisconnectCommand, HelloWorldCommand, RunAntCommand, RunTargetCommand, SendFileCommand, ShutdownCommandpublic abstract class AbstractCommand extends java.lang.Object implements Command
| Constructor | Description |
|---|---|
AbstractCommand() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
public long getContentLength()
CommandgetContentLength in interface Commandpublic java.io.InputStream getContentStream()
throws java.io.IOException
CommandgetContentStream in interface Commandjava.io.IOExceptionpublic long getResponseContentLength()
getResponseContentLength in interface Commandpublic java.io.InputStream getReponseContentStream()
throws java.io.IOException
getReponseContentStream in interface Commandjava.io.IOExceptionpublic boolean respond(org.apache.tools.ant.Project project,
long contentLength,
java.io.InputStream contentStream)
throws java.io.IOException
Command