I am using pdf2.5.0 and realised that aspose.pdf.HttpResponse is not a public class and hence unble to import/reference it. Help us to resolve this ASAP,show stopper for our developement, appreciate your immediate response.
I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFJAVA-16582. We will investigate this issue in details and will keep you updated on the status of a correction.
In case you want to generate pdf from servlet container, to set headers, etc. You can use pdf.getBuffer() method to get your .pdf as byte array. Note, this method returns pdf w/o embedded fonts. If you want pdf file with embedded fonts, you can use
…
pdf.save("");
byte[] res = pdf.getBuffer();
…
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.