Class ByteUtils
java.lang.Object
org.hl7.fhir.r5.utils.client.network.ByteUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
encodeFormSubmission
(Map<String, String> parameters, String resourceName, Resource resource, String boundary) static <T extends Resource>
byte[]resourceToByteArray
(T resource, boolean pretty, boolean isJson, boolean noXhtml)
-
Constructor Details
-
ByteUtils
public ByteUtils()
-
-
Method Details
-
resourceToByteArray
public static <T extends Resource> byte[] resourceToByteArray(T resource, boolean pretty, boolean isJson, boolean noXhtml) -
encodeFormSubmission
public static byte[] encodeFormSubmission(Map<String, String> parameters, String resourceName, Resource resource, String boundary) throws IOException- Throws:
IOException
-