diff -r 4af0d3dedb9d -r f08eb4df84c1 vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/HttpResource.java --- a/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/HttpResource.java Thu Jan 31 17:39:47 2013 +0100 +++ b/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/HttpResource.java Thu Jan 31 19:21:37 2013 +0100 @@ -34,6 +34,10 @@ String path(); /** the content of the HttpResource */ String content(); + /** resource relative to the class that should be used instead of content. + * Leave content equal to empty string. + */ + String resource() default ""; /** mime type of the resource */ String mimeType(); }