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