DK11 for Java | tatukgis.jdk.TGIS_WebUtils.HttpFetch | Methods
Fetch data from http address
// Java public static TGIS_HttpResponse HttpFetch( java.lang.String _url, TStream _strm, TGIS_BusyEvent _onBusy, bool _cache, int _timeout, java.lang.String _agent, java.lang.String _referer, java.lang.String _user, java.lang.String _pass, bool _decompress );
// Oxygene public class function HttpFetch( _url : String; _strm : TStream = nil; _onBusy : TGIS_BusyEvent = nil; _cache : Boolean = True; _timeout : Integer = 0; _agent : String = ''; _referer : String = ''; _user : String = ''; _pass : String = ''; _decompress : Boolean = True ) : TGIS_HttpResponse;
Name | Type | Description |
---|---|---|
_url | java.lang.String String | http address (or file path) |
_strm | TStream | stream to write returned data; if nil then stream will be allocated |
_onBusy | TGIS_BusyEvent | busy event handle |
_cache | bool Boolean | True if you caching |
_timeout | int Integer | client time out in ms |
_agent | java.lang.String String | client agent |
_referer | java.lang.String String | referer address |
_user | java.lang.String String | user name required for authentication |
_pass | java.lang.String String | user password required for authentication |
_decompress | bool Boolean | if true, then procedure will attmept to decompress downloaded file |
Type | Description |
---|---|
TGIS_HttpResponse | server response record defined as TGIS_HttpResponse |