Author: thorsten Date: Thu Sep 11 05:50:08 2008 New Revision: 694231 URL: http://svn.apache.org/viewvc?rev=694231&view=rev Log: Switching method return to inputStream since easier to work with in method that needs the answer
Modified: forrest/trunk/whiteboard/dispatcher/java/org/apache/forrest/dispatcher/api/Contract.java Modified: forrest/trunk/whiteboard/dispatcher/java/org/apache/forrest/dispatcher/api/Contract.java URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/dispatcher/java/org/apache/forrest/dispatcher/api/Contract.java?rev=694231&r1=694230&r2=694231&view=diff ============================================================================== --- forrest/trunk/whiteboard/dispatcher/java/org/apache/forrest/dispatcher/api/Contract.java (original) +++ forrest/trunk/whiteboard/dispatcher/java/org/apache/forrest/dispatcher/api/Contract.java Thu Sep 11 05:50:08 2008 @@ -17,7 +17,6 @@ package org.apache.forrest.dispatcher.api; import java.io.InputStream; -import java.io.OutputStream; import java.util.HashMap; import org.apache.forrest.dispatcher.DispatcherException; @@ -56,7 +55,7 @@ /** * Some contracts are based on text based files. Best known example are the * xsl contracts as the first implementation. This method sets the xslSource, - * name, destribition and usage information of the contract. + * name, description and usage information of the contract. * * @param stream * that contains all information of the contract as description, @@ -77,7 +76,7 @@ * properties. * @throws DispatcherException */ - OutputStream execute(InputStream dataStream, HashMap properties) + InputStream execute(InputStream dataStream, HashMap<String, ?> properties) throws DispatcherException; /**