nsIContentHandler

IID:49439df2-b3d2-441c-bf62-866bdaf56fd2
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void handleContent ( char* contentType , nsIInterfaceRequestor windowContext , nsIRequest request )

void handleContent ( char* contentType , nsIInterfaceRequestor windowContext , nsIRequest request )

Tells the content handler to take over handling the content. If this function succeeds, the URI Loader will leave this request alone, ignoring progress notifications. Failure of this method will cause the request to be cancelled, unless the error code is NS_ERROR_WONT_HANDLE_CONTENT (see below).

Arguments:
contentType: The content type of request
windowContext: Window context, used to get things like the current nsIDOMWindow for this request. May be null.
request: A request whose content type is already known.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com