Question

15
Replies
2087
Views
JonnyGar Member since 2009 91 posts
BNY Mellon
Posted: July 15, 2015
Last activity: July 21, 2017
Closed

API for streaming bytes for the output response

Java servlet developers are used to using ServletOutputStream to write bytes directly to the output stream.

Is this possible in Pega? (I thought this was added some time back, but I can't find it now).

Through v7.1.5, as I'm aware the sendFile() API reads a PRFile or a byte array -- which it then writes into the ServiceExport path, which isn't very efficient.

We need a more efficient way of reading a stream from a URL and then writing to the output stream.

Jon

***Updated by moderator: Lochan to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

System Administration
Moderation Team has archived post
Share this page LinkedIn