diff -r 4af0d3dedb9d -r f08eb4df84c1 launcher/src/main/java/org/apidesign/bck2brwsr/launcher/InvocationContext.java --- a/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/InvocationContext.java Thu Jan 31 17:39:47 2013 +0100 +++ b/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/InvocationContext.java Thu Jan 31 19:21:37 2013 +0100 @@ -18,6 +18,7 @@ package org.apidesign.bck2brwsr.launcher; import java.io.IOException; +import java.io.InputStream; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; @@ -33,7 +34,7 @@ private String result; private Throwable exception; String html; - String httpContent; + InputStream httpContent; String httpType; String httpPath; @@ -54,7 +55,7 @@ /** HTTP resource to be available during execution. An invocation may * perform an HTTP query and obtain a resource relative to the page. */ - public void setHttpResource(String relativePath, String mimeType, String content) { + public void setHttpResource(String relativePath, String mimeType, InputStream content) { if (relativePath == null || mimeType == null || content == null) { throw new NullPointerException(); }