We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73ca0cd commit 8d20c4fCopy full SHA for 8d20c4f
index.md
@@ -51,6 +51,7 @@ public class BasicApplication extends Application {
51
52
// send an object and negotiate the Response content-type, default to XML
53
GET("/negotiate", (routeContext) -> {
54
+ Contact contact = createContact();
55
routeContext.xml().negotiateContentType().send(contact);
56
});
57
0 commit comments