Class RequestTenantPartitionInterceptor
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.partition.RequestTenantPartitionInterceptor
This interceptor uses the request tenant ID (as supplied to the server using
RestfulServer.setTenantIdentificationStrategy(ITenantIdentificationStrategy)
to indicate the partition ID. With this interceptor registered, The server treats the tenant name
supplied by the tenant identification strategy
as a partition name.
Partition names (aka tenant IDs) must be registered in advance using the partition management operations.
- Since:
- 5.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ca.uhn.fhir.interceptor.model.RequestPartitionId
extractPartitionIdFromRequest
(RequestDetails theRequestDetails) ca.uhn.fhir.interceptor.model.RequestPartitionId
partitionIdentifyCreate
(RequestDetails theRequestDetails)
-
Constructor Details
-
RequestTenantPartitionInterceptor
public RequestTenantPartitionInterceptor()
-
-
Method Details
-
partitionIdentifyCreate
public ca.uhn.fhir.interceptor.model.RequestPartitionId partitionIdentifyCreate(RequestDetails theRequestDetails) -
extractPartitionIdFromRequest
@Nonnull protected ca.uhn.fhir.interceptor.model.RequestPartitionId extractPartitionIdFromRequest(RequestDetails theRequestDetails)
-