
Class Client
java.lang.Object
org.hl7.fhir.r4.utils.client.network.Client
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteBundleRequest
(org.hl7.fhir.utilities.http.HTTPRequest request, String resourceFormat, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> headers, String message, int retryCount, long timeout) <T extends Resource>
ResourceRequest<T> executeFhirRequest
(org.hl7.fhir.utilities.http.HTTPRequest request, String resourceFormat, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> headers, String message, int retryCount, long timeout) boolean
issueDeleteRequest
(URI resourceUri, int timeout) issueGetFeedRequest
(URI resourceUri, String resourceFormat, int timeout) <T extends Resource>
ResourceRequest<T> issueGetResourceRequest
(URI resourceUri, String resourceFormat, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> 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, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> headers, String message, long timeout) <T extends Resource>
ResourceRequest<T> issuePostRequest
(URI resourceUri, byte[] payload, String resourceFormat, String message, long timeout) <T extends Resource>
ResourceRequest<T> issuePutRequest
(URI resourceUri, byte[] payload, String resourceFormat, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> headers, String message, long timeout) <T extends Resource>
ResourceRequest<T> issuePutRequest
(URI resourceUri, byte[] payload, String resourceFormat, String message, long timeout) postBatchRequest
(URI resourceUri, byte[] payload, String resourceFormat, String message, int timeout)
-
Field Details
-
DEFAULT_CHARSET
- See Also:
-
-
Constructor Details
-
Client
public Client()
-
-
Method Details
-
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, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> headers, String message, long timeout) throws IOException - Throws:
IOException
-
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, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> 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, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> 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(org.hl7.fhir.utilities.http.HTTPRequest request, String resourceFormat, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> headers, String message, int retryCount, long timeout) throws IOException - Throws:
IOException
-
executeFhirRequest
public <T extends Resource> ResourceRequest<T> executeFhirRequest(org.hl7.fhir.utilities.http.HTTPRequest request, String resourceFormat, Iterable<org.hl7.fhir.utilities.http.HTTPHeader> headers, String message, int retryCount, long timeout) throws IOException - Throws:
IOException
-