Package ca.cdr.test.app.clients
Class SmartHealthLinkClient
java.lang.Object
ca.cdr.test.app.clients.SmartHealthLinkClient
- All Implemented Interfaces:
AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createSmartHealthLink(String theLabel, String theEntryContentType, String theEntryContent) createSmartHealthLink(String theLabel, String theEntryContentType, String theEntryContent, String thePasscode, Instant theExpiry, String theSubjectFhirResourceId) byte[]fetchManifest(String thePublicId, String theRecipient, String thePasscode) static SmartHealthLinkClientissuingOn(SmileTestHttpClient theHttpClient, String theBaseUrl, String theUsername, String thePassword) static SmartHealthLinkClientstatic SmartHealthLinkClientopenAnonymous(String theBaseUrl)
-
Method Details
-
open
@Nonnull public static SmartHealthLinkClient open(@Nonnull String theBaseUrl, @Nonnull String theUsername, @Nonnull String thePassword) -
openAnonymous
-
issuingOn
@Nonnull public static SmartHealthLinkClient issuingOn(@Nonnull SmileTestHttpClient theHttpClient, @Nonnull String theBaseUrl, @Nonnull String theUsername, @Nonnull String thePassword) -
createSmartHealthLink
@Nonnull public CreateShlResponseJson createSmartHealthLink(@Nonnull String theLabel, @Nonnull String theEntryContentType, @Nonnull String theEntryContent) -
createSmartHealthLink
@Nonnull public CreateShlResponseJson createSmartHealthLink(@Nonnull String theLabel, @Nonnull String theEntryContentType, @Nonnull String theEntryContent, @Nullable String thePasscode, @Nullable Instant theExpiry, @Nullable String theSubjectFhirResourceId) -
fetchManifest
@Nonnull public ShlManifestResponseJson fetchManifest(@Nonnull String thePublicId, @Nullable String theRecipient, @Nullable String thePasscode) -
fetchFile
-
close
- Specified by:
closein interfaceAutoCloseable
-