
Package ca.uhn.fhir.rest.annotation
Annotation Type ConditionalUrlParam
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface ConditionalUrlParam
On theUpdate
,Create
andDelete
operation methods, this annotation can be used to mark aString
parameter which will be populated with the conditional "search" URL for the operation, if an incoming client invocation is a conditional operation. For non-conditional invocations, the value will be set tonull
so it is important to handlenull
.Parameters annotated with this annotation must be of type
String
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
supportsMultiple
Does this param support operating over multiple objects without throwing an error? This should be set totrue
only for conditional delete operations if the server supports multiple deletes via a conditional URL.
-
-
-
Element Detail
-
supportsMultiple
boolean supportsMultiple
Does this param support operating over multiple objects without throwing an error? This should be set totrue
only for conditional delete operations if the server supports multiple deletes via a conditional URL.Note that this flag is only a hint to the Conformance statement generator, it does not actually affect how the server itself works.
- Default:
- false
-
-