Package ca.uhn.fhir.rest.annotation
Annotation Type ConditionalUrlParam
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface ConditionalUrlParam
On theUpdate,CreateandDeleteoperation methods, this annotation can be used to mark aStringparameter 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 tonullso 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 booleansupportsMultipleDoes this param support operating over multiple objects without throwing an error? This should be set totrueonly 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 totrueonly 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
-
-