net.sf.antcontrib.antserver.commands
Class AbstractCommand
java.lang.Object
net.sf.antcontrib.antserver.commands.AbstractCommand
- Command, Serializable
public abstract class AbstractCommand
extends java.lang.Object
Place class description here.
getContentLength
public long getContentLength()
Is there additional content being sent from the local
machine to the remote server
- getContentLength in interface Command
getContentStream
public InputStream getContentStream()
throws IOException
Gets the content's input stream. Should be called only on the
client side for sending the content over the connection
- getContentStream in interface Command
- the content's input stream.
respond
public boolean respond(Project project,
long contentLength,
InputStream contentStream)
throws IOException
Process any additional data from a response.
- respond in interface Command