public interface DocumentRequestHandler
Modifier and Type | Method and Description |
---|---|
InputStream |
resourceRequested(DocumentInfo docInfo)
Implementations should return the document in the requested url as an InputStream
This is triggered only for the main document requested and not for its resources.
|
InputStream resourceRequested(DocumentInfo docInfo)
docInfo
- A DocumentInfo object representing the requested URL and its attributes