IROHTTPTransportEx

Overview

This interface extends its ancestor by adding a property and methods to control the usage of content-encoding HTTP header field.
This interface is designed for internal use. Users are not required to work with it, unless developing a new channel.

Location


 

CanUseContentEncoding

Indicates whether the entity (an HTTP Channel) supports content-encoding header field usage.

property CanUseContentEncoding: Boolean read write

ClientAddress    (declared in IROTCPTransport)

Reports a IP address of a client.

property ClientAddress: string read

ContentType    (declared in IROHTTPTransport)

Specifies the Internet media type of the data conveyed by the HTTP message.

property ContentType: string read write

GetQueryParameter    (declared in IROHTTPTransport)

Returns the request query parameter with the specified name.

function GetQueryParameter(const aName: string): string

Parameters:

  • aName: Name of parameter

GetQueryString    (declared in IROHTTPTransport)

Returns the corresponding part of the HTTP query string.

function GetQueryString: string

GetTransportObject    (declared in IROTransport)

Returns an underlying Delphi TObject, which performs the actual data transferring.

function GetTransportObject: TObject

Headers    (declared in IROHTTPTransport)

Specifies the HTTP Headers.

property Headers[aName: string]: string read write

Location    (declared in IROHTTPTransport)

Reports the URL of the source of a message.

property Location: string read

PathInfo    (declared in IROHTTPTransport)

Reports the value of the path information of the URL specified in the HTTP request message.

property PathInfo: string read write

QueryString    (declared in IROHTTPTransport)

Reports the query string value of the URL.

property QueryString: string read

TargetUrl    (declared in IROHTTPTransport)

The address of the server. By default, this is usually the host name of your server followed by 8099, plus the name of the dispatcher configured on the server, for example: http://myserver:8099/bin.

property TargetUrl: string read write

UserAgent    (declared in IROHTTPTransport)

Declares the User-Agent string. This string is sent for informational purposes only; you can set it to a custom value to detect and distinguish your client (as opposed to other client applications or web browsers accessing the server) in the server log files or the HTTP packet monitors.

property UserAgent: string read write

 

CanUseContentEncoding

Indicates whether the entity (an HTTP Channel) supports content-encoding header field usage.

property CanUseContentEncoding: Boolean read write

ClientAddress    (declared in IROTCPTransport)

Reports a IP address of a client.

property ClientAddress: string read

ContentType    (declared in IROHTTPTransport)

Specifies the Internet media type of the data conveyed by the HTTP message.

property ContentType: string read write

Headers    (declared in IROHTTPTransport)

Specifies the HTTP Headers.

property Headers[aName: string]: string read write

Location    (declared in IROHTTPTransport)

Reports the URL of the source of a message.

property Location: string read

PathInfo    (declared in IROHTTPTransport)

Reports the value of the path information of the URL specified in the HTTP request message.

property PathInfo: string read write

QueryString    (declared in IROHTTPTransport)

Reports the query string value of the URL.

property QueryString: string read

TargetUrl    (declared in IROHTTPTransport)

The address of the server. By default, this is usually the host name of your server followed by 8099, plus the name of the dispatcher configured on the server, for example: http://myserver:8099/bin.

property TargetUrl: string read write

UserAgent    (declared in IROHTTPTransport)

Declares the User-Agent string. This string is sent for informational purposes only; you can set it to a custom value to detect and distinguish your client (as opposed to other client applications or web browsers accessing the server) in the server log files or the HTTP packet monitors.

property UserAgent: string read write

 

GetQueryParameter    (declared in IROHTTPTransport)

Returns the request query parameter with the specified name.

function GetQueryParameter(const aName: string): string

Parameters:

  • aName: Name of parameter

GetQueryString    (declared in IROHTTPTransport)

Returns the corresponding part of the HTTP query string.

function GetQueryString: string

GetTransportObject    (declared in IROTransport)

Returns an underlying Delphi TObject, which performs the actual data transferring.

function GetTransportObject: TObject