vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/HttpResource.java
branchemul
changeset 626 f08eb4df84c1
parent 623 4af0d3dedb9d
     1.1 --- a/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/HttpResource.java	Thu Jan 31 17:39:47 2013 +0100
     1.2 +++ b/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/HttpResource.java	Thu Jan 31 19:21:37 2013 +0100
     1.3 @@ -34,6 +34,10 @@
     1.4      String path();
     1.5      /** the content of the HttpResource */
     1.6      String content();
     1.7 +    /** resource relative to the class that should be used instead of <code>content</code>.
     1.8 +     * Leave content equal to empty string.
     1.9 +     */
    1.10 +    String resource() default "";
    1.11      /** mime type of the resource */
    1.12      String mimeType();
    1.13  }