mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-08 05:48:12 +00:00
fix bundle labels when rendering
This commit is contained in:
parent
5fb6ed21d1
commit
7d7c1315d4
@ -185,7 +185,7 @@ public class BundleRenderer extends ResourceRenderer {
|
||||
}
|
||||
|
||||
private void renderResponse(XhtmlNode root, BundleEntryResponseComponent response) {
|
||||
root.para().addText("Request:");
|
||||
root.para().addText("Response:");
|
||||
StringBuilder b = new StringBuilder();
|
||||
b.append(response.getStatus()+"\r\n");
|
||||
if (response.hasLocation())
|
||||
@ -198,7 +198,7 @@ public class BundleRenderer extends ResourceRenderer {
|
||||
}
|
||||
|
||||
private void renderRequest(XhtmlNode root, BundleEntryRequestComponent request) {
|
||||
root.para().addText("Response:");
|
||||
root.para().addText("Request:");
|
||||
StringBuilder b = new StringBuilder();
|
||||
b.append(request.getMethod()+" "+request.getUrl()+"\r\n");
|
||||
if (request.hasIfNoneMatch())
|
||||
|
Loading…
x
Reference in New Issue
Block a user