2006/unicorn/src/org/w3c/unicorn/output OutputModule.java,1.6,1.7 SimpleOutputModule.java,1.5,1.6

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv20203/src/org/w3c/unicorn/output

Modified Files:
	OutputModule.java SimpleOutputModule.java 
Log Message:
added produceFirstOutput method

Index: OutputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/OutputModule.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- OutputModule.java	21 Sep 2009 15:50:19 -0000	1.6
+++ OutputModule.java	22 Sep 2009 12:37:28 -0000	1.7
@@ -20,6 +20,13 @@
 	public static final Log logger = LogFactory.getLog(OutputModule.class);
 
 	/**
+	 * Generate a first output before the requests are launched.
+	 * 
+	 */
+	public abstract void produceFirstOutput(final OutputFormater aOutputFormater, Map<String, Object> mapOfStringObject,
+			final Map<String, String> mapOfParameter, final Writer aWriter);
+	
+	/**
 	 * Generate the output of all response.
 	 * 
 	 */

Index: SimpleOutputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/SimpleOutputModule.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- SimpleOutputModule.java	21 Sep 2009 15:50:19 -0000	1.5
+++ SimpleOutputModule.java	22 Sep 2009 12:37:28 -0000	1.6
@@ -24,4 +24,10 @@
 		aOutputFormater.produceError(mapOfStringObject, aWriter);
 	}
 
+	public void produceFirstOutput(OutputFormater aOutputFormater,
+			Map<String, Object> mapOfStringObject,
+			Map<String, String> mapOfParameter, Writer aWriter) {
+		return;
+	}
+
 }

Received on Tuesday, 22 September 2009 12:37:39 UTC