Package ca.uhn.fhir.jpa.interceptor
package ca.uhn.fhir.jpa.interceptor
-
ClassDescriptionThis interceptor can be used to block resource updates which would make resource patient compartment change.This interceptor allows JPA servers to be partitioned by Patient ID.This interceptor looks for a header on incoming requests called
X-Retry-On-Version-Conflict
and if present, it will instruct the server to automatically retry JPA server operations that would have otherwise failed with aResourceVersionConflictException
(HTTP 409).