public class GenericClient extends BaseClient implements ca.uhn.fhir.rest.client.api.IGenericClient
BaseClient.ResourceOrBinaryResponseHandler, BaseClient.ResourceResponseHandler<T extends org.hl7.fhir.instance.model.api.IBaseResource>HAPI_CLIENT_KEEPRESPONSES| Constructor and Description |
|---|
GenericClient(ca.uhn.fhir.context.FhirContext theContext,
ca.uhn.fhir.rest.client.api.IHttpClient theHttpClient,
String theServerBase,
RestfulClientFactory theFactory)
For now, this is a part of the internal API of HAPI - Use with caution as this method may change!
|
| Modifier and Type | Method and Description |
|---|---|
ca.uhn.fhir.rest.gclient.IFetchConformanceUntyped |
capabilities() |
ca.uhn.fhir.rest.gclient.ICreate |
create() |
ca.uhn.fhir.rest.gclient.IDelete |
delete() |
ca.uhn.fhir.rest.gclient.IFetchConformanceUntyped |
fetchConformance() |
void |
forceConformanceCheck() |
ca.uhn.fhir.context.FhirContext |
getFhirContext() |
ca.uhn.fhir.rest.client.api.IHttpRequest |
getLastRequest() |
protected String |
getPreferredId(org.hl7.fhir.instance.model.api.IBaseResource theResource,
String theId) |
ca.uhn.fhir.rest.gclient.IHistory |
history() |
boolean |
isLogRequestAndResponse()
Deprecated.
Use
LoggingInterceptor as a client interceptor registered to your
client instead, as this provides much more fine-grained control over what is logged. This
method will be removed at some point (deprecated in HAPI 1.6 - 2016-06-16) |
ca.uhn.fhir.rest.gclient.IGetPage |
loadPage() |
ca.uhn.fhir.rest.gclient.IMeta |
meta() |
ca.uhn.fhir.rest.gclient.IOperation |
operation() |
ca.uhn.fhir.rest.gclient.IPatch |
patch() |
ca.uhn.fhir.rest.gclient.IRead |
read() |
<T extends org.hl7.fhir.instance.model.api.IBaseResource> |
read(Class<T> theType,
String theId) |
<T extends org.hl7.fhir.instance.model.api.IBaseResource> |
read(Class<T> theType,
ca.uhn.fhir.model.primitive.UriDt theUrl) |
org.hl7.fhir.instance.model.api.IBaseResource |
read(ca.uhn.fhir.model.primitive.UriDt theUrl) |
ca.uhn.fhir.rest.gclient.IUntypedQuery |
search() |
void |
setLastRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theLastRequest)
For now, this is a part of the internal API of HAPI - Use with caution as this method may change!
|
void |
setLogRequestAndResponse(boolean theLogRequestAndResponse)
Deprecated.
|
ca.uhn.fhir.rest.gclient.ITransaction |
transaction() |
ca.uhn.fhir.rest.gclient.IUpdate |
update() |
ca.uhn.fhir.rest.api.MethodOutcome |
update(ca.uhn.fhir.model.primitive.IdDt theIdDt,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
ca.uhn.fhir.rest.api.MethodOutcome |
update(String theId,
org.hl7.fhir.instance.model.api.IBaseResource theResource) |
ca.uhn.fhir.rest.gclient.IValidate |
validate() |
ca.uhn.fhir.rest.api.MethodOutcome |
validate(org.hl7.fhir.instance.model.api.IBaseResource theResource) |
<T extends org.hl7.fhir.instance.model.api.IBaseResource> |
vread(Class<T> theType,
ca.uhn.fhir.model.primitive.IdDt theId) |
<T extends org.hl7.fhir.instance.model.api.IBaseResource> |
vread(Class<T> theType,
String theId,
String theVersionId) |
createExtraParams, fetchResourceFromUrl, getEncoding, getHttpClient, getInterceptorService, getLastResponse, getLastResponseBody, getServerBase, getSummary, getUrlBase, isKeepResponses, isPrettyPrint, registerInterceptor, setDontValidateConformance, setEncoding, setFormatParamStyle, setInterceptorService, setKeepResponses, setPrettyPrint, setSummary, unregisterInterceptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GenericClient(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.client.api.IHttpClient theHttpClient, String theServerBase, RestfulClientFactory theFactory)
public ca.uhn.fhir.rest.gclient.IFetchConformanceUntyped capabilities()
capabilities in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.ICreate create()
create in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IDelete delete()
delete in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IFetchConformanceUntyped fetchConformance()
fetchConformance in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic void forceConformanceCheck()
forceConformanceCheck in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.context.FhirContext getFhirContext()
getFhirContext in interface ca.uhn.fhir.rest.client.api.IRestfulClientpublic ca.uhn.fhir.rest.client.api.IHttpRequest getLastRequest()
public void setLastRequest(ca.uhn.fhir.rest.client.api.IHttpRequest theLastRequest)
protected String getPreferredId(org.hl7.fhir.instance.model.api.IBaseResource theResource, String theId)
public ca.uhn.fhir.rest.gclient.IHistory history()
history in interface ca.uhn.fhir.rest.client.api.IGenericClient@Deprecated public boolean isLogRequestAndResponse()
LoggingInterceptor as a client interceptor registered to your
client instead, as this provides much more fine-grained control over what is logged. This
method will be removed at some point (deprecated in HAPI 1.6 - 2016-06-16)@Deprecated public void setLogRequestAndResponse(boolean theLogRequestAndResponse)
setLogRequestAndResponse in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IGetPage loadPage()
loadPage in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IMeta meta()
meta in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IOperation operation()
operation in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IPatch patch()
patch in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IRead read()
read in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic <T extends org.hl7.fhir.instance.model.api.IBaseResource> T read(Class<T> theType, String theId)
read in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic <T extends org.hl7.fhir.instance.model.api.IBaseResource> T read(Class<T> theType, ca.uhn.fhir.model.primitive.UriDt theUrl)
read in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic org.hl7.fhir.instance.model.api.IBaseResource read(ca.uhn.fhir.model.primitive.UriDt theUrl)
read in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IUntypedQuery search()
search in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.ITransaction transaction()
transaction in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IUpdate update()
update in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.api.MethodOutcome update(ca.uhn.fhir.model.primitive.IdDt theIdDt, org.hl7.fhir.instance.model.api.IBaseResource theResource)
update in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.api.MethodOutcome update(String theId, org.hl7.fhir.instance.model.api.IBaseResource theResource)
update in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.gclient.IValidate validate()
validate in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic ca.uhn.fhir.rest.api.MethodOutcome validate(org.hl7.fhir.instance.model.api.IBaseResource theResource)
validate in interface ca.uhn.fhir.rest.client.api.IGenericClientpublic <T extends org.hl7.fhir.instance.model.api.IBaseResource> T vread(Class<T> theType, ca.uhn.fhir.model.primitive.IdDt theId)
vread in interface ca.uhn.fhir.rest.client.api.IGenericClientCopyright © 2014–2019 University Health Network. All rights reserved.