File Information
Library: Foundation
Package: URI
Header: Poco/URIStreamFactory.h
Description
Inheritance
Known Derived Classes: Poco::Net::HTTPStreamFactory, Poco::OSP::BundleStreamFactory, Poco::Net::FTPStreamFactory, FileStreamFactory, DataURIStreamFactory
Member Summary
Member Functions: open
Constructors
URIStreamFactory
Creates the URIStreamFactory.
Destructor
~URIStreamFactory
virtual ~URIStreamFactory();
Destroys the URIStreamFactory.
Member Functions
open
virtual std::istream * open(
const URI & uri
) = 0;
Tries to create and open an input stream for the resource specified by the given URI.
If the stream cannot be opened for whatever reason, an appropriate IOException must be thrown.
If opening the stream results in a redirect, a URIRedirection exception should be thrown.