Class GraphQLProvider

    • Constructor Summary

      Constructors 
      Constructor Description
      GraphQLProvider​(ca.uhn.fhir.context.FhirContext theFhirContext, ca.uhn.fhir.context.support.IValidationSupport theValidationSupport, org.hl7.fhir.utilities.graphql.IGraphQLStorageServices theStorageServices)
      Constructor which uses the given worker context
      GraphQLProvider​(org.hl7.fhir.utilities.graphql.IGraphQLStorageServices theStorageServices)
      Constructor which uses a default context and validation support object
    • Constructor Detail

      • GraphQLProvider

        public GraphQLProvider​(org.hl7.fhir.utilities.graphql.IGraphQLStorageServices theStorageServices)
        Constructor which uses a default context and validation support object
        Parameters:
        theStorageServices - The storage services (this object will be used to retrieve various resources as required by the GraphQL engine)
      • GraphQLProvider

        public GraphQLProvider​(@Nonnull
                               ca.uhn.fhir.context.FhirContext theFhirContext,
                               @Nullable
                               ca.uhn.fhir.context.support.IValidationSupport theValidationSupport,
                               @Nonnull
                               org.hl7.fhir.utilities.graphql.IGraphQLStorageServices theStorageServices)
        Constructor which uses the given worker context
        Parameters:
        theFhirContext - The HAPI FHIR Context object
        theValidationSupport - The HAPI Validation Support object, or null
        theStorageServices - The storage services (this object will be used to retrieve various resources as required by the GraphQL engine)
    • Method Detail

      • processGraphQlGetRequest

        public String processGraphQlGetRequest​(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails,
                                               org.hl7.fhir.instance.model.api.IIdType theId,
                                               String theQueryUrl)
      • processGraphQlPostRequest

        public String processGraphQlPostRequest​(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails,
                                                org.hl7.fhir.instance.model.api.IIdType theId,
                                                String theQueryBody)
      • processGraphQLRequest

        public String processGraphQLRequest​(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails,
                                            org.hl7.fhir.instance.model.api.IIdType theId,
                                            String theQuery)
      • initialize

        public void initialize​(ca.uhn.fhir.rest.server.RestfulServer theServer)