Interface IAdvancedResourceRetriever
- All Superinterfaces:
-
IResourceRetriever
- All Known Implementing Classes:
-
DefaultResourceRetriever
Extended interface for classes that can retrieve data from resources by URL. An extra method with http headers and request data is added.
-
Method Summary
Modifier and TypeMethodDescriptionGets theInputStreamwith the data from a provided URL by instantiating an HTTP connection to the URL.Methods inherited from interface com.itextpdf.io.resolver.resource.IResourceRetriever
getByteArrayByUrl, getInputStreamByUrl
-
Method Details
-
get
Gets theInputStreamwith the data from a provided URL by instantiating an HTTP connection to the URL.- Parameters:
-
url- the source URL -
request- data to send to the URL -
headers- HTTP headers to set for the outgoing connection - Returns:
- the input stream with the retrieved data
- Throws:
-
IOException- if any input/output issue occurs
-