public class ServerCapabilityStatementProvider extends BaseServerCapabilityStatementProvider implements IServerConformanceProvider<org.hl7.fhir.r4.model.CapabilityStatement>
Note: This class is safe to extend, but it is important to note that the same instance of CapabilityStatement is always returned unless setCache(boolean) is called with a value of
false. This means that if you are adding anything to the returned conformance instance on each call you should call setCache(false) in your provider constructor.
| Constructor and Description |
|---|
ServerCapabilityStatementProvider()
No-arg constructor and setter so that the ServerConformanceProvider can be Spring-wired with the RestfulService avoiding the potential reference cycle that would happen.
|
ServerCapabilityStatementProvider(RestfulServer theRestfulServer)
Deprecated.
Use no-args constructor instead. Deprecated in 4.0.0
|
ServerCapabilityStatementProvider(RestfulServerConfiguration theServerConfiguration)
Constructor - This is intended only for JAX-RS server
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPublisher()
Gets the value of the "publisher" that will be placed in the generated conformance statement.
|
org.hl7.fhir.r4.model.CapabilityStatement |
getServerConformance(javax.servlet.http.HttpServletRequest theRequest,
RequestDetails theRequestDetails) |
org.hl7.fhir.r4.model.OperationDefinition |
readOperationDefinition(org.hl7.fhir.r4.model.IdType theId,
RequestDetails theRequestDetails) |
ServerCapabilityStatementProvider |
setCache(boolean theCache)
Deprecated.
Since 4.0.0 - This method no longer does anything
|
void |
setPublisher(String thePublisher)
Sets the value of the "publisher" that will be placed in the generated conformance statement.
|
void |
setRestfulServer(RestfulServer theRestfulServer) |
getServerConfigurationpublic ServerCapabilityStatementProvider()
@Deprecated public ServerCapabilityStatementProvider(RestfulServer theRestfulServer)
public ServerCapabilityStatementProvider(RestfulServerConfiguration theServerConfiguration)
public String getPublisher()
public void setPublisher(String thePublisher)
public org.hl7.fhir.r4.model.CapabilityStatement getServerConformance(javax.servlet.http.HttpServletRequest theRequest, RequestDetails theRequestDetails)
getServerConformance in interface IServerConformanceProvider<org.hl7.fhir.r4.model.CapabilityStatement>public org.hl7.fhir.r4.model.OperationDefinition readOperationDefinition(org.hl7.fhir.r4.model.IdType theId, RequestDetails theRequestDetails)
@Deprecated public ServerCapabilityStatementProvider setCache(boolean theCache)
See the class documentation for an important note if you are extending this class
public void setRestfulServer(RestfulServer theRestfulServer)
setRestfulServer in interface IServerConformanceProvider<org.hl7.fhir.r4.model.CapabilityStatement>Copyright © 2014–2019 University Health Network. All rights reserved.