Class Client
java.lang.Object
org.hl7.fhir.r4.utils.client.network.Client
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecuteBundleRequest
(okhttp3.Request.Builder request, String resourceFormat, okhttp3.Headers headers, String message, int retryCount, long timeout) <T extends Resource>
ResourceRequest<T> executeFhirRequest
(okhttp3.Request.Builder request, String resourceFormat, okhttp3.Headers headers, String message, int retryCount, long timeout) getBase()
org.hl7.fhir.utilities.ToolingClientLogger
int
boolean
issueDeleteRequest
(URI resourceUri, int timeout) issueGetFeedRequest
(URI resourceUri, String resourceFormat, int timeout) <T extends Resource>
ResourceRequest<T> issueGetResourceRequest
(URI resourceUri, String resourceFormat, okhttp3.Headers headers, String message, long timeout) <T extends Resource>
ResourceRequest<T> issueOptionsRequest
(URI optionsUri, String resourceFormat, String message, long timeout) issuePostFeedRequest
(URI resourceUri, Map<String, String> parameters, String resourceName, Resource resource, String resourceFormat, int timeout) <T extends Resource>
ResourceRequest<T> issuePostRequest
(URI resourceUri, byte[] payload, String resourceFormat, String message, long timeout) <T extends Resource>
ResourceRequest<T> issuePostRequest
(URI resourceUri, byte[] payload, String resourceFormat, okhttp3.Headers headers, String message, long timeout) <T extends Resource>
ResourceRequest<T> issuePutRequest
(URI resourceUri, byte[] payload, String resourceFormat, String message, long timeout) <T extends Resource>
ResourceRequest<T> issuePutRequest
(URI resourceUri, byte[] payload, String resourceFormat, okhttp3.Headers headers, String message, long timeout) postBatchRequest
(URI resourceUri, byte[] payload, String resourceFormat, String message, int timeout) void
void
setLogger
(org.hl7.fhir.utilities.ToolingClientLogger logger) void
setRetryCount
(int retryCount) int
tester
(int trytry)
-
Field Details
-
DEFAULT_CHARSET
- See Also:
-
-
Constructor Details
-
Client
public Client()
-
-
Method Details
-
getBase
-
setBase
-
getLogger
-
setLogger
-
getRetryCount
-
setRetryCount
-
issueOptionsRequest
public <T extends Resource> ResourceRequest<T> issueOptionsRequest(URI optionsUri, String resourceFormat, String message, long timeout) throws IOException - Throws:
IOException
-
issueGetResourceRequest
public <T extends Resource> ResourceRequest<T> issueGetResourceRequest(URI resourceUri, String resourceFormat, okhttp3.Headers headers, String message, long timeout) throws IOException - Throws:
IOException
-
tester
-
issuePutRequest
public <T extends Resource> ResourceRequest<T> issuePutRequest(URI resourceUri, byte[] payload, String resourceFormat, String message, long timeout) throws IOException - Throws:
IOException
-
issuePutRequest
public <T extends Resource> ResourceRequest<T> issuePutRequest(URI resourceUri, byte[] payload, String resourceFormat, okhttp3.Headers headers, String message, long timeout) throws IOException - Throws:
IOException
-
issuePostRequest
public <T extends Resource> ResourceRequest<T> issuePostRequest(URI resourceUri, byte[] payload, String resourceFormat, String message, long timeout) throws IOException - Throws:
IOException
-
issuePostRequest
public <T extends Resource> ResourceRequest<T> issuePostRequest(URI resourceUri, byte[] payload, String resourceFormat, okhttp3.Headers headers, String message, long timeout) throws IOException - Throws:
IOException
-
issueDeleteRequest
- Throws:
IOException
-
issueGetFeedRequest
public Bundle issueGetFeedRequest(URI resourceUri, String resourceFormat, int timeout) throws IOException - Throws:
IOException
-
issuePostFeedRequest
public Bundle issuePostFeedRequest(URI resourceUri, Map<String, String> parameters, String resourceName, Resource resource, String resourceFormat, int timeout) throws IOException- Throws:
IOException
-
postBatchRequest
public Bundle postBatchRequest(URI resourceUri, byte[] payload, String resourceFormat, String message, int timeout) throws IOException - Throws:
IOException
-
executeBundleRequest
public <T extends Resource> Bundle executeBundleRequest(okhttp3.Request.Builder request, String resourceFormat, okhttp3.Headers headers, String message, int retryCount, long timeout) throws IOException - Throws:
IOException
-
executeFhirRequest
public <T extends Resource> ResourceRequest<T> executeFhirRequest(okhttp3.Request.Builder request, String resourceFormat, okhttp3.Headers headers, String message, int retryCount, long timeout) throws IOException - Throws:
IOException
-