Class UrlTenantSelectionInterceptor

java.lang.Object
ca.uhn.fhir.rest.client.interceptor.UrlTenantSelectionInterceptor

This interceptor adds a path element representing the tenant ID to each client request. It is primarily intended to be used with clients that are accessing servers using URL Base Multitenancy.
  • Constructor Details

  • Method Details

    • getTenantId

      public String getTenantId()
      Returns the tenant ID
    • setTenantId

      public void setTenantId(String theTenantId)
      Sets the tenant ID
    • request

      public void request(ca.uhn.fhir.rest.client.api.IRestfulClient theClient, ca.uhn.fhir.rest.client.api.IHttpRequest theRequest)