Public Attributes

nsIHttpProtocolHandler Interface Reference

import "nsIHttpProtocolHandler.idl";

Inheritance diagram for nsIHttpProtocolHandler:
Collaboration diagram for nsIHttpProtocolHandler:

List of all members.

Public Attributes

readonly attribute ACString userAgent
 Get the HTTP advertised user agent string.
readonly attribute ACString appName
 Get the application name.
readonly attribute ACString appVersion
 Get the application version string.
attribute ACString vendor
attribute ACString vendorSub
attribute ACString vendorComment
attribute ACString product
attribute ACString productSub
attribute ACString productComment
readonly attribute ACString platform
 Get the current platform.
readonly attribute ACString oscpu
 Get the current oscpu.
attribute ACString language
 Get the translation of the application.
attribute ACString misc
 Get/Set the application comment misc portion.
readonly attribute ACString deviceType
 Get the current device type.

Member Data Documentation

readonly attribute ACString nsIHttpProtocolHandler::appName

Get the application name.

Returns:
The name of this application (eg. "Mozilla").
readonly attribute ACString nsIHttpProtocolHandler::appVersion

Get the application version string.

Returns:
The complete version (major and minor) string. (eg. "5.0")
readonly attribute ACString nsIHttpProtocolHandler::deviceType

Get the current device type.

Returns:
The device type this application is running on. Maybe be null.

Get the translation of the application.

The value for language is usually a 2-letter code such as "en" and occasionally a five-character code to indicate a language subtype, such as "zh_CN".

attribute ACString nsIHttpProtocolHandler::misc

Get/Set the application comment misc portion.

readonly attribute ACString nsIHttpProtocolHandler::oscpu

Get the current oscpu.

Returns:
The oscpu this application is running on
readonly attribute ACString nsIHttpProtocolHandler::platform

Get the current platform.

Returns:
The platform this application is running on (eg. "Windows", "Macintosh", "X11")
attribute ACString nsIHttpProtocolHandler::product
Returns:
The product name.
Returns:
A product comment.
Returns:
A product sub string.
readonly attribute ACString nsIHttpProtocolHandler::userAgent

Get the HTTP advertised user agent string.

attribute ACString nsIHttpProtocolHandler::vendor
Returns:
The vendor name.
Returns:
The vendor comment.
Returns:
The vendor sub string.

The documentation for this interface was generated from the following file: