IROHTTPRequest

Overview

This interface provides access to HTTP request parameters when server side objects need to pass HTTP requests information to each other. This interface is used internally and not exposed to the user level code.

Location


 

AuthPassword

Contains the password if authentication is required.

property AuthPassword: UnicodeString read write

AuthUsername

Contains the user name if authentication is required.

property AuthUsername: UnicodeString read write

ContentType

Contains the string describing the content type like 'text/html', 'image/jpeg' etc.

property ContentType: string read

Headers

Provides acceess to the HTTP request header fields by name.

property Headers[aName: string]: string read write

Location

Full qualified location

property Location: string read

Method

HTTP access method: 'GET', 'POST' etc.

property Method: string read

PathInfo

Contains the requested virtual path. Example: for the request http://example.org:8099/bin will contain /bin

property PathInfo: string read write

QueryString

Contains full query string.

property QueryString: string read

SetAuthPassword

procedure SetAuthPassword(const Value: UnicodeString)

Parameters:

  • Value:

SetAuthUsername

procedure SetAuthUsername(const Value: UnicodeString)

Parameters:

  • Value:

UsesAuthentication

Indicates whether HTTP aithentication is used or not.

property UsesAuthentication: Boolean read write

 

AuthPassword

Contains the password if authentication is required.

property AuthPassword: UnicodeString read write

AuthUsername

Contains the user name if authentication is required.

property AuthUsername: UnicodeString read write

ContentType

Contains the string describing the content type like 'text/html', 'image/jpeg' etc.

property ContentType: string read

Headers

Provides acceess to the HTTP request header fields by name.

property Headers[aName: string]: string read write

Location

Full qualified location

property Location: string read

Method

HTTP access method: 'GET', 'POST' etc.

property Method: string read

PathInfo

Contains the requested virtual path. Example: for the request http://example.org:8099/bin will contain /bin

property PathInfo: string read write

QueryString

Contains full query string.

property QueryString: string read

UsesAuthentication

Indicates whether HTTP aithentication is used or not.

property UsesAuthentication: Boolean read write

 

SetAuthPassword

procedure SetAuthPassword(const Value: UnicodeString)

Parameters:

  • Value:

SetAuthUsername

procedure SetAuthUsername(const Value: UnicodeString)

Parameters:

  • Value: