Class GraphQLProvider

java.lang.Object
ca.uhn.fhir.jpa.graphql.GraphQLProvider

public class GraphQLProvider extends Object
  • 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
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initialize(ca.uhn.fhir.rest.server.RestfulServer theServer)
     
    processGraphQlGetRequest(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theId, String theQueryUrl)
     
    processGraphQlPostRequest(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theServletRequestDetails, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theId, String theQueryBody)
     
    processGraphQLRequest(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theId, String theQuery)
     
    protected String
    processGraphQLRequest(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.utilities.graphql.Package parsedGraphQLRequest)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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 theServletRequestDetails, ca.uhn.fhir.rest.api.server.RequestDetails 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)
    • processGraphQLRequest

      protected String processGraphQLRequest(ca.uhn.fhir.rest.server.servlet.ServletRequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theId, org.hl7.fhir.utilities.graphql.Package parsedGraphQLRequest)
    • initialize

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