I have an HTTP endpoint that returns a PDF file in response body. I currently load it as byte[] into memory and then do PDDocument.load() to parse
byte[]
PDDocument.load()