Java code implementation for HTTP Request to download a file.
book
Article ID: KB0092772
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Description: BW HTTP client by default downloads the binary code from a URL. Unable to see the downloaded file directly like a browser does. In order to convert the binary code to a real file (.pdf, .txt, .doc, .jpg, ect), use Java code to transfer the binary to a file.
Issue/Introduction
Java code implementation for HTTP Request to download a file.
Resolution
Attached is an example in Java (Filename: modified-http-get.zip) for implementing the binary transformation. A .pdf format file was used in this example.
Additional Information
Attachments
Java code implementation for HTTP Request to download a file.
get_app