org.qi4j.library.rest.client.spi
Interface RequestWriter

All Known Implementing Classes:
FormRequestWriter, RequestWriterDelegator, ValueCompositeRequestWriter

public interface RequestWriter

JAVADOC


Method Summary
 boolean writeRequest(java.lang.Object requestObject, org.restlet.Request request)
          Write the given request object to the request.
 

Method Detail

writeRequest

boolean writeRequest(java.lang.Object requestObject,
                     org.restlet.Request request)
                     throws org.restlet.resource.ResourceException
Write the given request object to the request.

Parameters:
requestObject - The object to be written.
request - The Request destination of the requestObject
Returns:
true if the object was written to the Request instance, false if handler can not write the object.
Throws:
org.restlet.resource.ResourceException