nsIProtocolProxyFilter

IID:f424abd3-32b4-456c-9f45-b7e3376cb0d1
Inherits From:nsISupports
Status:UNDER_REVIEW

This interface is used to apply filters to the proxies selected for a given URI. Use nsIProtocolProxyService::registerFilter to hook up instances of this interface.


Methods

nsIProxyInfo applyFilter ( nsIProtocolProxyService proxyService , nsIURI URI , nsIProxyInfo proxy )

nsIProxyInfo applyFilter ( nsIProtocolProxyService proxyService , nsIURI URI , nsIProxyInfo proxy )

This method is called to apply proxy filter rules for the given URI and proxy object (or list of proxy objects).

Arguments:
proxyService: A reference to the Protocol Proxy Service. This is passed so that implementations may easily access methods such as newProxyInfo.
URI: The URI for which these proxy settings apply.
proxy: The proxy (or list of proxies) that would be used by default for the given URI. This may be null.
Returns:
nsIProxyInfo objects.

References

This interface is passed as an argument to the following methods:

nsIProtocolProxyService.registerFilter, nsIProtocolProxyService.unregisterFilter

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com