Class InteractionBlockingInterceptor.Builder

Enclosing class:

  • Constructor Details

    • Builder

      public Builder(@Nonnull ca.uhn.fhir.context.FhirContext theCtx)
  • Method Details

    • addAllowedSpec

      Adds an interaction or operation that will be permitted. Allowable formats are:
      • [resourceType]:[interaction] - Use this form to allow type- and instance-level interactions, such as create, read, and patch. For example, the spec Patient:create allows the Patient-level create operation (i.e. POST /Patient).
      • $[operation-name] - Use this form to allow operations (at any level) by name. For example, the spec $diff permits the Diff Operation to be applied at both the server- and instance-level.

      Note that the spec does not differentiate between the read and vread interactions. If one is permitted the other will also be permitted.

    • build