Class StaticCapabilityStatementInterceptor
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.StaticCapabilityStatementInterceptor
This interceptor replaces the auto-generated CapabilityStatement that is generated
by the HAPI FHIR Server with a static hard-coded resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IBaseConformance
hook
(RequestDetails theRequestDetails) void
setCapabilityStatement
(org.hl7.fhir.instance.model.api.IBaseConformance theCapabilityStatement) Sets the CapabilityStatement to usevoid
setCapabilityStatementResource
(String theClasspath) Sets the classpath location of the CapabilityStatement to use.
-
Constructor Details
-
StaticCapabilityStatementInterceptor
public StaticCapabilityStatementInterceptor()
-
-
Method Details
-
setCapabilityStatement
public void setCapabilityStatement(org.hl7.fhir.instance.model.api.IBaseConformance theCapabilityStatement) Sets the CapabilityStatement to use- See Also:
-
setCapabilityStatementResource
Sets the classpath location of the CapabilityStatement to use. If this method is used to supply the CapabiltyStatement, then the given classpath resource will be read and parsed as a FHIR CapabilityStatement.- See Also:
-
hook
-