net.noderunner.http
Interface DataPoster

All Known Implementing Classes:
ByteArrayDataPoster, GeneralDataPoster

public interface DataPoster

Interface for sending data during an HTTP POST or PUT operation.

See Also:
HttpClient.writeRequest(net.noderunner.http.ClientRequest), ClientRequest.getDataPoster()

Method Summary
 void sendData(java.io.OutputStream os)
          Sends data to the remote host.
 

Method Detail

sendData

void sendData(java.io.OutputStream os)
              throws java.io.IOException
Sends data to the remote host. Invoked after the request line and headers have been sent.

Parameters:
os - output stream to send data to
Throws:
java.io.IOException - if data could not be written


Copyright © 2010. All Rights Reserved.