You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/main/asciidoc/qute.adoc
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ In your `pom.xml` file, add:
30
30
----
31
31
<dependency>
32
32
<groupId>io.quarkus</groupId>
33
-
<artifactId>quarkus-qute-resteasy</artifactId>
33
+
<artifactId>quarkus-resteasy-qute</artifactId>
34
34
</dependency>
35
35
----
36
36
@@ -72,12 +72,13 @@ public class HelloResource {
72
72
}
73
73
}
74
74
----
75
-
<1> If there is no `@ResourcePath` qualifier provided the field name is used to locate the template. In this particular case, we're injecting a template with path `templates/hello.txt`.
75
+
<1> If there is no `@ResourcePath` qualifier provided, the field name is used to locate the template. In this particular case, we're injecting a template with path `templates/hello.txt`.
76
76
<2> `Template.data()` returns a new template instance that can be customized before the actual rendering is triggered. In this case, we put the name value under the key `name`. The data map is accessible during rendering.
77
77
<3> Note that we don't trigger the rendering - this is done automatically by a special `ContainerResponseFilter` implementation.
78
78
79
-
If running your application, you can request the endpoint:
79
+
If your application is running, you can request the endpoint:
0 commit comments