public class FetchTemplate extends Template
This include incorporates entire pages from other sites, either directly as part of the page content, or into a property, for further processing.
NOTE: This version depends on the behavior of JDK1.4. It does not use the Brazil Request class, but the URL class instead. Thus it has advantages that it automatically follows some redirects, and can handle additional protocols, such as "https" and "ftp", but it does not cache connections, and the proxy may not be set of a per request basis. Attributes:
proxy
property,
in request.props
.
[getheaders].[header_name]=[header_value]
.
If multiple entries exist for a particular header name, the values
are combined as per HTTP conventions (e.g. v1, v2, ... vn).
The pseudo header status
will contain the http status line.
Constructor and Description |
---|
FetchTemplate() |
Modifier and Type | Method and Description |
---|---|
void |
tag_include(RewriteContext hr) |
public void tag_include(RewriteContext hr)