From 22bda7ff2779b5a5c9b8d0596d49d75e9cc90ac2 Mon Sep 17 00:00:00 2001 From: Jens Kristian Villadsen Date: Tue, 7 Mar 2017 23:00:26 +0100 Subject: [PATCH] Create README.md --- example-projects/hapi-fhir-jaxrs-sse/README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 example-projects/hapi-fhir-jaxrs-sse/README.md diff --git a/example-projects/hapi-fhir-jaxrs-sse/README.md b/example-projects/hapi-fhir-jaxrs-sse/README.md new file mode 100644 index 00000000000..8c5785931a9 --- /dev/null +++ b/example-projects/hapi-fhir-jaxrs-sse/README.md @@ -0,0 +1,5 @@ +This example sets up a FHIR server that can ship out Server-sent events using standard Jersey 2.x components. Start up the server and eg. issue the following curl request 'curl -v -X GET http://localhost:8080/Patient/listen'. The will block curl and once any events are shipped to the server, they will automatically be sent to the curl client. + +Changes can be sent to the server on localhost:8080/Patient which accepts any kind of patients that has at least one identifier. + +Voila