Class TAndroidInternetAccess

Unit

Declaration

type TAndroidInternetAccess = class(TInternetAccess)

Description

Internet access class using the Apache HttpComponents on Android.

Set defaultInternetAccessClass to TAndroidInternetAccess if you want to use this class on Android.
Additionally bbjniutils.jvmref must be set to the Java VM reference.
This class handles cookies. Apaches's HttpClient also handles cookies. This might lead to duplicated cookie headers, if you do not disable Apache's handling with a custom http client class on the Java side.

Hierarchy

Overview

Methods

Public constructor create(); override;
Public constructor create(const internetConfig: TInternetConfig); override;
Public destructor destroy; override;
Public function internalHandle: TObject; override;
Public function setCredentials(const username, password: string; const host: string): boolean;

Description

Methods

Public constructor create(); override;
 
Public constructor create(const internetConfig: TInternetConfig); override;
 
Public destructor destroy; override;
 
Public function internalHandle: TObject; override;
 
Public function setCredentials(const username, password: string; const host: string): boolean;

sets username and password for an host


Generated by PasDoc 0.16.0.