com.ibm.portal.resolver.data
Interface VoidDataSink

All Superinterfaces:
DataSink, Disposable

public interface VoidDataSink
extends DataSink

Realization of a DataSink that does not require the input stream to generate output.

Since:
8.0.0.1
Note:
This interface is designed to be implemented by clients.

Method Summary
 DataSource newSource()
          Produces a new DataSource that represents the output of this DataSink.
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

newSource

DataSource newSource()
                     throws java.io.IOException
Produces a new DataSource that represents the output of this DataSink.

Returns:
the data source that represents the response. May be null to indicate that the response does not provide content.
Throws:
java.io.IOException - if the data source could not be generated