I am writing a JavaFX application that uses WebView to access a website and extract data from its pages. At some point I want to click on a link that opens up a new window which shows a PDF file. With the luck of PDF support in JavaFX I am thinking that one possible solution might be to read the http response for that PDF and create the PDF form the binary data.
The url of the PDF page is dynamic so I don't have the actual name of the file and so I can't use a third party tools to generate the pdf.
Any thoughts would be much appreciated.
Thanks