com.bigllc.retsiq.simpleclient
Interface ObjectResponseHandler
- All Known Implementing Classes:
- DefaultObjectHandler, FileWriterObjectHandler
public interface ObjectResponseHandler
Interface for handling objects. This interface can be used to
do custom handling of objects returned by the getObjects call.
- Author:
- Marc G. Smith
|
Method Summary |
java.lang.String |
object(java.lang.String contentType,
java.lang.String contentId,
java.lang.String objectId,
java.io.InputStream in)
This method is called by the getObject method for each object. |
object
java.lang.String object(java.lang.String contentType,
java.lang.String contentId,
java.lang.String objectId,
java.io.InputStream in)
throws RETSClientException
- This method is called by the getObject method for each object.
The handler implementation is responsible for writing the object.
- Parameters:
contentType - the content type for the objectobjectId - the object id of the objectcontentId - the content id of the objectin - the input stream of the object
- Returns:
- The uri of the persisted object
- Throws:
RETSClientException