Class InteractionBlockingInterceptor.Builder
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.InteractionBlockingInterceptor.Builder
- Enclosing class:
InteractionBlockingInterceptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllowedSpec
(String theSpec) Adds an interaction or operation that will be permitted.build()
-
Constructor Details
-
Builder
Constructor
-
-
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
, andpatch
. For example, the specPatient: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
andvread
interactions. If one is permitted the other will also be permitted.- Returns:
-
[resourceType]:[interaction] - Use this form to allow type- and instance-level interactions, such as
-
build
-