We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73ca0cd + 8d20c4f commit 4393c04Copy full SHA for 4393c04
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