Class ServerConformanceProvider
java.lang.Object
ca.uhn.fhir.rest.server.util.BaseServerCapabilityStatementProvider
org.hl7.fhir.dstu2016may.hapi.rest.server.ServerConformanceProvider
- All Implemented Interfaces:
ca.uhn.fhir.rest.server.IServerConformanceProvider<org.hl7.fhir.dstu2016may.model.Conformance>
public class ServerConformanceProvider
extends ca.uhn.fhir.rest.server.util.BaseServerCapabilityStatementProvider
implements ca.uhn.fhir.rest.server.IServerConformanceProvider<org.hl7.fhir.dstu2016may.model.Conformance>
Server FHIR Provider which serves the conformance statement for a RESTful server implementation
-
Constructor Summary
ConstructorsConstructorDescriptionNo-arg constructor and seetter so that the ServerConfirmanceProvider can be Spring-wired with the RestfulService avoiding the potential reference cycle that would happen.ServerConformanceProvider(ca.uhn.fhir.rest.server.RestfulServer theRestfulServer) Deprecated.Use no-args constructor instead.ServerConformanceProvider(ca.uhn.fhir.rest.server.RestfulServerConfiguration theServerConfiguration) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the "publisher" that will be placed in the generated conformance statement.org.hl7.fhir.dstu2016may.model.ConformancegetServerConformance(jakarta.servlet.http.HttpServletRequest theRequest, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) org.hl7.fhir.dstu2016may.model.OperationDefinitionreadOperationDefinition(org.hl7.fhir.dstu2016may.model.IdType theId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) voidsetCache(boolean theCache) Deprecated.Since 4.0.0 this does not do anythingvoidsetPublisher(String thePublisher) Sets the value of the "publisher" that will be placed in the generated conformance statement.voidsetRestfulServer(ca.uhn.fhir.rest.server.RestfulServer theRestfulServer) Methods inherited from class ca.uhn.fhir.rest.server.util.BaseServerCapabilityStatementProvider
getServerConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.rest.server.IServerConformanceProvider
readOperationDefinition
-
Constructor Details
-
ServerConformanceProvider
public ServerConformanceProvider()No-arg constructor and seetter so that the ServerConfirmanceProvider can be Spring-wired with the RestfulService avoiding the potential reference cycle that would happen. -
ServerConformanceProvider
@Deprecated public ServerConformanceProvider(ca.uhn.fhir.rest.server.RestfulServer theRestfulServer) Deprecated.Use no-args constructor instead. Deprecated in 4.0.0Constructor -
ServerConformanceProvider
public ServerConformanceProvider(ca.uhn.fhir.rest.server.RestfulServerConfiguration theServerConfiguration) Constructor
-
-
Method Details
-
getPublisher
Gets the value of the "publisher" that will be placed in the generated conformance statement. As this is a mandatory element, the value should not be null (although this is not enforced). The value defaults to "Not provided" but may be set to null, which will cause this element to be omitted. -
getServerConformance
public org.hl7.fhir.dstu2016may.model.Conformance getServerConformance(jakarta.servlet.http.HttpServletRequest theRequest, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) - Specified by:
getServerConformancein interfaceca.uhn.fhir.rest.server.IServerConformanceProvider<org.hl7.fhir.dstu2016may.model.Conformance>
-
readOperationDefinition
public org.hl7.fhir.dstu2016may.model.OperationDefinition readOperationDefinition(org.hl7.fhir.dstu2016may.model.IdType theId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
setCache
Deprecated.Since 4.0.0 this does not do anythingSets the cache property (default is true). If set to true, the same response will be returned for each invocation.See the class documentation for an important note if you are extending this class
-
setPublisher
Sets the value of the "publisher" that will be placed in the generated conformance statement. As this is a mandatory element, the value should not be null (although this is not enforced). The value defaults to "Not provided" but may be set to null, which will cause this element to be omitted. -
setRestfulServer
- Specified by:
setRestfulServerin interfaceca.uhn.fhir.rest.server.IServerConformanceProvider<org.hl7.fhir.dstu2016may.model.Conformance>
-