🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
Matt Clarke 06b9059a87 OkHttp client (#416)
* Created stub factory, client and test using jaxrs as a template

* OkHttp client, request and response partially implemented

* OkHttp client now adds sensible default headers to requests

* Creating an OkHttp byte request is now implemented

* OkHttp query parameter requests now supported

* Refactored tests, no longer comparing case for charsets

* Added proxy support to okhttpclientfactory
Re-enabled no-fhir-context test

* Fixed no-context test - expected exception message is now generic

* fixed some content type comparisons

* Removing trailing question marks from URLs as OkHttp doesn't do this automatically (like JaxRs)

* Fixed NPE when content-type header doesn't exist

* Correct HTTP method is now set on OkHttp requests (PUT, POST, UPDATE, etc.)

* Removed support for getRequestBodyFromStream - wasn't implemented correctly

* Added response buffering

* Updated test in light of changes pulled in from master

* Extract method refactors in okhttprestfulclient

* Implemented binary request with the OkHttp client

* Extracted out a generic string utils class

* Added relevant file and class headers

* Reformatted code

* Implemented getHttpClient(serverBase) in OkHttpRestfulClientFactory

* Renamed fields and parameters to be consistent with the rest of the project

* Reformat OkHttpClientDstu2Test (removes extraneous blank lines etc.)

* Removed additional blank lines in test

* Copied missing bundle_orion.xml to OkHttp test resources
2016-08-02 20:19:37 -04:00
.settings Merge JAX-RS client fixes 2016-02-28 13:34:57 -05:00
examples Fix #406 - Allow arbitrary authentication realm 2016-08-01 21:36:50 -04:00
hapi-deployable-pom Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-fhir-android Use corrrect types from client 2016-07-27 18:15:09 -04:00
hapi-fhir-base Fix #406 - Allow arbitrary authentication realm 2016-08-01 21:36:50 -04:00
hapi-fhir-base-example-embedded-ws Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-fhir-base-test-mindeps-client Fix tests 2016-07-24 09:20:54 -04:00
hapi-fhir-base-test-mindeps-server Fix tests 2016-07-24 09:20:54 -04:00
hapi-fhir-cli Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-fhir-cobertura Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-fhir-dist Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-fhir-examples-uploader Attempting to reduce memory usage during tests 2016-03-06 14:38:18 -05:00
hapi-fhir-fhirpath Attempting to reduce memory usage during tests 2016-03-06 14:38:18 -05:00
hapi-fhir-jacoco Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-fhir-jaxrsserver-base Bump version dependencies and return 200 for conditional delete with no matches 2016-07-25 08:46:02 -04:00
hapi-fhir-jaxrsserver-example Fix compile issues 2016-07-24 11:11:27 -04:00
hapi-fhir-jpaserver-base Bump version dependencies and return 200 for conditional delete with no matches 2016-07-25 08:46:02 -04:00
hapi-fhir-jpaserver-example Fix tests 2016-07-24 09:20:54 -04:00
hapi-fhir-jpaserver-uhnfhirtest Fix tests 2016-07-24 09:20:54 -04:00
hapi-fhir-oauth2 Add Eclipse files to git 2016-02-28 14:02:29 -05:00
hapi-fhir-okhttp OkHttp client (#416) 2016-08-02 20:19:37 -04:00
hapi-fhir-osgi-core Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-fhir-structures-dstu Use corrrect types from client 2016-07-27 18:15:09 -04:00
hapi-fhir-structures-dstu2 Fix tests 2016-07-24 09:20:54 -04:00
hapi-fhir-structures-dstu3 Fix #406 - Allow arbitrary authentication realm 2016-08-01 21:36:50 -04:00
hapi-fhir-structures-hl7org-dstu2 Fix tests 2016-07-24 09:20:54 -04:00
hapi-fhir-testpage-interceptor Attempting to reduce memory usage during tests 2016-03-06 14:38:18 -05:00
hapi-fhir-testpage-overlay Fix compile issue 2016-08-01 22:18:23 -04:00
hapi-fhir-tutorial Attempting to reduce memory usage during tests 2016-03-06 14:38:18 -05:00
hapi-fhir-validation-resources-dstu2 Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-fhir-validation-resources-dstu3 Update defs to 1.5.0 versions 2016-07-12 18:29:10 -04:00
hapi-tinder-plugin Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
hapi-tinder-test Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
restful-server-example Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
restful-server-example-test Version bump to 2.0-SNAPSHOT 2016-07-12 11:12:07 -04:00
src Credit for #416 2016-08-02 20:18:59 -04:00
vagrant Fix #242 - Allow compartment and read method to coexist for server 2015-10-21 11:58:19 -04:00
.classpath Remove unneeded source path 2014-12-04 11:27:53 -05:00
.gitignore Bump version dependencies and return 200 for conditional delete with no matches 2016-07-25 08:46:02 -04:00
.project Fix #233 - elementQuantity gets incorrectly encoded as elementDuration 2015-09-29 19:41:31 -04:00
.travis.yml Switch to jacoco 2016-06-15 17:34:50 -04:00
LICENSE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
NOTICE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
README.md Work on cobertura 2016-04-13 08:09:51 -04:00
check_for_maven_updates.sh Fix up examples 2014-09-03 18:03:44 -04:00
list_releases.sh Implement handleException on the server interceptor framework, as well 2014-11-07 14:26:59 -05:00
pom.xml OkHttp client (#416) 2016-08-02 20:19:37 -04:00
sync.sh Update resource defs 2015-12-01 18:35:24 -05:00
sync_dstu3.sh Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
sync_ri.sh Bump to 1.0.2 FHIR definitions 2015-11-15 12:22:56 -05:00
sync_ri3.sh Syn RI - Build still failing :( 2016-05-28 12:53:59 -04:00
sync_ri21.sh Update model and definitions to latest definitions 2016-01-30 11:08:16 -05:00
update_version.sh Force another travis build 2015-08-05 10:38:38 -04:00

README.md

hapi-fhir

HAPI FHIR - Java API for HL7 FHIR Clients and Servers

Build Status Coverage Status Maven Central Dependency Status License

Complete project documentation is available here: http://jamesagnew.github.io/hapi-fhir/

A demonstration of this project is available here: http://fhirtest.uhn.ca/

This project is Open Source, licensed under the Apache Software License 2.0.