PATH  Documentation > Mac OS X > Foundation Reference: Objective-C



Table of Contents

NSURLHandleClient


Adopted by: NSURL
Declared in:
Foundation/NSURLHandle.h



Protocol Description


This protocol defines the interface for clients to NSURLHandle.



Method Types


TBD Method Head
- URLHandleResourceDidBeginLoading:
- URLHandleResourceDidCancelLoading:
- URLHandleResourceDidFinishLoading:
- URLHandle:resourceDataDidBecomeAvailable:
- URLHandle:resourceDidFailLoadingWithReason:


Instance Methods



URLHandleResourceDidBeginLoading:

- (void)URLHandleResourceDidBeginLoading:(NSURLHandle *)sender

Sent when the URL handle begins loading resource data.

URLHandleResourceDidCancelLoading:

- (void)URLHandleResourceDidCancelLoading:(NSURLHandle *)sender

Sent when the URL handle has cancelled loading resource data in response to a programmatic request.

URLHandleResourceDidFinishLoading:

- (void)URLHandleResourceDidFinishLoading:(NSURLHandle *)sender

Sent when the URL handle finishes loading resource data.

URLHandle:resourceDataDidBecomeAvailable:

- (void)URLHandle:(NSURLHandle *)sender resourceDataDidBecomeAvailable:(NSData *)newBytes

Sent periodically when new resource data becomes available from the URL handle.

URLHandle:resourceDidFailLoadingWithReason:

- (void)URLHandle:(NSURLHandle *)sender resourceDidFailLoadingWithReason:(NSString *)reason

Sent when the URL handle fails to load resource data for some reason other than being cancelled. reason is a human-readable, localized string describing why the load failed.


Table of Contents