Package ca.uhn.fhir.test.utilities
Class BaseRestServerHelper
java.lang.Object
ca.uhn.fhir.test.utilities.BaseRestServerHelper
- Direct Known Subclasses:
RestServerDstu3Helper,RestServerR4Helper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidabstract voidabstract voidabstract org.hl7.fhir.instance.model.api.IIdTypecreateObservation(org.hl7.fhir.instance.model.api.IBaseResource theBaseResource) abstract org.hl7.fhir.instance.model.api.IIdTypecreateObservationForPatient(org.hl7.fhir.instance.model.api.IIdType theFirstTargetPatientId) abstract org.hl7.fhir.instance.model.api.IIdTypecreatePatient(org.hl7.fhir.instance.model.api.IBaseResource theBaseResource) abstract org.hl7.fhir.instance.model.api.IIdTypecreatePatientWithId(String theId) getBase()ca.uhn.fhir.rest.client.api.IGenericClientabstract ca.uhn.fhir.rest.server.IResourceProviderabstract longabstract longabstract longabstract longabstract ca.uhn.fhir.rest.server.IResourceProviderabstract longabstract longabstract longabstract longabstract ca.uhn.fhir.rest.server.IResourceProviderabstract booleanregisterInterceptor(Object theInterceptorAdapter) abstract voidsetFailNextPut(boolean theFailNextPut) voidsetServerAddressStrategy(boolean theUseHttps) protected abstract voidsetServerAddressStrategy(ca.uhn.fhir.rest.server.IServerAddressStrategy theServerAddressStrategy) protected voidstartServer(javax.servlet.Servlet theServlet) voidstop()abstract voidunregisterInterceptor(Object theNext)
-
Field Details
-
myFhirContext
-
myListenerPort
-
myHttpsListenerPort
-
myListenerServer
-
myBase
-
mySecureBase
-
myClient
-
myTlsAuthenticationTestHelper
-
-
Constructor Details
-
BaseRestServerHelper
-
-
Method Details
-
afterEach
- Throws:
Exception
-
getClient
-
startServer
- Throws:
Exception
-
getBase
-
getSecureBase
-
stop
- Throws:
Exception
-
clearDataAndCounts
-
setFailNextPut
-
getInterceptors
-
unregisterInterceptor
-
clearCounts
-
getPatientCountSearch
-
getPatientCountDelete
-
getPatientCountUpdate
-
getPatientCountRead
-
getObservationCountSearch
-
getObservationCountDelete
-
getObservationCountUpdate
-
getObservationCountRead
-
registerInterceptor
-
getObservationResourceProvider
-
getPatientResourceProvider
-
getConceptMapResourceProvider
-
createPatientWithId
-
createPatient
public abstract org.hl7.fhir.instance.model.api.IIdType createPatient(org.hl7.fhir.instance.model.api.IBaseResource theBaseResource) -
createObservationForPatient
public abstract org.hl7.fhir.instance.model.api.IIdType createObservationForPatient(org.hl7.fhir.instance.model.api.IIdType theFirstTargetPatientId) -
createObservation
public abstract org.hl7.fhir.instance.model.api.IIdType createObservation(org.hl7.fhir.instance.model.api.IBaseResource theBaseResource) -
setServerAddressStrategy
-
setServerAddressStrategy
protected abstract void setServerAddressStrategy(ca.uhn.fhir.rest.server.IServerAddressStrategy theServerAddressStrategy)
-