Class IAuthRuleTester.RuleTestRequest
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.auth.IAuthRuleTester.RuleTestRequest
- Enclosing interface:
IAuthRuleTester
A request object to make this easier to extend.
-
Field Summary
Modifier and TypeFieldDescriptionfinal PolicyEnum
the mode of the calling rule contextfinal ca.uhn.fhir.rest.api.RestOperationTypeEnum
The FHIR operation being performed.final RequestDetails
final org.hl7.fhir.instance.model.api.IBaseResource
final org.hl7.fhir.instance.model.api.IIdType
final IRuleApplier
supplier for support services -
Constructor Summary
ConstructorDescriptionRuleTestRequest
(PolicyEnum theMode, ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation, RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theResourceId, org.hl7.fhir.instance.model.api.IBaseResource theResource, IRuleApplier theRuleApplier) -
Method Summary
-
Field Details
-
mode
the mode of the calling rule context -
operation
The FHIR operation being performed. Note that this is not necessarily the same as the value obtained from invokingRequestDetails.getRestOperationType()
on requestDetails because multiple operations can be nested within an HTTP request using FHIR transaction and batch operations -
requestDetails
-
resourceId
-
resource
-
ruleApplier
supplier for support services
-
-
Constructor Details
-
RuleTestRequest
public RuleTestRequest(PolicyEnum theMode, @Nonnull ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation, @Nonnull RequestDetails theRequestDetails, @Nullable org.hl7.fhir.instance.model.api.IIdType theResourceId, @Nullable org.hl7.fhir.instance.model.api.IBaseResource theResource, @Nonnull IRuleApplier theRuleApplier)
-